|
|
@@ -366,7 +366,7 @@ function getReportData(nameList, items, prjTypeNames, compilationScopes, decimal
|
|
|
let tbill = getBillDatas(c, level, rootFlag);
|
|
|
arr.push(tbill);
|
|
|
let sumChildren = setChildrenDatas(c.children, arr, level + 1, rootFlag);
|
|
|
- if (isProgressiveType && progressiveInterval && rootFlag == fixedFlag.MAINTENANCE_EXPENSES) { //如果要累进的,父节点要重新汇总
|
|
|
+ if (isProgressiveType && progressiveInterval) { //如果要累进的,父节点要重新汇总
|
|
|
if (c.children.length > 0) {
|
|
|
tbill.billsTtlPrice = sumChildren;
|
|
|
tbill['技术经济综合指标'] = (tbill.billsTtlAmt && parseFloat(tbill.billsTtlAmt) !== 0) ? scMathUtil.roundForObj(tbill.billsTtlPrice / tbill.billsTtlAmt, 2) : scMathUtil.roundForObj(tbill.billsTtlPrice, 2);
|