Commit 2210e5d3 by wusiyi

fix: 提示语修改

parent 608ec220
......@@ -576,7 +576,11 @@ const confirmQuery = (len: HistoryDataItem[], i: number) => {
await trackCodeInput()
await setData(el.orderNumber)
ElMessage.success(
`${props.fastKey === 'fastProduction' ? '生产完成' : '入库完成'}`,
`${
['fastProduction', 'productionScan'].includes(props.fastKey)
? '生产完成'
: '入库完成'
}`,
)
if (len[i + 1]) {
confirmQuery(len, i + 1)
......
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