diff --git a/src/components/CreateBankEntityForm.vue b/src/components/CreateBankEntityForm.vue
index a20bf641a..be213239f 100644
--- a/src/components/CreateBankEntityForm.vue
+++ b/src/components/CreateBankEntityForm.vue
@@ -60,7 +60,7 @@ const closeForm = () => {
{{ t('title') }}
- {{ t('subtitle') }}
+ {{ t('subtitle') }}
+import { reactive, ref } from 'vue';
+import { useI18n } from 'vue-i18n';
+
+import FetchData from 'components/FetchData.vue';
+import VnRow from 'components/ui/VnRow.vue';
+import VnSelectFilter from 'src/components/common/VnSelectFilter.vue';
+import VnInput from 'src/components/common/VnInput.vue';
+import FormModel from 'components/FormModel.vue';
+
+const emit = defineEmits(['onDataSaved']);
+
+const { t } = useI18n();
+
+const postcodeFormData = reactive({
+ code: null,
+ countryFk: null,
+ provinceFk: null,
+ townFk: null,
+});
+
+const closeButton = ref(null);
+const countriesOptions = ref([]);
+const isLoading = ref(false);
+const provincesOptions = ref([]);
+const townsLocationOptions = ref([]);
+
+const onDataSaved = () => {
+ emit('onDataSaved');
+ closeForm();
+};
+
+const closeForm = () => {
+ if (closeButton.value) closeButton.value.click();
+};
+
+
+
+ (townsLocationOptions = data)"
+ auto-load
+ url="Towns/location"
+ />
+ (provincesOptions = data)"
+ auto-load
+ url="Provinces"
+ />
+ (countriesOptions = data)"
+ auto-load
+ url="Countries"
+ />
+
+
+
+
+
+ {{ t('New postcode') }}
+ {{ t('Please, ensure you put the correct data!') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+es:
+ New postcode: Nuevo código postal
+ Please, ensure you put the correct data!: ¡Por favor, asegúrese de poner los datos correctos!
+ City: Ciudad
+ Province: Provincia
+ Country: País
+ Postcode: Código postal
+
diff --git a/src/components/FormModel.vue b/src/components/FormModel.vue
index f415546ea..dd283277d 100644
--- a/src/components/FormModel.vue
+++ b/src/components/FormModel.vue
@@ -220,6 +220,7 @@ watch(formUrl, async () => {
:showing="isLoading"
:label="t('globals.pleaseWait')"
color="primary"
+ style="min-width: 100%"
/>
-
-
-es:
- New postcode: Nuevo código postal
- Please, ensure you put the correct data!: ¡Por favor, asegúrese de poner los datos correctos!
- City: Ciudad
- Province: Provincia
- Country: País
-
diff --git a/src/pages/Supplier/SupplierCreate.vue b/src/pages/Supplier/SupplierCreate.vue
index 7cf8f117e..3317225d5 100644
--- a/src/pages/Supplier/SupplierCreate.vue
+++ b/src/pages/Supplier/SupplierCreate.vue
@@ -4,6 +4,7 @@ import { useI18n } from 'vue-i18n';
import VnSearchbar from 'components/ui/VnSearchbar.vue';
import FormModel from 'components/FormModel.vue';
import VnRow from 'components/ui/VnRow.vue';
+import VnInput from 'src/components/common/VnInput.vue';
import { useStateStore } from 'stores/useStateStore';
diff --git a/src/pages/Worker/WorkerCreate.vue b/src/pages/Worker/WorkerCreate.vue
index 1467b5977..66b6e4cd8 100644
--- a/src/pages/Worker/WorkerCreate.vue
+++ b/src/pages/Worker/WorkerCreate.vue
@@ -1,5 +1,5 @@