|
@ -236,6 +236,10 @@ const checkSubmit = () => { |
|
|
const tempHandleQty = detailSource.value[0].Items[0].Locations[0].Batchs[0].handleQty |
|
|
const tempHandleQty = detailSource.value[0].Items[0].Locations[0].Batchs[0].handleQty |
|
|
const tempQty = detailSource.value[0].Items[0].Locations[0].Batchs[0].qty |
|
|
const tempQty = detailSource.value[0].Items[0].Locations[0].Batchs[0].qty |
|
|
const { toPackQty } = detailSource.value[0].Items[0].Locations[0].Batchs[0] |
|
|
const { toPackQty } = detailSource.value[0].Items[0].Locations[0].Batchs[0] |
|
|
|
|
|
if (tempHandleQty == 0) { |
|
|
|
|
|
showErrorMessage("实际数量为0,请先扫描数据") |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
if (tempHandleQty > tempQty) { |
|
|
if (tempHandleQty > tempQty) { |
|
|
// 大于需求数量 |
|
|
// 大于需求数量 |
|
|
showCommitMessage(`实际数量【${tempHandleQty}】大于需求数量` + `【${tempQty}】, 是否提交?`, tempHandleQty, toPackQty) |
|
|
showCommitMessage(`实际数量【${tempHandleQty}】大于需求数量` + `【${tempQty}】, 是否提交?`, tempHandleQty, toPackQty) |
|
|