MaiXinRong 4 anni fa
parent
commit
446dc33086
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/lib/sum_load.js

+ 1 - 1
app/lib/sum_load.js

@@ -208,7 +208,7 @@ class updateReviseGclTree extends loadGclBaseTree {
                     });
                 } else if (bn.sjcl_qty !== bn.org_sjcl_qty || bn.qtcl_qty !== bn.org_qtcl_qty || bn.sgfh_qty !== bn.org_sgfh_qty) {
                     result.update.push({
-                        id: bn.id, ledger_id: bn.ledger_id,
+                        id: bn.id, ledger_id: bn.ledger_id, unit_price: bn.unit_price || 0,
                         sgfh_qty: bn.sgfh_qty, sjcl_qty: bn.sjcl_qty, qtcl_qty: bn.qtcl_qty, quantity: bn.quantity,
                         sgfh_tp: bn.sgfh_tp || 0, sjcl_tp: bn.sjcl_tp || 0, qtcl_tp: bn.qtcl_tp || 0, total_price: bn.total_price || 0,
                     })