|
@ -171,6 +171,7 @@ const getFromLocationList = () => { |
|
|
} |
|
|
} |
|
|
const fromLocationUpdate = (fromlocation) => { |
|
|
const fromLocationUpdate = (fromlocation) => { |
|
|
const location = fromLocationList.value.find((r) => r == fromlocation) |
|
|
const location = fromLocationList.value.find((r) => r == fromlocation) |
|
|
|
|
|
// 成品发货任务--同一物料,可以扫描提交不在任务中的库位 |
|
|
// if (location == undefined) { |
|
|
// if (location == undefined) { |
|
|
// showErrorMessage(`发货库位【${fromlocation}】不存在`) |
|
|
// showErrorMessage(`发货库位【${fromlocation}】不存在`) |
|
|
// } |
|
|
// } |
|
@ -231,6 +232,7 @@ const afterGetBalance = (label, balance, packageInfo) => { |
|
|
const lot = label.batch |
|
|
const lot = label.batch |
|
|
const item = toLocation.value.Items.find((r) => r.itemCode == itemCode) |
|
|
const item = toLocation.value.Items.find((r) => r.itemCode == itemCode) |
|
|
let fromLocation = item.Locations.find((l) => l.fromLocationCode == fromLocationCode.value) |
|
|
let fromLocation = item.Locations.find((l) => l.fromLocationCode == fromLocationCode.value) |
|
|
|
|
|
// 成品发货任务--同一物料,可以扫描提交不在任务中的库位 |
|
|
if(!fromLocation){ |
|
|
if(!fromLocation){ |
|
|
fromLocation = { |
|
|
fromLocation = { |
|
|
Batchs:[{ |
|
|
Batchs:[{ |
|
|