Browse Source

Merge branch 'dev' of http://192.168.1.41:3000/maixinrong/Calculation into dev

Tony Kang 1 month ago
parent
commit
851a477aed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/service/phase_pay_detail.js

+ 1 - 1
app/service/phase_pay_detail.js

@@ -249,7 +249,7 @@ class PayCalculator {
     }
     }
     _calculateSf(sf, pays) {
     _calculateSf(sf, pays) {
         if (sf.expr) {
         if (sf.expr) {
-            sf.tp = this.ctx.helper.round(this._calculateExpr(sf.expr, pays), this.decimal);
+            sf.tp = this.ctx.helper.round(this._calculateTpExpr(sf, pays), this.decimal);
         } else {
         } else {
             const yf = pays.find(x => { return x.pay_type === payType.bqyf; });
             const yf = pays.find(x => { return x.pay_type === payType.bqyf; });
             sf.tp = yf.tp;
             sf.tp = yf.tp;