From 024cc5e9e6fd51e3b0e14e8d3f76c63f1351a4f7 Mon Sep 17 00:00:00 2001
From: wanghong <309858992@qq.com>
Date: 星期四, 21 十二月 2023 12:25:35 +0800
Subject: [PATCH] 获取集团分类根节点前端传null传入后端直接改为空字符串bug修复

---
 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 678d0d7..d8ea149 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;
       }
@@ -639,7 +639,7 @@
         };
       } else if (item.secType == "coderefersec") {
         //寮曠敤鐮佹
-        params = JSON.parse(item.referValueInfo);
+        params = JSON.parse(item.referValueInfo || item.referConfig);
       }
       return params;
     },

--
Gitblit v1.9.3