From 6492265bd1955d13740f94bff72b027a02a964e1 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期三, 29 十一月 2023 17:17:57 +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