Browse Source

台账分解,清单对比,签约数据计算调整

MaiXinRong 3 years ago
parent
commit
c04c193753
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/public/js/shares/gcl_gather_compare.js

+ 2 - 2
app/public/js/shares/gcl_gather_compare.js

@@ -441,8 +441,8 @@ const gclCompareModel = (function () {
                 node.b_code = node.code;
                 const gcl = getGclNode(node);
                 if (!node.quantity || !node.unit_price) continue;
-                gcl.deal_bills_qty = node.quantity || 0;
-                gcl.deal_bills_tp = node.total_price || 0;
+                gcl.deal_bills_qty = ZhCalc.add(gcl.deal_bills_qty, node.quantity || 0);
+                gcl.deal_bills_tp = ZhCalc.add(gcl.deal_bills_tp, node.total_price || 0);
 
                 otherChapter.hj.deal_bills_tp = ZhCalc.add(otherChapter.hj.deal_bills_tp, node.total_price);
                 otherChapter.qd.deal_bills_tp = ZhCalc.add(otherChapter.qd.deal_bills_tp, node.total_price);