MaiXinRong %!s(int64=4) %!d(string=hai) anos
pai
achega
446dc33086
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,
                     })