Browse Source

报表,中间计量,计量单元模式,数据计算问题

MaiXinRong 5 years ago
parent
commit
34ee20ca8a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/lib/stage_im.js

+ 1 - 1
app/lib/stage_im.js

@@ -795,7 +795,7 @@ class StageIm {
                     im.total_price = this.ctx.helper.mul(im.quantity, im.unit_price, tp_decimal);
                     im.tp = this.ctx.helper.mul(im.jl, im.unit_price, tp_decimal);
                     im.contract_tp = this.ctx.helper.mul(im.contract_jl, im.unit_price, tp_decimal);
-                    im.qc_tp = this.ctx.helper.mul(im.pre_qc_jl, im.unit_price, tp_decimal);
+                    im.qc_tp = this.ctx.helper.mul(im.qc_jl, im.unit_price, tp_decimal);
                     im.pre_tp = this.ctx.helper.mul(im.pre_jl, im.unit_price, tp_decimal);
                     im.pre_contract_tp = this.ctx.helper.mul(im.pre_contract_jl, im.unit_price, tp_decimal);
                     im.pre_qc_tp = this.ctx.helper.mul(im.pre_qc_jl, im.unit_price, tp_decimal);