zhangweicheng il y a 5 ans
Parent
commit
b76cebbe9f
1 fichiers modifiés avec 0 ajouts et 10 suppressions
  1. 0 10
      modules/main/facade/project_facade.js

+ 0 - 10
modules/main/facade/project_facade.js

@@ -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) {