Commit a73d8490 by wusiyi

fix: 提示语修改

parent 2210e5d3
...@@ -609,7 +609,11 @@ const changeStatus = async () => { ...@@ -609,7 +609,11 @@ const changeStatus = async () => {
return ElMessage.warning(props.pleaseScanTip) return ElMessage.warning(props.pleaseScanTip)
} }
showConfirm( showConfirm(
`确定${props.fastKey === 'fastProduction' ? '生产完成' : '入库完成'}?`, `确定${
['fastProduction', 'productionScan'].includes(props.fastKey)
? '生产完成'
: '入库完成'
}?`,
{ {
confirmButtonText: '确定', confirmButtonText: '确定',
cancelButtonText: '取消', cancelButtonText: '取消',
......
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