|
@@ -295,8 +295,8 @@ module.exports={
|
|
|
const singleFeeObj = { total: 0, building: 0, installation: 0, equipment: 0 };
|
|
|
const refUnits = units.filter(unit => unit.ParentID === single.ID);
|
|
|
for (const unit of refUnits) {
|
|
|
- const unitFee = unitBudgetMap[unit.orgProjectID]; // 费用汇总算出来的值
|
|
|
- const unitEquipmentFee = unitEquipmentMap[unit.orgProjectID]; // 设备购置窗口的值
|
|
|
+ const unitFee = +unitBudgetMap[unit.orgProjectID]; // 费用汇总算出来的值
|
|
|
+ const unitEquipmentFee = +unitEquipmentMap[unit.orgProjectID]; // 设备购置窗口的值
|
|
|
const unitTotalFee = scMathUtil.roundForObj(unitFee + unitEquipmentFee, decimal); // 费用汇总算出来的值 + 设备购置值
|
|
|
// 汇算到单项工程
|
|
|
singleFeeObj.total = scMathUtil.roundForObj(singleFeeObj.total + unitTotalFee, processDecimal);
|