|
|
@@ -980,7 +980,7 @@ ProjectGLJ.prototype.calcEachFreightOrPrice = function (temp,type,priceMap,needU
|
|
|
let rationQuantity = scMathUtil.roundForObj(ration.quantity,getDecimal("ration.quantity"));
|
|
|
for(let g of gljs){
|
|
|
gljOprObj.setGLJPrice(g,pMap[gljUtil.getIndex(g)]);
|
|
|
- if(priceMap && priceMap[g.projectGLJID]) g.marketPrice = scMathUtil.roundForObj(priceMap[g.projectGLJID]);
|
|
|
+ if(priceMap && priceMap[g.projectGLJID]) g.marketPrice = scMathUtil.roundForObj(priceMap[g.projectGLJID],getDecimal("glj.unitPrice"));
|
|
|
let quantity = scMathUtil.roundForObj(g.quantity,getDecimal("glj.quantity"));
|
|
|
let t = scMathUtil.roundForObj(quantity * g.marketPrice * rationQuantity,processDecimal);//市场价
|
|
|
let r_price = gljUtil.getAssUsedPrice(g);//浙江定额时特殊处理,这里取市场价
|