审批保存

This commit is contained in:
‘huanghaiixia’
2025-12-02 17:55:03 +08:00
parent 1685ad147f
commit 2506d02e95
3 changed files with 17 additions and 6 deletions

View File

@ -679,10 +679,12 @@
if (type) {
data?.id && (formState.id = data.id)
data?.cuCode && (formState.cuCode = data.cuCode)
notification.success({
message: 'Tip',
description: data?.id ? t('新增成功!') : t('修改成功!')
}); //提示消息
if (!type) {
notification.success({
message: 'Tip',
description: data?.id ? t('新增成功!') : t('修改成功!')
}); //提示消息
}
}
// formRef.value.resetFields();
return data?.id ? data : formState