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 () { showList () {
this.isShow = true this.isShow = true
this.$nextTick(() => { // this.$nextTick(() => {
if (this.form.goodsList.length) { // if (this.form.goodsList.length) {
this.form.goodsList.map(v => v.goods).forEach(v => { // this.form.goodsList.map(v => v.goods).forEach(v => {
if (this.tableData.filter(e => e.id === v.id).length) { // 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.$refs.aiTable.toggleRowSelection(this.tableData.filter(e => e.id === v.id)[0], true)
} // }
}) // })
} // }
}) // })
}, },
onConfirm () { onConfirm () {