chenc 4 lat temu
rodzic
commit
9dd6f69875
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      js/service/product.js

+ 2 - 2
js/service/product.js

@@ -248,10 +248,10 @@ var ServiceProduct = {
         var listOfData=MethodGetService.methodGet("/fbsWorkshopDispatchList/fbsWorkshopDispatchList/getSumDispatchReport");
         var productivityTotal=0
         listOfData.forEach(element => {
-            let standardWorkingHoursTotal=element.standardWorkingHoursTotal;//标准工时
+            let standardWorkingHoursActualTotal=element.standardWorkingHoursActualTotal;//实际标准工时
             let manHoursCompletedTotal=element.manHoursCompletedTotal;//完成工时
             if(element.projectName==="统计"){
-              productivityTotal=((Number(standardWorkingHoursTotal)/Number(manHoursCompletedTotal))*100).toFixed(1)
+              productivityTotal=((Number(standardWorkingHoursActualTotal)/Number(manHoursCompletedTotal))*100).toFixed(1)
             }
           });
         return {