Commit 3db67f9c by qinjianhui

fix: 问题修改

parent f58abe8d
......@@ -73,12 +73,14 @@ export default function useShipment(callback?: () => void) {
})
}
} else {
playAudio('picking_beyond')
ElMessage({
message: `单号:${rowData.factorySubOrderNumber}未生产,请生产后再发货`,
type: 'error',
offset: window.innerHeight / 2,
})
if (rowData.num !== rowData.shipmentNum) {
playAudio('picking_beyond')
ElMessage({
message: `单号:${rowData.factorySubOrderNumber}未生产,请生产后再发货`,
type: 'error',
offset: window.innerHeight / 2,
})
}
}
inputRef.value.focus()
productionOrderNumber.value = ''
......@@ -137,12 +139,14 @@ export default function useShipment(callback?: () => void) {
if (item.isProduction) {
item.count = 1
} else {
playAudio('picking_beyond')
ElMessage({
message: `单号:${item.factorySubOrderNumber}未生产,请生产后再发货`,
type: 'error',
offset: window.innerHeight / 2,
})
if (item.num !== item.shipmentNum) {
playAudio('picking_beyond')
ElMessage({
message: `单号:${item.factorySubOrderNumber}未生产,请生产后再发货`,
type: 'error',
offset: window.innerHeight / 2,
})
}
}
currentRow.value = item
if (currentRow.value) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment