Browse Source

总分包,台账修订,金额计算相关

MaiXinRong 3 years ago
parent
commit
81eae32415
1 changed files with 3 additions and 1 deletions
  1. 3 1
      app/lib/sum_load.js

+ 3 - 1
app/lib/sum_load.js

@@ -207,7 +207,9 @@ 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, sgfh_qty: bn.sgfh_qty, sjcl_qty: bn.sjcl_qty, qtcl_qty: bn.qtcl_qty, quantity: bn.quantity
+                        id: bn.id, ledger_id: bn.ledger_id,
+                        sgfh_qty: bn.sgfh_qty, sjcl_qty: bn.sjcl_qty, qtcl_qty: bn.qtcl_qty, quantity: bn.quantity,
+                        sgfh_tp: bn.sgfh_tp, sjcl_tp: bn.sjcl_tp, qtcl_tp: bn.qtcl_tp, total_price: bn.total_price,
                     })
                 }
             }