diff --git a/src/components/common/VnSelectCreate.vue b/src/components/common/VnSelectCreate.vue new file mode 100644 index 000000000..867c97135 --- /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 568da613f..3c5b6f966 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 eab238b6a..47f26e297 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]; -};