From edb865c7c4e42b3a500cbd5882b7eaf1ba1a639d Mon Sep 17 00:00:00 2001 From: xuhuajiao <13476289682@163.com> Date: Thu, 27 Nov 2025 18:09:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=B9=E9=87=8F=E6=88=90=E4=BB=B6=E7=8A=B6?= =?UTF-8?q?=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/prearchiveLibrary/index.vue | 3 +++ src/views/prearchiveLibrary/module/batchFile.vue | 12 +++++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/views/prearchiveLibrary/index.vue b/src/views/prearchiveLibrary/index.vue index 2ff517a..dc5b181 100644 --- a/src/views/prearchiveLibrary/index.vue +++ b/src/views/prearchiveLibrary/index.vue @@ -525,6 +525,9 @@ export default { handleBatch() { this.$refs.batchForm.batchVisible = true this.$refs.batchForm.selectionsArc = this.crud.selections + this.$nextTick(() => { + this.$refs.batchForm.getMateByDocumentId() + }) }, // 合并成件 handelMerge() { diff --git a/src/views/prearchiveLibrary/module/batchFile.vue b/src/views/prearchiveLibrary/module/batchFile.vue index 72c1a2a..ef97494 100644 --- a/src/views/prearchiveLibrary/module/batchFile.vue +++ b/src/views/prearchiveLibrary/module/batchFile.vue @@ -101,7 +101,7 @@
@@ -180,7 +180,14 @@ export default { computed: { ...mapGetters([ 'user' - ]) + ]), + isConfirmDisabled() { + const hasSelectStatus = this.selectStatus.length > 0 + const hasFieldData = this.isCorrField + ? this.allFieldData.length > 0 + : this.allCorrField.length > 0 + return this.archivesBtnLoading || !hasSelectStatus || !hasFieldData + } }, watch: { selectedDocument: function(newValue, oldValue) { @@ -201,7 +208,6 @@ export default { 'fondsId': this.selectedDocument.fondsId } FetchMateByDocumentIdShow(params).then(res => { - // 处理下拉框选项数据 this.rulesOptions = res.map(item => { return { label: item.ruleName,