fix: locales

This commit is contained in:
xingyu4j
2025-06-26 17:45:23 +08:00
parent 9b7b40c596
commit ec9b364b33
6 changed files with 12 additions and 8 deletions

View File

@@ -72,13 +72,13 @@ async function handleDelete(row: CrmContractApi.Contract) {
/** 提交审核 */
async function handleSubmit(row: CrmContractApi.Contract) {
const hideLoading = message.loading({
content: $t('ui.actionMessage.submitting', [row.name]),
content: '提交审核中...',
key: 'action_key_msg',
});
try {
await submitContract(row.id as number);
message.success({
content: $t('ui.actionMessage.submitSuccess', [row.name]),
content: '提交审核成功',
key: 'action_key_msg',
});
onRefresh();

View File

@@ -72,13 +72,13 @@ async function handleDelete(row: CrmReceivableApi.Receivable) {
/** 提交审核 */
async function handleSubmit(row: CrmReceivableApi.Receivable) {
const hideLoading = message.loading({
content: $t('ui.actionMessage.submitting', [row.no]),
content: '提交审核中...',
key: 'action_key_msg',
});
try {
await submitReceivable(row.id as number);
message.success({
content: $t('ui.actionMessage.submitSuccess', [row.no]),
content: '提交审核成功',
key: 'action_key_msg',
});
onRefresh();