Browse Source

导入信息,定位相关

MaiXinRong 3 năm trước cách đây
mục cha
commit
80eee0a04b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/lib/sum_load.js

+ 1 - 1
app/lib/sum_load.js

@@ -388,7 +388,7 @@ class gatherStageGclTree extends loadGclBaseTree {
             if (!bn.is_import && bn.org_qc_qty !== 0 && bn.qc_qty !== 0) {
                 result.errors.push({ b_code: bn.b_code, name: bn.name, unit: bn.unit, qc_qty: bn.qc_qty, type: 'qc-conflict'});
                 if (bn.contract_qty !== bn.org_contract_qty || bn.contract_tp !== bn.org_contract_tp) {
-                    result.update.push({ lid: bn.id, contract_qty: bn.contract_qty, contract_tp: bn.contract_tp, qc_qty: bn.org_qc_qty, qc_tp: bn.org_qc_tp });
+                    result.update.push({ lid: bn.id, ledger_id: bn.ledger_id, contract_qty: bn.contract_qty, contract_tp: bn.contract_tp, qc_qty: bn.org_qc_qty, qc_tp: bn.org_qc_tp });
                 }
                 continue;
             }