From e4be5ba9eea9fe8408f3a7048a315b3767b33f49 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期五, 23 二月 2024 09:54:38 +0800
Subject: [PATCH] mrshi

---
 company/src/components/enterprise/OperaDispatchUnitWindow.vue |   18 +++++-------------
 1 files changed, 5 insertions(+), 13 deletions(-)

diff --git a/company/src/components/enterprise/OperaDispatchUnitWindow.vue b/company/src/components/enterprise/OperaDispatchUnitWindow.vue
index fd1b9d4..81e0e66 100644
--- a/company/src/components/enterprise/OperaDispatchUnitWindow.vue
+++ b/company/src/components/enterprise/OperaDispatchUnitWindow.vue
@@ -184,8 +184,12 @@
       // 缂栬緫
       this.$nextTick(() => {
         for (const key in this.form) {
-          this.form[key] = target[key]
+            console.log(key)
+            // if (key !== 'saveDuSolutionDTOList') {
+                this.form[key] = target[key]
+            // }
         }
+        console.log(this.form)
       })
     },
       // 纭鏂板缓
@@ -227,18 +231,6 @@
           this.$refs.form.validate((valid) => {
               if (!valid) {
                   return
-              }
-              for (let i = 0; i < this.form.saveDuSolutionDTOList.length; i++) {
-                if (!this.form.saveDuSolutionDTOList[i].solutionId) {
-                    this.$message.warning(`绗�${i + 1}椤逛繚闄╂柟妗堜负绌猴紒`)
-                    return
-                }
-                for (let a = 0; a < this.form.saveDuSolutionDTOList[i].saveDuWorkTypeDTOList.length; a++) {
-                    if (!this.form.saveDuSolutionDTOList[i].saveDuWorkTypeDTOList[a].workTypeId) {
-                        this.$message.warning(`绗�${i + 1}椤逛繚闄╂柟妗堢${a + 1}椤瑰伐绉嶄负绌猴紒`)
-                        return
-                    }
-                }
               }
               // 璋冪敤鏂板缓鎺ュ彛
               this.isWorking = true

--
Gitblit v1.9.3