From d55f094797f9a3552c4d196f69ae188e1222b7a6 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期六, 11 五月 2024 16:29:48 +0800
Subject: [PATCH] 修改

---
 src/views/plan/operationtask/operationtask-form.vue |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/views/plan/operationtask/operationtask-form.vue b/src/views/plan/operationtask/operationtask-form.vue
index e57cdc9..515d65d 100644
--- a/src/views/plan/operationtask/operationtask-form.vue
+++ b/src/views/plan/operationtask/operationtask-form.vue
@@ -521,7 +521,7 @@
   },
   data() {
     return {
-      routingList: [],
+      routingList: {},
       routingOptions: [],
       locationOptions: [],
       workstationOption: [],
@@ -591,6 +591,9 @@
         ],
         workCenter: [
           { required: true, message: '宸ヤ綔涓績涓嶈兘涓虹┖', trigger: 'change' }
+        ],
+        workstations: [
+          { required: true, message: '宸ヤ綔绔欎笉鑳戒负绌�', trigger: 'change' }
         ],
         plannedQuantity: [
           { required: true, message: '鎺ユ敹鏁伴噺涓嶈兘涓虹┖', trigger: 'blur' },
@@ -688,7 +691,7 @@
         const queryParamStation = Object.assign({
           workCenter: this.dataForm.workCenter
         })
-        
+
         getAllWorkstationList(queryParamStation).then((response) => {
           const resData = response.data.data
           if (resData && resData.length > 0) {
@@ -846,7 +849,7 @@
             this.$refs.ganttIndex.init(this.dataForm.workCenter, 1)
           })
         }
-      }) 
+      })
     },
     // 琛ㄥ崟鎻愪氦
     dataFormSubmit() {

--
Gitblit v1.9.3