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