|
|
@@ -376,11 +376,11 @@ function getReportData(nameList,items,prjTypeNames,compilationScopes,decimal) {
|
|
|
tem['技术经济指标'].push(scMathUtil.roundForObj(p/bills.quantityMap[n],2));
|
|
|
}else {
|
|
|
tem.billsAmounts.push(0);
|
|
|
- tem['技术经济指标'].push(0);
|
|
|
+ tem['技术经济指标'].push(scMathUtil.roundForObj(p,2));
|
|
|
}
|
|
|
}
|
|
|
tem.billsTtlPrice = scMathUtil.roundForObj(total,decimal.bills.totalPrice);
|
|
|
- tem['技术经济综合指标'] = (tem.billsTtlAmt && parseFloat(tem.billsTtlAmt) !== 0)?scMathUtil.roundForObj(tem.billsTtlPrice/tem.billsTtlAmt,2):0;
|
|
|
+ tem['技术经济综合指标'] = (tem.billsTtlAmt && parseFloat(tem.billsTtlAmt) !== 0)?scMathUtil.roundForObj(tem.billsTtlPrice/tem.billsTtlAmt,2):scMathUtil.roundForObj(tem.billsTtlPrice,2);
|
|
|
if(bills.flag == fixedFlag.TOTAL_COST) totalItem = tem;
|
|
|
return tem
|
|
|
}
|