feat: เพิ่ม i18n

This commit is contained in:
Net 2024-06-06 17:08:14 +07:00
parent 7daaad73af
commit 863de9da18
4 changed files with 8 additions and 1 deletions

View file

@ -102,4 +102,7 @@ export default {
formDialogAddress: 'Address in Thai',
formDialogAddressEN: 'Address in English',
formDialogEmployerID: 'Employer ID',
formDialogEmployerRanchCode: 'Employer branch code',
};

View file

@ -101,4 +101,7 @@ export default {
formDialogAddress: 'ที่อยู่ ภาษาไทย',
formDialogAddressEN: 'ที่อยู่ ภาษาอังกฤษ',
formDialogEmployerID: 'รหัสนายจ้าง',
formDialogEmployerRanchCode: 'รหัสสาขานายจ้าง',
};

View file

@ -61,6 +61,8 @@ const useCustomerStore = defineStore('api-customer', () => {
transactionId: string;
},
) {
console.log(data);
const { image, ...payload } = data;
const res = await api.post<

View file

@ -42,7 +42,6 @@ export type CustomerBranchCreate = {
saleEmployee: string;
payDate: string;
wageDate: string;
file: File;
};
export type CustomerCreate = {