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