|
|
@@ -316,16 +316,6 @@ function getReportData(nameList, items, prjTypeNames, compilationScopes, decimal
|
|
|
overWrite = require("../../.." + overWriteUrl);
|
|
|
}
|
|
|
setChildrenDatas(items, datas);
|
|
|
- /* let totalExp = totalItem.calcBase;
|
|
|
- if (isProgressiveType && progressiveInterval) { //有累进的要重新计算总金额和技术经济综合指标
|
|
|
- for (let t of datas) {
|
|
|
- totalExp = totalExp.replace(t.ID, t.billsTtlPrice + "");
|
|
|
- }
|
|
|
- totalExp = totalExp.replace(/@/g, "");
|
|
|
- let nTotal = eval(totalExp);
|
|
|
- totalItem.billsTtlPrice = scMathUtil.roundForObj(nTotal, decimal.bills.totalPrice);
|
|
|
- totalItem['技术经济综合指标'] = (totalItem.billsTtlAmt && parseFloat(totalItem.billsTtlAmt) !== 0) ? scMathUtil.roundForObj(totalItem.billsTtlPrice / totalItem.billsTtlAmt, 2) : scMathUtil.roundForObj(totalItem.billsTtlPrice, 2);
|
|
|
- } */
|
|
|
recalcTotalItem(one_to_four_Item, datas, isProgressiveType, progressiveInterval);
|
|
|
recalcTotalItem(totalItem, datas, isProgressiveType, progressiveInterval);
|
|
|
for (let d of datas) {
|