From 24a27e7a28a8872adc352f3a6c7464112c14d02d Mon Sep 17 00:00:00 2001
From: wente <329538422@qq.com>
Date: 星期四, 30 十一月 2023 15:53:40 +0800
Subject: [PATCH] 项目表

---
 web/src/views/modules/configItemWarehouse/ConfigItemWarehouse-AddOrUpdate.vue |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/web/src/views/modules/configItemWarehouse/ConfigItemWarehouse-AddOrUpdate.vue b/web/src/views/modules/configItemWarehouse/ConfigItemWarehouse-AddOrUpdate.vue
index 270a1a7..41032b9 100644
--- a/web/src/views/modules/configItemWarehouse/ConfigItemWarehouse-AddOrUpdate.vue
+++ b/web/src/views/modules/configItemWarehouse/ConfigItemWarehouse-AddOrUpdate.vue
@@ -251,9 +251,17 @@
         return index += 1
       },
       init(id,row){
-        this.dataForm.id = row.id
-        this.dataForm.projectId = row.projectId
-        // this.dataForm.disabled
+        console.log(id,row,'鍏ュ簱鍗曠殑')
+        if (id) {
+          this.dataForm.id = id
+        } else {
+          this.dataForm.id = row.id
+        }
+        if(row.projectId){
+          this.dataForm.projectId =row.projectId
+        } else {
+          this.dataForm.projectId=row.bizId
+        }
         this.getInfo()
         if (!this.dataForm.disabled) {
           if (!row.stepMarker) {

--
Gitblit v1.9.1