fix: notify success & i18n

This commit is contained in:
puriphatt 2024-09-06 09:58:05 +07:00
parent ed4dc9432b
commit 6019c8d86d
3 changed files with 6 additions and 4 deletions

View file

@ -57,6 +57,7 @@ export default {
uploadFile: 'Upload File',
typeBranch: 'Branch Type',
branchStatus: 'Branch Status',
success: 'Success',
},
menu: {

View file

@ -57,6 +57,7 @@ export default {
uploadFile: 'อัปโหลดไฟล์',
typeBranch: 'ประเภทสาขา',
branchStatus: 'สถานะสาขา',
success: 'สำเร็จ',
},
menu: {

View file

@ -1799,7 +1799,7 @@ const emptyCreateDialog = ref(false);
async () => {
await customerFormStore.submitFormCustomer();
customerFormState.readonly = true;
notify('create', $t('success'));
notify('create', $t('general.success'));
await fetchListCustomer();
}
"
@ -2510,7 +2510,7 @@ const emptyCreateDialog = ref(false);
@save="
(index) => {
employeeFormState.currentIndex = index;
notify('create', $t('success'));
notify('create', $t('general.success'));
}
"
@undo="
@ -2728,7 +2728,7 @@ const emptyCreateDialog = ref(false);
async () => {
await customerFormStore.submitFormCustomer();
customerFormState.readonly = true;
notify('create', $t('success'));
notify('create', $t('general.success'));
await fetchListCustomer();
}
"
@ -3557,7 +3557,7 @@ const emptyCreateDialog = ref(false);
@save="
(index) => {
employeeFormState.currentIndex = index;
notify('create', $t('success'));
notify('create', $t('general.success'));
}
"
@edit="