From c892580371ef4679c858e2da98f71a9345aa3d80 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期五, 08 十二月 2023 10:37:20 +0800
Subject: [PATCH] 代码提交

---
 Source/UBCS-WEB/src/components/FormTemplate/index.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/FormTemplate/index.vue b/Source/UBCS-WEB/src/components/FormTemplate/index.vue
index 6270458..a21e706 100644
--- a/Source/UBCS-WEB/src/components/FormTemplate/index.vue
+++ b/Source/UBCS-WEB/src/components/FormTemplate/index.vue
@@ -253,7 +253,7 @@
     openDialog() {
       //鏂板鍜屼慨鏀瑰叡鍚岃皟鐢�(鏈夋敼鍔� 涓嶉渶瑕佸湪浣跨敤edit锛屾柟娉曟病浠�涔堝奖鍝�)
       this.getFormTemplate();
-      if (this.type === "add" || (this.type !== "add" && this.status === "amend")) {
+      if (this.type === "add") {
         this.getCodeRule();
         return;
       }
@@ -359,7 +359,7 @@
         }
       })
       if (this.$refs.CodeApply) { // 娣诲姞涓�涓垽鏂鍙ワ紝妫�鏌ュ璞℃槸鍚︿负undefined
-        this.$refs.CodeApply.changeChildItem(this.secVOList, this.TreeValue, this.type);
+        this.$refs.CodeApply.changeStatusItem(this.secVOList, this.TreeValue, this.type);
       }
     },
     //骞翠唬鍙�
@@ -375,7 +375,7 @@
       });
 
       if (this.$refs.CodeApply) {
-        this.$refs.CodeApply.changeChildItem(this.secVOList, this.TreeValue, this.type);
+        this.$refs.CodeApply.changeStatusItem(this.secVOList, this.TreeValue, this.type);
       }
     },
     //灞炴�х爜娈佃祴鍊�

--
Gitblit v1.9.3