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;