From 9b1aa8494aa0706dee84f7bc34cd646cf13d9b64 Mon Sep 17 00:00:00 2001
From: fujunling <2984387807@qq.com>
Date: 星期一, 10 七月 2023 14:24:56 +0800
Subject: [PATCH] fjl

---
 Source/UBCS-WEB/src/mixins/codeApply.js |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/Source/UBCS-WEB/src/mixins/codeApply.js b/Source/UBCS-WEB/src/mixins/codeApply.js
index 4b84617..4ed57d6 100644
--- a/Source/UBCS-WEB/src/mixins/codeApply.js
+++ b/Source/UBCS-WEB/src/mixins/codeApply.js
@@ -41,15 +41,10 @@
       codeApplyForm: {},
     }
   },
-  created() {
-    if (this.type === 'batchImportApply') {
-      this.getCodeRule()
-    }
-  },
   methods: {
     // 鑾峰彇鐮佸�肩敵璇锋暟鎹�
     getCodeRule() {
-      getCodeRule({ codeClassifyOid: this.codeClassifyOid }).then((res) => {
+      getCodeRule({ codeClassifyOid: this.localCodeClassifyOid }).then((res) => {
         if (res.data && res.data.code === 200) {
           const typeList = [
             "codefixedsec",
@@ -73,6 +68,7 @@
     },
     getCodeApplyFormData(codeApplyForm) {
       this.codeApplyForm = codeApplyForm;
+      this.batchApplyCodeTableData[this.codeRuleOid]["codeApply"] = codeApplyForm
     },
     getType(item) {
       console.log(item.secType, 'item.secType');

--
Gitblit v1.9.3