From bd0fa30df80868d68c0a935e543d009e602a9ddc Mon Sep 17 00:00:00 2001
From: yuxc <653031404@qq.com>
Date: 星期三, 26 七月 2023 14:49:42 +0800
Subject: [PATCH] 1、处理新增保存类型无法保存问题。

---
 Source/UBCS-WEB/src/components/BatchImport/index.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/Source/UBCS-WEB/src/components/BatchImport/index.vue b/Source/UBCS-WEB/src/components/BatchImport/index.vue
index af1fcd4..3b347ac 100644
--- a/Source/UBCS-WEB/src/components/BatchImport/index.vue
+++ b/Source/UBCS-WEB/src/components/BatchImport/index.vue
@@ -31,6 +31,7 @@
         left="30px"
       ></Divider>
       <FormTemplate
+        v-loading="!showCodeApply"
         style="margin-top: 30px"
         type="add"
         :selfColumnType="selfColumnType"
@@ -154,7 +155,7 @@
         this.secDTOList = this.localSecVOList.map((item) => {
           return {
             secOid: item.oid,
-            secValue: this.codeApplyForm[item.id],
+            secValue: this.codeApplyForm[item.oid],
           };
         });
         return {
@@ -173,7 +174,7 @@
       leftTree: [],
       redisOid: "",
       pageLoading: null,
-      showCodeApply: false,
+      showCodeApply: true,
       currentTypeObj: {
         historyImport: {
           title: "鍘嗗彶鏁版嵁瀵煎叆",
@@ -271,12 +272,14 @@
                 cloNamesList: item.cloNamesList,
                 oid: item.codeTemplateOid,
                 codeClassifyOid: item.codeClassifyOid,
+                codeRuleOid: item.codeRuleOid,
                 name: item.codeRuleVO.name
               }
             } else {
               return {
               ...item.codeClassifyTemplateVO,
               cloNamesList: item.cloNamesList,
+              codeClassifyOid: item.codeClassifyTemplateVO.codeclassifyoid
             };
             }
           });

--
Gitblit v1.9.3