|
@@ -198,7 +198,8 @@ let gljUtil = {
|
|
|
});
|
|
|
if(tem){
|
|
|
let priceData=this.getGLJPrice(tem,projectGLJDatas,calcOptions,labourCoeDatas,decimalObj,true,_,scMathUtil);
|
|
|
- p+=scMathUtil.roundForObj(priceData.marketPrice* priceCoe * scMathUtil.roundForObj(ratio.consumption,quantity_decimal),process_decimal);
|
|
|
+ let temP = scMathUtil.roundForObj(priceData.marketPrice* priceCoe * scMathUtil.roundForObj(ratio.consumption,quantity_decimal),process_decimal);
|
|
|
+ p = scMathUtil.roundForObj(temP + p,process_decimal);
|
|
|
}
|
|
|
}
|
|
|
return scMathUtil.roundForObj(p,price_decimal);
|
|
@@ -223,7 +224,8 @@ let gljUtil = {
|
|
|
});
|
|
|
if(tem){
|
|
|
let priceData=this.getGLJPrice(tem,projectGLJDatas,calcOptions,labourCoeDatas,decimalObj,true,_,scMathUtil);
|
|
|
- p+=scMathUtil.roundForObj(priceData.basePrice*scMathUtil.roundForObj(ratio.consumption,quantity_decimal),process_decimal);
|
|
|
+ let temP = scMathUtil.roundForObj(priceData.basePrice*scMathUtil.roundForObj(ratio.consumption,quantity_decimal),process_decimal);
|
|
|
+ p = scMathUtil.roundForObj(temP + p,process_decimal);
|
|
|
}
|
|
|
}
|
|
|
return scMathUtil.roundForObj(p,price_decimal);
|
|
@@ -253,7 +255,8 @@ let gljUtil = {
|
|
|
})
|
|
|
if(tem){
|
|
|
let priceData=this.getGLJPrice(tem,projectGLJDatas,calcOptions,labourCoeDatas,decimalObj,true,_,scMathUtil);
|
|
|
- p+=scMathUtil.roundForObj(priceData.adjustPrice*scMathUtil.roundForObj(ratio.consumption,quantity_decimal),process_decimal);
|
|
|
+ let temP = scMathUtil.roundForObj(priceData.adjustPrice*scMathUtil.roundForObj(ratio.consumption,quantity_decimal),process_decimal);
|
|
|
+ p = scMathUtil.roundForObj(temP + p,process_decimal);
|
|
|
}
|
|
|
}
|
|
|
return scMathUtil.roundForObj(p,decimal);
|