695593266@qq.com 7 ماه پیش
والد
کامیت
1ff2130e1c
2فایلهای تغییر یافته به همراه6 افزوده شده و 6 حذف شده
  1. 5 5
      src/views/productionPlan/components/factoryAdd/index.vue
  2. 1 1
      src/views/productionPlan/index.vue

+ 5 - 5
src/views/productionPlan/components/factoryAdd/index.vue

@@ -777,6 +777,10 @@
             { required: true, message: '请选择BOM版本', trigger: 'blur' }
           ],
 
+          planType: [
+            { required: true, message: '请选择计划类型', trigger: 'blur' }
+          ],
+
           produceType: [
             { required: true, message: '请选择工艺路线', trigger: 'blur' }
           ],
@@ -1244,11 +1248,7 @@
             row.produceRoutingId = arr[0].id;
             row.routingList = arr;
             this.$set(row, 'produceRoutingId', arr[0].id);
-            this.$set(
-              row,
-              'produceRoutingId',
-              arr[0].id
-            );
+            this.$set(row, 'produceRoutingId', arr[0].id);
 
             row.selectionRowShow = false;
             this.$set(row, 'routingList', arr);

+ 1 - 1
src/views/productionPlan/index.vue

@@ -244,7 +244,7 @@
           <el-link
             type="primary"
             :underline="false"
-            v-if="row.status == 2 && row.splitBatch != 1"
+            v-if="row.approvalStatus != 1 && row.approvalStatus != 2"
             @click="handleOrderPublish(1, row)"
           >
             发布