diff --git a/src/pages/productPutaway/job/productPutawayDetail.vue b/src/pages/productPutaway/job/productPutawayDetail.vue index ace7d941..d009f715 100644 --- a/src/pages/productPutaway/job/productPutawayDetail.vue +++ b/src/pages/productPutaway/job/productPutawayDetail.vue @@ -273,20 +273,20 @@ const getScanResult = (result) => { // 暂时先不判断状态 const itemStatus = getInventoryStatusName(itemDetail.inventoryStatus) const balanceStatus = getInventoryStatusName(result.balance.inventoryStatus) - if (itemDetail.inventoryStatus != result.balance.inventoryStatus) { - // if (this.jobContent.allowModifyInventoryStatus == "TRUE") { - showQuestionMessage(`实际库存状态[${balanceStatus}]与推荐库存状态[${itemStatus}]不一致,是否继续上架?`, (res) => { - if (res) { - itemDetail.cancleScanedHiht = false - addDetail(itemDetail, result) - } else { - scanPopupGetFocus() - } - }) - } else { + // if (itemDetail.inventoryStatus != result.balance.inventoryStatus) { + // // if (this.jobContent.allowModifyInventoryStatus == "TRUE") { + // showQuestionMessage(`实际库存状态[${balanceStatus}]与推荐库存状态[${itemStatus}]不一致,是否继续上架?`, (res) => { + // if (res) { + // itemDetail.cancleScanedHiht = false + // addDetail(itemDetail, result) + // } else { + // scanPopupGetFocus() + // } + // }) + // } else { itemDetail.cancleScanedHiht = false addDetail(itemDetail, result) - } + // } } } } catch (e) {