|
|
@ -232,6 +232,7 @@ |
|
|
|
|
|
|
|
fromLocationUpdate(fromlocation) { |
|
|
|
let location = this.fromLocationList.find(r => r == fromlocation) |
|
|
|
// 成品发货任务--同一物料,可以扫描提交不在任务中的库位 |
|
|
|
// if (location == undefined) { |
|
|
|
this.fromLocationCode = fromlocation |
|
|
|
// this.showErrorMessage('发货库位【' + fromlocation + '】不存在') |
|
|
@ -305,6 +306,7 @@ |
|
|
|
let lot = label.batch; |
|
|
|
let item = that.toLocation.Items.find(r => r.itemCode == itemCode); |
|
|
|
let fromLocation = item.Locations.find(l => l.fromLocationCode == that.fromLocationCode); |
|
|
|
// 成品发货任务--同一物料,可以扫描提交不在任务中的库位 |
|
|
|
if(!fromLocation){ |
|
|
|
fromLocation = { |
|
|
|
Batchs:[{ |
|
|
|