feat: เพิ่ม i18n
This commit is contained in:
parent
7daaad73af
commit
863de9da18
4 changed files with 8 additions and 1 deletions
|
|
@ -102,4 +102,7 @@ export default {
|
||||||
|
|
||||||
formDialogAddress: 'Address in Thai',
|
formDialogAddress: 'Address in Thai',
|
||||||
formDialogAddressEN: 'Address in English',
|
formDialogAddressEN: 'Address in English',
|
||||||
|
|
||||||
|
formDialogEmployerID: 'Employer ID',
|
||||||
|
formDialogEmployerRanchCode: 'Employer branch code',
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -101,4 +101,7 @@ export default {
|
||||||
|
|
||||||
formDialogAddress: 'ที่อยู่ ภาษาไทย',
|
formDialogAddress: 'ที่อยู่ ภาษาไทย',
|
||||||
formDialogAddressEN: 'ที่อยู่ ภาษาอังกฤษ',
|
formDialogAddressEN: 'ที่อยู่ ภาษาอังกฤษ',
|
||||||
|
|
||||||
|
formDialogEmployerID: 'รหัสนายจ้าง',
|
||||||
|
formDialogEmployerRanchCode: 'รหัสสาขานายจ้าง',
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -61,6 +61,8 @@ const useCustomerStore = defineStore('api-customer', () => {
|
||||||
transactionId: string;
|
transactionId: string;
|
||||||
},
|
},
|
||||||
) {
|
) {
|
||||||
|
console.log(data);
|
||||||
|
|
||||||
const { image, ...payload } = data;
|
const { image, ...payload } = data;
|
||||||
|
|
||||||
const res = await api.post<
|
const res = await api.post<
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,6 @@ export type CustomerBranchCreate = {
|
||||||
saleEmployee: string;
|
saleEmployee: string;
|
||||||
payDate: string;
|
payDate: string;
|
||||||
wageDate: string;
|
wageDate: string;
|
||||||
file: File;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export type CustomerCreate = {
|
export type CustomerCreate = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue