|
|
@ -239,8 +239,12 @@ |
|
|
|
if (item == undefined) { |
|
|
|
var itemp = createItemInfo(balance, pack); |
|
|
|
let newDetail = createDetailInfo(balance, pack); |
|
|
|
// newDetail.inventoryStatus = balance.inventoryStatus; |
|
|
|
// |
|
|
|
if (this.businessTypeCode == "Move") { |
|
|
|
newDetail.toInventoryStatus = balance.inventoryStatus; |
|
|
|
} else { |
|
|
|
newDetail.toInventoryStatus = this.toInventoryStatus; |
|
|
|
} |
|
|
|
newDetail.toLocationCode = this.toLocationCode; |
|
|
|
newDetail.fromLocationCode = result.fromLocationCode |
|
|
|
itemp.subList.push(newDetail); |
|
|
@ -367,8 +371,7 @@ |
|
|
|
this.detailSource.forEach(item => { |
|
|
|
item.subList.forEach(detail => { |
|
|
|
if (detail.scaned) { |
|
|
|
if (detail.toLocationCode == '') |
|
|
|
{ |
|
|
|
if (detail.toLocationCode == '') { |
|
|
|
detail.toLocationCode = this.toLocationCode; |
|
|
|
} |
|
|
|
var filterResult = itemList.filter(res => { |
|
|
|