From 05b284f1ee45dc8bcff1c37fc9386a4fe09ce40f Mon Sep 17 00:00:00 2001 From: ludc Date: 星期四, 13 七月 2023 09:47:30 +0800 Subject: [PATCH] Merge branch 'master' of http://dev.vci-tech.com:1065/r/ubcs --- Source/UBCS-WEB/src/components/BatchImport/ShowImportData.vue | 8 +++----- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Source/UBCS-WEB/src/components/BatchImport/ShowImportData.vue b/Source/UBCS-WEB/src/components/BatchImport/ShowImportData.vue index f797efb..2b2f7de 100644 --- a/Source/UBCS-WEB/src/components/BatchImport/ShowImportData.vue +++ b/Source/UBCS-WEB/src/components/BatchImport/ShowImportData.vue @@ -302,10 +302,7 @@ }, async treeNodeClick(data, first) { if (this.type === "batchApplyCode") { - if ( - first === true || - this.localCodeClassifyOid === data.codeClassifyOid - ) { + if (first === true) { this.codeRuleOid = data.codeRuleOid; // 绗竴娆℃墦寮�鐩存帴璧嬪�间笉鏍¢獙 this.batchApplyCodeTableData[data.codeRuleOid] = { @@ -316,6 +313,8 @@ codeRuleOid: data.codeRuleOid, }; // 涓嶆槸绗竴娆℃墦寮�闇�瑕佷紭鍏堟牎楠� + } else if (this.localCodeClassifyOid === data.codeClassifyOid) { + console.log("閲嶅鐐瑰嚮"); } else { if (this.$refs.CodeApply) { if (!(await this.$refs.CodeApply.validate())) { @@ -326,7 +325,6 @@ } } } - // 绗竴娆℃墦寮�鐩存帴璧嬪�间笉鏍¢獙 if (!this.batchApplyCodeTableData[data.codeRuleOid]) { this.batchApplyCodeTableData[data.codeRuleOid] = { name: data.name, -- Gitblit v1.9.3