浏览代码

合同支付,本期实付计算

MaiXinRong 5 月之前
父节点
当前提交
e6323270a6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/service/phase_pay_detail.js

+ 1 - 1
app/service/phase_pay_detail.js

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