fix: notify success & i18n
This commit is contained in:
parent
ed4dc9432b
commit
6019c8d86d
3 changed files with 6 additions and 4 deletions
|
|
@ -57,6 +57,7 @@ export default {
|
||||||
uploadFile: 'Upload File',
|
uploadFile: 'Upload File',
|
||||||
typeBranch: 'Branch Type',
|
typeBranch: 'Branch Type',
|
||||||
branchStatus: 'Branch Status',
|
branchStatus: 'Branch Status',
|
||||||
|
success: 'Success',
|
||||||
},
|
},
|
||||||
|
|
||||||
menu: {
|
menu: {
|
||||||
|
|
|
||||||
|
|
@ -57,6 +57,7 @@ export default {
|
||||||
uploadFile: 'อัปโหลดไฟล์',
|
uploadFile: 'อัปโหลดไฟล์',
|
||||||
typeBranch: 'ประเภทสาขา',
|
typeBranch: 'ประเภทสาขา',
|
||||||
branchStatus: 'สถานะสาขา',
|
branchStatus: 'สถานะสาขา',
|
||||||
|
success: 'สำเร็จ',
|
||||||
},
|
},
|
||||||
|
|
||||||
menu: {
|
menu: {
|
||||||
|
|
|
||||||
|
|
@ -1799,7 +1799,7 @@ const emptyCreateDialog = ref(false);
|
||||||
async () => {
|
async () => {
|
||||||
await customerFormStore.submitFormCustomer();
|
await customerFormStore.submitFormCustomer();
|
||||||
customerFormState.readonly = true;
|
customerFormState.readonly = true;
|
||||||
notify('create', $t('success'));
|
notify('create', $t('general.success'));
|
||||||
await fetchListCustomer();
|
await fetchListCustomer();
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
|
@ -2510,7 +2510,7 @@ const emptyCreateDialog = ref(false);
|
||||||
@save="
|
@save="
|
||||||
(index) => {
|
(index) => {
|
||||||
employeeFormState.currentIndex = index;
|
employeeFormState.currentIndex = index;
|
||||||
notify('create', $t('success'));
|
notify('create', $t('general.success'));
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
@undo="
|
@undo="
|
||||||
|
|
@ -2728,7 +2728,7 @@ const emptyCreateDialog = ref(false);
|
||||||
async () => {
|
async () => {
|
||||||
await customerFormStore.submitFormCustomer();
|
await customerFormStore.submitFormCustomer();
|
||||||
customerFormState.readonly = true;
|
customerFormState.readonly = true;
|
||||||
notify('create', $t('success'));
|
notify('create', $t('general.success'));
|
||||||
await fetchListCustomer();
|
await fetchListCustomer();
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
|
|
@ -3557,7 +3557,7 @@ const emptyCreateDialog = ref(false);
|
||||||
@save="
|
@save="
|
||||||
(index) => {
|
(index) => {
|
||||||
employeeFormState.currentIndex = index;
|
employeeFormState.currentIndex = index;
|
||||||
notify('create', $t('success'));
|
notify('create', $t('general.success'));
|
||||||
}
|
}
|
||||||
"
|
"
|
||||||
@edit="
|
@edit="
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue