ysy пре 1 година
родитељ
комит
cb970a9f11

+ 1 - 0
src/views/pick/pickApply/components/produceOrder.vue

@@ -214,6 +214,7 @@
         return pickTaskReportPage({
           pageNum: page,
           size: limit,
+ 
           ...where
         });
       },

+ 1 - 0
src/views/produce/components/produceOrder.vue

@@ -234,6 +234,7 @@
         return workorderPage2({
           pageNum: page,
           size: 200,
+          workOrderId: this.$route.query.workOrderId  ? this.$route.query.workOrderId : null,
           taskId: this.taskObj && this.taskObj.id,
           ...where
         });

+ 2 - 3
src/views/produceOrder/index.vue

@@ -483,10 +483,9 @@
       // 发布工单
       handleOrderPublish(type, row) {
         this.$router.push({
-          path: '/produceOrder/report',
+          path: '/produce',
           query: {
-            type,
-            id: row.id
+            workOrderId: row.id
           }
         });
       },