소스 검색

报表问题

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