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',
|
||||
formDialogAddressEN: 'Address in English',
|
||||
|
||||
formDialogEmployerID: 'Employer ID',
|
||||
formDialogEmployerRanchCode: 'Employer branch code',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -101,4 +101,7 @@ export default {
|
|||
|
||||
formDialogAddress: 'ที่อยู่ ภาษาไทย',
|
||||
formDialogAddressEN: 'ที่อยู่ ภาษาอังกฤษ',
|
||||
|
||||
formDialogEmployerID: 'รหัสนายจ้าง',
|
||||
formDialogEmployerRanchCode: 'รหัสสาขานายจ้าง',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -61,6 +61,8 @@ const useCustomerStore = defineStore('api-customer', () => {
|
|||
transactionId: string;
|
||||
},
|
||||
) {
|
||||
console.log(data);
|
||||
|
||||
const { image, ...payload } = data;
|
||||
|
||||
const res = await api.post<
|
||||
|
|
|
|||
|
|
@ -42,7 +42,6 @@ export type CustomerBranchCreate = {
|
|||
saleEmployee: string;
|
||||
payDate: string;
|
||||
wageDate: string;
|
||||
file: File;
|
||||
};
|
||||
|
||||
export type CustomerCreate = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue