MaiXinRong hai 1 semana
pai
achega
5a387757a9
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  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);
                     }