quwangxin 2 жил өмнө
parent
commit
2f4c683423

+ 5 - 1
src/views/productionPlan/workOrderPublish.vue

@@ -176,7 +176,11 @@
 
         this.infoData = data.productionPlan;
 
-        this.orderList = data.workOrderList;
+        this.orderList = data.workOrderList.map(itm => ({
+          ...itm,
+          productCode: data.productionPlan.productCode,
+          productName: data.productionPlan.productName
+        }));
       }
     },
     created () {