feat: เพิ่ม i18n

This commit is contained in:
Net 2024-04-24 09:19:05 +07:00
parent bd9eeb4c8c
commit 085f77bf5c
3 changed files with 8 additions and 8 deletions

View file

@ -30,4 +30,6 @@ export default {
registerDate: 'Register Date',
authorizedCapital: 'Registered Capital',
registerName: 'RegisterName',
customerBranchFormTab: 'Branch ',
};

View file

@ -97,4 +97,6 @@ export default {
formDialogInputTrainingPlace: 'Training Place',
formDialogInputCheckpoint: 'Checkpoint',
formDialogAttachment: 'Attachment Document',
formDialogCustomerBranch: 'Branch Information',
};

View file

@ -306,22 +306,18 @@ function onClose() {
<template #address>
<!-- <FormCustomerBranch separator dense outlined /> -->
<div class="col-3 app-text-muted"> {{ $t('test') }}</div>
<div class="col-3 app-text-muted">
{{ $t('formDialogCustomerBranch') }}
</div>
<div
class="col-12 full-width row bordered-b bordered-l bordered-r rounded"
>
<TabComponent
v-model:customer-branch="formData.customerBranch"
v-model:indexTab="indexTab"
v-model:tab-index="indexTab"
>
<template #address>
{{
indexTab && formData.customerBranch?.[indexTab] ? 'จริง' : 'ไม่'
}}
{{ indexTab }}
<FormAddress
v-if="
indexTab !== undefined && formData.customerBranch?.[indexTab]