Commit 27e8b7d9 by wusiyi

fix: 提示语修改

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