Browse Source

邱晨提:现场的人不懂这个啥意思,并且这个也没啥影响。 2024/8/5

hella_vue3
王志国 1 month ago
parent
commit
ff9a9f009e
  1. 24
      src/pages/productPutaway/job/productPutawayDetail.vue

24
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) {

Loading…
Cancel
Save