zhangweicheng hace 5 años
padre
commit
04760cdae0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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){