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