|
@ -274,12 +274,12 @@ |
|
|
|
|
|
|
|
|
if (itemDetail.inventoryStatus != result.balance.inventoryStatus) { |
|
|
if (itemDetail.inventoryStatus != result.balance.inventoryStatus) { |
|
|
if(this.jobContent.allowModifyInventoryStatus=="TRUE"){ |
|
|
if(this.jobContent.allowModifyInventoryStatus=="TRUE"){ |
|
|
this.showQuestionMessage('任务中允许修改库存状态,实际库存状态[' + balanceStatus + ']与推荐库存状态[' + itemStatus + |
|
|
this.showQuestionMessage('实际库存状态[' + balanceStatus + ']与推荐库存状态[' + itemStatus + |
|
|
']不一致,是否继续上架?', res => { |
|
|
']不一致,是否继续退货?', res => { |
|
|
if (res) { |
|
|
if (res) { |
|
|
itemDetail.scaned = true; |
|
|
itemDetail.scaned = true; |
|
|
itemDetail.handleQty = Number(result.balance.qty) |
|
|
itemDetail.handleQty = Number(result.balance.qty) |
|
|
itemDetail.toInventoryStatus = result.balance.inventoryStatus; |
|
|
itemDetail.inventoryStatus = result.balance.inventoryStatus; |
|
|
itemDetail.balance = result.balance; |
|
|
itemDetail.balance = result.balance; |
|
|
itemDetail.balance.balanceQty = Number(result.balance.qty) |
|
|
itemDetail.balance.balanceQty = Number(result.balance.qty) |
|
|
itemDetail.balance.stdPackQty = Number(result.package.stdPackQty) |
|
|
itemDetail.balance.stdPackQty = Number(result.package.stdPackQty) |
|
@ -403,6 +403,7 @@ |
|
|
detail.toContainerNumber = detail.containerNumber; |
|
|
detail.toContainerNumber = detail.containerNumber; |
|
|
detail.toBatch = info.batch; |
|
|
detail.toBatch = info.batch; |
|
|
detail.toLocationCode = detail.toLocationCode; |
|
|
detail.toLocationCode = detail.toLocationCode; |
|
|
|
|
|
detail.toInventoryStatus = 'HOLD'; |
|
|
subList.push(detail) |
|
|
subList.push(detail) |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|