Commit 693a8fa7 authored by 黄卓's avatar 黄卓

入仓储位选择提交后,货物列表没有回显

http://zentao.jdshangmen.com/bug-view-1044.html
parent 8ff58146
......@@ -143,9 +143,14 @@ export default {
this.activeWarehouse = warehouse
if (!!warehouse.selected) {
warehouse.selected = false
return
} else if(this.activeWarehouseId !== warehouse.id) {
this.activeWarehouseId = warehouse.id
} else {
console.log(this.inputValue.find(e => e.areaId === warehouse.id), warehouse.id)
if (this.inputValue.find(e => e.areaId === warehouse.id)){
return
}
}
warehouse.selected = true
// 区域被选,清空该区域下的位置
......@@ -155,7 +160,6 @@ export default {
k.selected = false
})
})
}
},
handleSelectPositionChild(position) {
if (!!position.selected) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment