diff --git a/src/components/common/VnSelectCreate.vue b/src/components/common/VnSelectCreate.vue new file mode 100644 index 0000000000..867c97135e --- /dev/null +++ b/src/components/common/VnSelectCreate.vue @@ -0,0 +1,75 @@ + + + + + diff --git a/src/components/common/VnSelectFilter.vue b/src/components/common/VnSelectFilter.vue index 568da613fd..3c5b6f9660 100644 --- a/src/components/common/VnSelectFilter.vue +++ b/src/components/common/VnSelectFilter.vue @@ -105,8 +105,8 @@ const value = computed({ size="18px" /> - diff --git a/src/pages/Customer/CustomerCreate.vue b/src/pages/Customer/CustomerCreate.vue index eab238b6aa..47f26e2976 100644 --- a/src/pages/Customer/CustomerCreate.vue +++ b/src/pages/Customer/CustomerCreate.vue @@ -32,50 +32,34 @@ const businessTypesOptions = ref([]); const citiesLocationOptions = ref([]); const provincesLocationOptions = ref([]); const countriesOptions = ref([]); - -const onFetchWorkers = (workers) => { - workersOptions.value = [...workers]; -}; - -const onFetchBusinessTypes = (businessTypes) => { - businessTypesOptions.value = [...businessTypes]; -}; - -const onFetchCitiesLocation = (citiesLocation) => { - citiesLocationOptions.value = [...citiesLocation]; -}; - -const onFetchProvincesLocation = (provincesLocation) => { - provincesLocationOptions.value = [...provincesLocation]; -}; - -const onFetchCountries = (countries) => { - countriesOptions.value = [...countries]; -};