From 577da39cf0126c4f7701e268d557171885beed23 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Fri, 11 Jul 2025 10:45:33 +0700 Subject: [PATCH] feat: business type is now from api --- .../shared/select/SelectBusinessType.vue | 5 +- src/pages/03_customer-management/MainPage.vue | 21 ++--- .../employer/EmployerFormBranch.vue | 2 +- .../employer/EmployerFormBusiness.vue | 90 +++---------------- src/pages/03_customer-management/form.ts | 12 +-- src/stores/customer/types.ts | 9 +- 6 files changed, 35 insertions(+), 104 deletions(-) diff --git a/src/components/shared/select/SelectBusinessType.vue b/src/components/shared/select/SelectBusinessType.vue index ebd4adc5..edef243e 100644 --- a/src/components/shared/select/SelectBusinessType.vue +++ b/src/components/shared/select/SelectBusinessType.vue @@ -27,6 +27,7 @@ defineEmits<{ }>(); type ExclusiveProps = { + lang?: string; codeOnly?: boolean; selectFirstValue?: boolean; branchVirtual?: boolean; @@ -92,7 +93,7 @@ function setDefaultValue() { >