MaiXinRong 1 week ago
parent
commit
5a387757a9
1 changed files with 1 additions and 2 deletions
  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);
                     }