chenc 4 anni fa
parent
commit
ff5974f83d
1 ha cambiato i file con 10 aggiunte e 9 eliminazioni
  1. 10 9
      js/service/product.js

+ 10 - 9
js/service/product.js

@@ -63,14 +63,14 @@ var ServiceProduct = {
     },
     // 月成品出货统计,根据成品维度
     getMonthSend: function () {
-        return {
-            "成品A": 20,
-            "成品B": 100,
-            "成品C": 80,
-            "成品D": 150,
-            "成品E": 200,
-        };
-
+        // return {
+        //     "成品A": 20,
+        //     "成品B": 100,
+        //     "成品C": 80,
+        //     "成品D": 150,
+        //     "成品E": 200,
+        // };
+        return MethodGetService.methodGet("/fbsDispatchLists/fbsDispatchLists/getProjectDelivery");
     },
     // 月项目发货统计,根据项目维度
     getMonthSendByProject: function () {
@@ -178,7 +178,8 @@ var ServiceProduct = {
     },
     // 生产效率
     getProduceRate: function () {
-        const rate = 95;
+        // const rate = 95;
+        var rate=MethodGetService.methodGet("/fbsWorkshopDispatchList/fbsWorkshopDispatchList/getProductionEfficiency");
         return {
             name: "生产效率",
             value: rate