|
@ -147,7 +147,7 @@ |
|
|
|
|
|
|
|
|
methods: { |
|
|
methods: { |
|
|
updateTitle() { |
|
|
updateTitle() { |
|
|
if (this.businessTypeCode == "InventoryMove") { |
|
|
if (this.businessTypeCode == "Move") { |
|
|
this.title = "库存转移记录"; |
|
|
this.title = "库存转移记录"; |
|
|
this.toInventoryStatus = "OK" |
|
|
this.toInventoryStatus = "OK" |
|
|
} else if (this.businessTypeCode == "HoldToOk") { |
|
|
} else if (this.businessTypeCode == "HoldToOk") { |
|
@ -210,7 +210,7 @@ |
|
|
var itemp = createItemInfo(balance, pack); |
|
|
var itemp = createItemInfo(balance, pack); |
|
|
let newDetail = createDetailInfo(balance, pack); // |
|
|
let newDetail = createDetailInfo(balance, pack); // |
|
|
newDetail.inventoryStatus = balance.inventoryStatus; |
|
|
newDetail.inventoryStatus = balance.inventoryStatus; |
|
|
newDetail.toInventoryStatus = this.toInventoryStatus |
|
|
newDetail.toInventoryStatus = this.toInventoryStatus; |
|
|
itemp.subList.push(newDetail); |
|
|
itemp.subList.push(newDetail); |
|
|
this.detailSource.push(itemp) |
|
|
this.detailSource.push(itemp) |
|
|
} else { |
|
|
} else { |
|
@ -358,7 +358,6 @@ |
|
|
return itemList; |
|
|
return itemList; |
|
|
}, |
|
|
}, |
|
|
setParams() { |
|
|
setParams() { |
|
|
|
|
|
|
|
|
var subList = [] |
|
|
var subList = [] |
|
|
var creator = this.$store.state.user.id |
|
|
var creator = this.$store.state.user.id |
|
|
this.detailSource.forEach(item => { |
|
|
this.detailSource.forEach(item => { |
|
@ -384,10 +383,10 @@ |
|
|
|
|
|
|
|
|
detail.fromLocationCode = detail.locationCode; |
|
|
detail.fromLocationCode = detail.locationCode; |
|
|
|
|
|
|
|
|
if (this.businessType != '') { |
|
|
// if (this.businessType != '') { |
|
|
detail.toLocationCode = this.toLocationCode; |
|
|
// detail.toLocationCode = this.toLocationCode; |
|
|
detail.toInventoryStatus = this.toInventoryStatus; |
|
|
// detail.toInventoryStatus = this.toInventoryStatus; |
|
|
} |
|
|
// } |
|
|
|
|
|
|
|
|
subList.push(detail) |
|
|
subList.push(detail) |
|
|
} |
|
|
} |