From 5646e914b28165232bd690d917eb156ac066f4a7 Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Wed, 18 Sep 2024 15:55:46 +0800 Subject: [PATCH] =?UTF-8?q?9/18=20=E8=8D=AF=E5=93=81=E9=80=89=E5=85=A5?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/basic/product/drug/chooseHouseDrug.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/basic/product/drug/chooseHouseDrug.vue b/src/views/basic/product/drug/chooseHouseDrug.vue index 87b8e36a..2bdf4338 100644 --- a/src/views/basic/product/drug/chooseHouseDrug.vue +++ b/src/views/basic/product/drug/chooseHouseDrug.vue @@ -365,7 +365,10 @@ export default { }, handleRowClick(row){ row.isSelected = !row.isSelected; - // this.$refs.multipleTable.toggleRowSelection(row); + let isTrue = this.checkSelectable(row) + if (isTrue){ + this.$refs.multipleTable.toggleRowSelection(row); + } }, hideSearch() { this.showSearch = !this.showSearch;