quwangxin 2 years ago
parent
commit
2f4c683423
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/views/productionPlan/workOrderPublish.vue

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

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