This commit is contained in:
parent
a85d9ef1b4
commit
e8c14c01d8
|
|
@ -1131,9 +1131,8 @@ export default {
|
||||||
this.maCodeList.forEach(sub => {
|
this.maCodeList.forEach(sub => {
|
||||||
if (sub.maId == item.maId) {
|
if (sub.maId == item.maId) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
setTimeout(() => {
|
this.$refs.codeTableList.toggleRowSelection(item, true)
|
||||||
this.$refs.codeTableList.toggleRowSelection(item, true)
|
item.apDetection = sub.apDetection
|
||||||
}, 500)
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
@ -1141,13 +1140,13 @@ export default {
|
||||||
} else {
|
} else {
|
||||||
//新增回显勾选
|
//新增回显勾选
|
||||||
// console.log("新增")
|
// console.log("新增")
|
||||||
|
console.log(this.maCodeList, '新增')
|
||||||
this.machineList.forEach(item => {
|
this.machineList.forEach(item => {
|
||||||
this.maCodeList.forEach(sub => {
|
this.maCodeList.forEach(sub => {
|
||||||
if (sub.maId == item.maId) {
|
if (sub.maId == item.maId) {
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
setTimeout(() => {
|
this.$refs.codeTableList.toggleRowSelection(item, true)
|
||||||
this.$refs.codeTableList.toggleRowSelection(item, true)
|
item.apDetection = sub.apDetection
|
||||||
}, 500)
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
@ -1159,6 +1158,7 @@ export default {
|
||||||
this.open = true
|
this.open = true
|
||||||
},
|
},
|
||||||
codeSelectionChange(selection) {
|
codeSelectionChange(selection) {
|
||||||
|
if (!this.open) return
|
||||||
this.maCodeList = selection
|
this.maCodeList = selection
|
||||||
// console.log(selection)
|
// console.log(selection)
|
||||||
// this.queryParams.equipmentList = selection
|
// this.queryParams.equipmentList = selection
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue