diff --git a/src/pages/03_customer-management/MainPage.vue b/src/pages/03_customer-management/MainPage.vue index 470096c8..a1ab9eea 100644 --- a/src/pages/03_customer-management/MainPage.vue +++ b/src/pages/03_customer-management/MainPage.vue @@ -16,6 +16,7 @@ import { CustomerStats, Customer, CustomerBranch } from 'stores/customer/types'; import { Employee, EmployeeHistory } from 'stores/employee/types'; import { AddressForm } from 'components/form'; +import ItemCard from 'src/components/ItemCard.vue'; import DrawerInfo from 'components/DrawerInfo.vue'; import ButtonAddComponent from 'components/ButtonAddCompoent.vue'; import PersonCard from 'components/shared/PersonCard.vue'; @@ -134,6 +135,18 @@ const maxPageEmployee = ref(1); const pageSize = ref(10); const dialogCustomerImageUpload = ref>(); const dialogEmployeeImageUpload = ref>(); +const dialogCreateCustomerItem = [ + { + icon: 'mdi:office-building', + text: 'customerLegalEntity', + color: 'var(--purple-8)', + }, + { + icon: 'heroicons:user-solid', + text: 'customerNaturalPerson', + color: 'var(--green-9)', + }, +]; watch(() => route.name, init); watch( @@ -561,6 +574,8 @@ watch( employeeFormState.value.isEmployeeEdit = false; }, ); + +const emptyCreateDialog = ref(false); @@ -1838,6 +1853,35 @@ watch( + +
+ +
+
+