|
|
@ -339,21 +339,21 @@ |
|
|
|
//暂时先不判断状态 |
|
|
|
let itemStatus = getInventoryStatusName(itemDetail.inventoryStatus); |
|
|
|
let balanceStatus = getInventoryStatusName(result.balance.inventoryStatus); |
|
|
|
if (itemDetail.inventoryStatus != result.balance.inventoryStatus) { |
|
|
|
// if (this.jobContent.allowModifyInventoryStatus == "TRUE") { |
|
|
|
this.showQuestionMessage('实际库存状态[' + balanceStatus + ']与推荐库存状态[' + itemStatus + |
|
|
|
']不一致,是否继续上架?', res => { |
|
|
|
if (res) { |
|
|
|
itemDetail.cancleScanedHiht = false; |
|
|
|
this.addDetail(itemDetail, result); |
|
|
|
} else { |
|
|
|
this.scanPopupGetFocus(); |
|
|
|
} |
|
|
|
}); |
|
|
|
} else { |
|
|
|
// if (itemDetail.inventoryStatus != result.balance.inventoryStatus) { |
|
|
|
// // if (this.jobContent.allowModifyInventoryStatus == "TRUE") { |
|
|
|
// this.showQuestionMessage('实际库存状态[' + balanceStatus + ']与推荐库存状态[' + itemStatus + |
|
|
|
// ']不一致,是否继续上架?', res => { |
|
|
|
// if (res) { |
|
|
|
// itemDetail.cancleScanedHiht = false; |
|
|
|
// this.addDetail(itemDetail, result); |
|
|
|
// } else { |
|
|
|
// this.scanPopupGetFocus(); |
|
|
|
// } |
|
|
|
// }); |
|
|
|
// } else { |
|
|
|
itemDetail.cancleScanedHiht = false; |
|
|
|
this.addDetail(itemDetail, result); |
|
|
|
} |
|
|
|
// } |
|
|
|
// } else { |
|
|
|
// this.addDetail(itemDetail, result); |
|
|
|
// } |
|
|
|