MaiXinRong 3 年之前
父节点
当前提交
9d490f9dfb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/public/js/stage.js

+ 1 - 1
app/public/js/stage.js

@@ -3832,7 +3832,7 @@ $(document).ready(() => {
                 b.pos = _.filter(change.detail.curUsedBills, { rela_cbid: b.id });
                 b.cur_qty = 0;
                 for (const p of b.pos) {
-                    b.qty = b.rela_qty;
+                    p.qty = p.rela_qty;
                     const node = stageTree.datas.find(x => { return x.id === p.lid; });
                     p.ledger_id = node.ledger_id;
                     p.f_qty = node.quantity;