@@ -215,8 +215,10 @@ let gljUtil = {
});
if(tem){
let tem_marketPrice = this.getMarketPrice(tem,projectGLJDatas,calcOptions,decimalObj,true,_,scMathUtil); //let priceData=this.getGLJPrice(tem,projectGLJDatas,calcOptions,labourCoeDatas,decimalObj,true,_,scMathUtil);
- let temP = scMathUtil.roundForObj(tem_marketPrice * priceCoe * scMathUtil.roundForObj(ratio.consumption,quantity_decimal),process_decimal);
- p = scMathUtil.roundForObj(temP + p,process_decimal);
+ let temP = scMathUtil.roundForObj(
+ scMathUtil.roundForObj(tem_marketPrice * priceCoe, price_decimal) *
+ scMathUtil.roundForObj(ratio.consumption,quantity_decimal), process_decimal);
+ p = scMathUtil.roundForObj(temP + p, process_decimal);
}
return scMathUtil.roundForObj(p,price_hasM_decimal);