Commit 8a98bc3a by wusiyi

fix: 提示语修改

parent aa7ca156
......@@ -612,11 +612,14 @@ const changeStatus = async () => {
if (!detail.value || Object.keys(detail.value).length <= 1) {
return ElMessage.warning(props.pleaseScanTip)
}
showConfirm('确定生产完成?', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
}).then(() => {
showConfirm(
`确定${props.fastKey === 'fastProduction' ? '生产完成' : '入库完成'}?`,
{
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
},
).then(() => {
setData(historyKeyFromDetail(detail.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