浏览代码

工程量清单汇总调整

MaiXinRong 4 年之前
父节点
当前提交
9e02083e9a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/public/js/gcl_gather.js

+ 2 - 2
app/public/js/gcl_gather.js

@@ -316,8 +316,8 @@ const gclGatherModel = (function () {
                 node.b_code = node.code;
                 const gcl = getGclNode(node);
                 if (!node.quantity || !node.unit_price) continue;
-                gcl.deal_bills_qty = node.quantity;
-                gcl.deal_bills_tp = node.total_price;
+                gcl.deal_bills_qty = ZhCalc.add(gcl.deal_bills_qty, node.quantity);
+                gcl.deal_bills_tp = ZhCalc.add(gcl.deal_bills_tp, node.total_price);
             }
         }
     }