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 |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/FormTemplate/index.vue b/Source/UBCS-WEB/src/components/FormTemplate/index.vue
index 573c4b5..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";
 

--
Gitblit v1.9.3