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