Commit 09b51c92 authored by dragondean@qq.com's avatar dragondean@qq.com

修复部分储位显示不全

parent 1d622738
......@@ -288,7 +288,9 @@ export default {
},
// 用于储位回显选中
isSelected(warehouse, area, position = 0){
return !!this.value.find(e => warehouse === e.wareId && area === e.areaId && (position === e.locationId || undefined === e.locationId))
return !!this.value.find(e => {
return warehouse === e.wareId && area === e.areaId && (position === e.locationId || !e.locationId)
})
},
}
}
......
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