MaiXinRong 1 месяц назад
Родитель
Сommit
99da1a046f
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      app/service/phase_pay_detail.js

+ 2 - 1
app/service/phase_pay_detail.js

@@ -101,7 +101,8 @@ class PayCalculator {
         }
         for (const b of this.bases) {
             const value = b.checkStart && (!pay.pre_used && pay.start_tp)
-                ? Math.max(this.ctx.helper.sub(this.addBase[b.checkStart], pay.start_tp), 0)
+                // ? Math.max(this.ctx.helper.sub(this.addBase[b.checkStart], pay.start_tp), 0)
+                ? this.ctx.helper.sub(this.addBase[b.checkStart], pay.start_tp)
                 : b.value;
             formula = formula.replace(b.reg, value);
         }