|
@@ -978,7 +978,7 @@ ProjectGLJ.prototype.calcEachFreightOrPrice = function (temp,type,priceMap,needU
|
|
|
}
|
|
}
|
|
|
sum = scMathUtil.roundForObj(sum,decimal)+"";
|
|
sum = scMathUtil.roundForObj(sum,decimal)+"";
|
|
|
if(type == "freight"){
|
|
if(type == "freight"){
|
|
|
- let exp = expList.length == 0?`${temp.otherFee}x${temp.weightCoe}`:`((${expList.join("+")})+${temp.otherFee})x${temp.weightCoe}`
|
|
|
|
|
|
|
+ let exp = expList.length == 0?`${temp.otherFee}×${temp.weightCoe}`:`((${expList.join("+")})+${temp.otherFee})×${temp.weightCoe}`
|
|
|
let ndoc = {};
|
|
let ndoc = {};
|
|
|
if(temp.unitFreight != sum) ndoc['unitFreight'] = sum;
|
|
if(temp.unitFreight != sum) ndoc['unitFreight'] = sum;
|
|
|
ndoc['exp'] = exp;
|
|
ndoc['exp'] = exp;
|
|
@@ -1010,21 +1010,21 @@ ProjectGLJ.prototype.calcEachFreightOrPrice = function (temp,type,priceMap,needU
|
|
|
let t = scMathUtil.roundForObj(quantity * g.marketPrice * rationQuantity,processDecimal);//市场价
|
|
let t = scMathUtil.roundForObj(quantity * g.marketPrice * rationQuantity,processDecimal);//市场价
|
|
|
let r_price = gljUtil.getAssUsedPrice(g);//浙江定额时特殊处理,这里取市场价
|
|
let r_price = gljUtil.getAssUsedPrice(g);//浙江定额时特殊处理,这里取市场价
|
|
|
let rt = scMathUtil.roundForObj(quantity * r_price * rationQuantity,processDecimal);//定额价
|
|
let rt = scMathUtil.roundForObj(quantity * r_price * rationQuantity,processDecimal);//定额价
|
|
|
- let calString = `${quantity}x${r_price}x${rationQuantity}`;
|
|
|
|
|
|
|
+ let calString = `${quantity}×${r_price}×${rationQuantity}`;
|
|
|
if(g.type == gljUtil.gljType.LABOUR){
|
|
if(g.type == gljUtil.gljType.LABOUR){
|
|
|
laberSum = scMathUtil.roundForObj(laberSum+rt,processDecimal);
|
|
laberSum = scMathUtil.roundForObj(laberSum+rt,processDecimal);
|
|
|
- assList.push(`${calString}x${assFeeRate*100}%`)
|
|
|
|
|
|
|
+ assList.push(`${calString}×${assFeeRate*100}%`)
|
|
|
}
|
|
}
|
|
|
if(gljUtil.getMainType(g.type) == 3) machineSum = scMathUtil.roundForObj(machineSum+rt,processDecimal);
|
|
if(gljUtil.getMainType(g.type) == 3) machineSum = scMathUtil.roundForObj(machineSum+rt,processDecimal);
|
|
|
|
|
|
|
|
- expList.push(`${quantity}x${g.marketPrice}x${rationQuantity}`);
|
|
|
|
|
|
|
+ expList.push(`${quantity}×${g.marketPrice}×${rationQuantity}`);
|
|
|
result = scMathUtil.roundForObj(result + t,processDecimal);
|
|
result = scMathUtil.roundForObj(result + t,processDecimal);
|
|
|
}
|
|
}
|
|
|
let as = scMathUtil.roundForObj(laberSum * assFeeRate,processDecimal);//人工消耗量*定额价*定额工程量*辅助生产间接费费率
|
|
let as = scMathUtil.roundForObj(laberSum * assFeeRate,processDecimal);//人工消耗量*定额价*定额工程量*辅助生产间接费费率
|
|
|
let tt = scMathUtil.roundForObj(laberSum + machineSum,processDecimal);//人工定额消耗量*定额价*定额工程量+机械定额消耗量*定额价*定额工程量
|
|
let tt = scMathUtil.roundForObj(laberSum + machineSum,processDecimal);//人工定额消耗量*定额价*定额工程量+机械定额消耗量*定额价*定额工程量
|
|
|
let hs = scMathUtil.roundForObj(tt*hightFeeRate,processDecimal);//(人工定额消耗量*定额价*定额工程量+机械定额消耗量*定额价*定额工程量)*高原取费类别费率
|
|
let hs = scMathUtil.roundForObj(tt*hightFeeRate,processDecimal);//(人工定额消耗量*定额价*定额工程量+机械定额消耗量*定额价*定额工程量)*高原取费类别费率
|
|
|
exp = expList.join("+");
|
|
exp = expList.join("+");
|
|
|
- if(hightFeeRate!=0) exp += `+${tt}x${hightFeeRate*100}%`;
|
|
|
|
|
|
|
+ if(hightFeeRate!=0) exp += `+${tt}×${hightFeeRate*100}%`;
|
|
|
if(assFeeRate!=0 && assList.length > 0) exp += '+'+assList.join("+");
|
|
if(assFeeRate!=0 && assList.length > 0) exp += '+'+assList.join("+");
|
|
|
result = scMathUtil.roundForObj(as + result,processDecimal);
|
|
result = scMathUtil.roundForObj(as + result,processDecimal);
|
|
|
result = scMathUtil.roundForObj(hs + result,processDecimal);
|
|
result = scMathUtil.roundForObj(hs + result,processDecimal);
|