From ae68db0801b89aa31c4a4d4e506a68c641da97b3 Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期四, 30 十一月 2023 17:42:50 +0800
Subject: [PATCH] 6

---
 web/src/views/modules/configItemWarehouse/ConfigItemWarehouse-AddOrUpdate.vue |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/web/src/views/modules/configItemWarehouse/ConfigItemWarehouse-AddOrUpdate.vue b/web/src/views/modules/configItemWarehouse/ConfigItemWarehouse-AddOrUpdate.vue
index f3ea8a0..c95ca02 100644
--- a/web/src/views/modules/configItemWarehouse/ConfigItemWarehouse-AddOrUpdate.vue
+++ b/web/src/views/modules/configItemWarehouse/ConfigItemWarehouse-AddOrUpdate.vue
@@ -238,6 +238,7 @@
           cmAuditList:[],
           configItemList:[],
           qaAuditList:[],
+          flowInfoDto: {}
         }
       }
     },
@@ -260,8 +261,6 @@
         }
         if(row.projectId){
           this.dataForm.projectId =row.projectId
-        } else {
-          this.dataForm.projectId=row.bizId
         }
         this.getInfo()
         if (!this.dataForm.disabled) {
@@ -293,6 +292,15 @@
           ...this.dataForm,
           ...res.data
         }
+        if(this.dataForm.project === null){
+          this.dataForm.project={}
+        }
+        if(this.dataForm.configItemWarehouse === null){
+          this.dataForm.circulatOrder={}
+        }
+        if(this.dataForm.flowInfoDto === null){
+          this.dataForm.flowInfoDto={}
+        }
         console.log(this.dataForm,"getInfo this.dataForm")
       },
       // 琛ㄥ崟鎻愪氦

--
Gitblit v1.9.1