|
@@ -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;
|