瀏覽代碼

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

MaiXinRong 3 年之前
父節點
當前提交
c04c193753
共有 1 個文件被更改,包括 2 次插入2 次删除
  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);