From df9ab575ffb590dbe06007531a3dc035e9ac3d36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Thu, 25 Jan 2024 15:37:10 +0800 Subject: [PATCH] =?UTF-8?q?fix=2081313=E3=80=8181312?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/InitialBasicServiceInfo.vue | 6 +++++- .../modules/SelectStandardDrawer.vue | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/views/workCenter/standardComplianceProcess/components/InitialBasicServiceInfo.vue b/src/views/workCenter/standardComplianceProcess/components/InitialBasicServiceInfo.vue index 607e1187..3018913f 100644 --- a/src/views/workCenter/standardComplianceProcess/components/InitialBasicServiceInfo.vue +++ b/src/views/workCenter/standardComplianceProcess/components/InitialBasicServiceInfo.vue @@ -41,7 +41,10 @@ - + @@ -78,6 +81,7 @@ export default { }, data () { return { + StandardSource, columns: [ // 标准编号 { diff --git a/src/views/workCenter/standardComplianceProcess/modules/SelectStandardDrawer.vue b/src/views/workCenter/standardComplianceProcess/modules/SelectStandardDrawer.vue index 1a602aaa..dba2ee39 100644 --- a/src/views/workCenter/standardComplianceProcess/modules/SelectStandardDrawer.vue +++ b/src/views/workCenter/standardComplianceProcess/modules/SelectStandardDrawer.vue @@ -239,7 +239,9 @@ export default { if (res.success) { this.dataList = res.result.records this.ipagination.total = res.result.total - this.selectedRowKeys = this.value ? this.value.split(',') : [] + if (!this.selectedRowKeys || this.selectedRowKeys.length === 0) { + this.selectedRowKeys = this.value ? this.value.split(',') : [] + } } else { this.dataList = [] }