This commit is contained in:
bb_pan 2025-03-31 14:21:10 +08:00
parent a85d9ef1b4
commit e8c14c01d8
1 changed files with 6 additions and 6 deletions

View File

@ -1131,9 +1131,8 @@ export default {
this.maCodeList.forEach(sub => {
if (sub.maId == item.maId) {
this.$nextTick(() => {
setTimeout(() => {
this.$refs.codeTableList.toggleRowSelection(item, true)
}, 500)
this.$refs.codeTableList.toggleRowSelection(item, true)
item.apDetection = sub.apDetection
})
}
})
@ -1141,13 +1140,13 @@ export default {
} else {
//
// console.log("")
console.log(this.maCodeList, '新增')
this.machineList.forEach(item => {
this.maCodeList.forEach(sub => {
if (sub.maId == item.maId) {
this.$nextTick(() => {
setTimeout(() => {
this.$refs.codeTableList.toggleRowSelection(item, true)
}, 500)
this.$refs.codeTableList.toggleRowSelection(item, true)
item.apDetection = sub.apDetection
})
}
})
@ -1159,6 +1158,7 @@ export default {
this.open = true
},
codeSelectionChange(selection) {
if (!this.open) return
this.maCodeList = selection
// console.log(selection)
// this.queryParams.equipmentList = selection