MaiXinRong 3 月之前
父節點
當前提交
f7658b5166
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/service/change_audit_list.js

+ 1 - 1
app/service/change_audit_list.js

@@ -518,7 +518,7 @@ module.exports = app => {
                             }
                             }
                         }
                         }
                     }
                     }
-                    const price = this.ctx.helper.mul(zheli , this.ctx.helper.round(unitPrice, up_decimal), tp_decimal);
+                    const price = this.ctx.helper.mul(spamount, this.ctx.helper.round(unitPrice, up_decimal), tp_decimal);
                     const valuation_price = this.ctx.helper.mul(valuation_amount, this.ctx.helper.round(unitPrice, up_decimal), tp_decimal) || 0;
                     const valuation_price = this.ctx.helper.mul(valuation_amount, this.ctx.helper.round(unitPrice, up_decimal), tp_decimal) || 0;
                     const unvaluation_price = this.ctx.helper.mul(unvaluation_amount, this.ctx.helper.round(unitPrice, up_decimal), tp_decimal) || 0;
                     const unvaluation_price = this.ctx.helper.mul(unvaluation_amount, this.ctx.helper.round(unitPrice, up_decimal), tp_decimal) || 0;
                     valuation_tp = this.ctx.helper.accAdd(valuation_tp, valuation_price);
                     valuation_tp = this.ctx.helper.accAdd(valuation_tp, valuation_price);