MaiXinRong 1 周之前
父節點
當前提交
5a387757a9
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      app/public/js/stage.js

+ 1 - 2
app/public/js/stage.js

@@ -1562,11 +1562,10 @@ $(document).ready(() => {
                         : findEmptyBills(tree, change, changeBills);
 
                     if (!node) continue;
+                    node.tz_qc_qty = ZhCalc.add(node.tz_qc_qty, changeBills.checked_amount);
                     if (tenderInfo.calc_type === 'up') {
-                        node.tz_qc_qty = ZhCalc.add(node.tz_qc_qty, changeBills.checked_amount);
                         node.tz_qc_tp = ZhCalc.add(node.tz_qc_tp, changeBills.checked_price);
                     } else {
-                        node.tz_qc_qty = ZhCalc.add(node.tz_qc_qty, changeBills.qty);
                         node.tz_qc_tp = ZhCalc.add(node.tz_qc_tp, changeBills.tp);
                     }