|
@@ -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);
|