From 1b597faaf151abacf0e0909f5521d3ee2e54d39d Mon Sep 17 00:00:00 2001
From: wangting <675591594@qq.com>
Date: 星期四, 30 十一月 2023 10:55:58 +0800
Subject: [PATCH] 修改包版本

---
 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