diff --git a/src/components/03_customer-management/AboutComponent.vue b/src/components/03_customer-management/AboutComponent.vue index 0bfaccbb..293d3edc 100644 --- a/src/components/03_customer-management/AboutComponent.vue +++ b/src/components/03_customer-management/AboutComponent.vue @@ -26,7 +26,7 @@ const employerBranchCode = defineModel('employerBranchCode');
• {{ $t(`about`) }}
('employerBranchCode'); /> ('employerBranchCode');
('employerBranchCode'); v-model="branchCode" /> ('employerBranchCode'); /> ('employerBranchCode'); /> ('employerBranchCode');
('employerBranchCode'); v-model="taxNo" /> ('employerBranchCode'); v-model="registerName" /> ('employerBranchCode'); v-model="authorizedCapital" />
{ class="q-mr-md" /> diff --git a/src/components/FormDialog.vue b/src/components/FormDialog.vue index 8d3ae274..69b9762b 100644 --- a/src/components/FormDialog.vue +++ b/src/components/FormDialog.vue @@ -51,7 +51,7 @@ const tabsList = defineModel<{ name: string; label: string }[]>('tabsList'); {{ $t(customerLabel) }} diff --git a/src/components/UsersDetailCardComponent.vue b/src/components/UsersDetailCardComponent.vue index 7ce835fa..00797d59 100644 --- a/src/components/UsersDetailCardComponent.vue +++ b/src/components/UsersDetailCardComponent.vue @@ -16,7 +16,7 @@ withDefaults( list: { imageUrl?: string; id: string; - type: 'customerLegalEntity' | 'customerNaturalPerson'; + type: 'CORP' | 'PERS'; name: string; code: string; detail?: { label: string; value: string }[]; @@ -152,7 +152,15 @@ defineEmits<{
-
{{ $t(list.type) }}
+
+ {{ + $t( + list.type === 'CORP' + ? 'customerLegalEntity' + : 'customerNaturalPerson', + ) + }} +