瀏覽代碼

报表问题

zhangweicheng 5 年之前
父節點
當前提交
04760cdae0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/main/facade/project_facade.js

+ 1 - 1
modules/main/facade/project_facade.js

@@ -380,7 +380,7 @@ function getReportData(nameList,items,prjTypeNames,compilationScopes,decimal) {
             tem.billsPrices.push(p);
             if(bills.rationCommons[n]){
                ra = scMathUtil.roundForObj(bills.rationCommons[n],decimal.bills.totalPrice);
-               total = scMathUtil.roundForObj(ra+rationTotal,decimal.process);
+               rationTotal = scMathUtil.roundForObj(ra+rationTotal,decimal.process);
             }
             tem.rationCommons.push(ra); 
             if(bills.quantityMap[n] && parseFloat(bills.quantityMap[n]) !== 0){