Explorar o código

工程量清单汇总调整

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