This commit is contained in:
yanran200730
2023-04-20 14:37:20 +08:00
parent cf19a1ee7b
commit 32f819f16a

View File

@@ -298,15 +298,15 @@
showList () {
this.isShow = true
this.$nextTick(() => {
if (this.form.goodsList.length) {
this.form.goodsList.map(v => v.goods).forEach(v => {
if (this.tableData.filter(e => e.id === v.id).length) {
this.$refs.aiTable.toggleRowSelection(this.tableData.filter(e => e.id === v.id)[0], true)
}
})
}
})
// this.$nextTick(() => {
// if (this.form.goodsList.length) {
// this.form.goodsList.map(v => v.goods).forEach(v => {
// if (this.tableData.filter(e => e.id === v.id).length) {
// this.$refs.aiTable.toggleRowSelection(this.tableData.filter(e => e.id === v.id)[0], true)
// }
// })
// }
// })
},
onConfirm () {