From 711c0021a8c178c5ef00967711b0d3d6fa50637f Mon Sep 17 00:00:00 2001
From: yuxc <653031404@qq.com>
Date: 星期三, 29 十一月 2023 17:34:50 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 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 e0e0dc1..100ee4a 100644
--- a/Source/UBCS-WEB/src/components/FormTemplate/index.vue
+++ b/Source/UBCS-WEB/src/components/FormTemplate/index.vue
@@ -251,7 +251,7 @@
   methods: {
     openDialog() {
       this.getFormTemplate();
-      if (this.type === "add") {
+      if (this.type === "add" || this.status === "amend") {
         this.getCodeRule();
       }
     },
@@ -319,7 +319,7 @@
           that.secVOList = (res.data.data.secVOList || []).filter((item) =>
             typeList.includes(item.secType)
           );
-          if (that.secVOList.length > 0 && that.type === "add") {
+          if ((that.secVOList.length > 0 && that.type === "add") || that.status === "amend") {
             that.showCodeApply = true;
             that.activeName = "codeApply";
 
@@ -372,7 +372,7 @@
       if (this.$refs.CodeApply) {
         this.$refs.CodeApply.changeChildItem(this.secVOList, this.TreeValue, this.type);
       }
-    },,
+    },
     //灞炴�х爜娈佃祴鍊�
     attrListForm(attrListForm) {
       this.attrList = attrListForm;

--
Gitblit v1.9.3