From 2806c94fdbb5c75529751441393c9499a3c5d28a Mon Sep 17 00:00:00 2001 From: carlossa Date: Wed, 20 Nov 2024 09:22:50 +0100 Subject: [PATCH 1/6] fix: fix create bankEntity --- src/components/CreateBankEntityForm.vue | 15 ++++++--------- src/pages/Supplier/Card/SupplierAccounts.vue | 1 - 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/src/components/CreateBankEntityForm.vue b/src/components/CreateBankEntityForm.vue index a42be6ef8..5211d6e9d 100644 --- a/src/components/CreateBankEntityForm.vue +++ b/src/components/CreateBankEntityForm.vue @@ -9,8 +9,6 @@ import VnRow from 'components/ui/VnRow.vue'; import FormModelPopup from './FormModelPopup.vue'; import { useState } from 'src/composables/useState'; -defineProps({ showEntityField: { type: Boolean, default: true } }); - const emit = defineEmits(['onDataSaved']); const { t } = useI18n(); const bicInputRef = ref(null); @@ -22,13 +20,8 @@ const bankEntityFormData = reactive({ name: null, bic: null, countryFk: customer.value?.countryFk, - id: null, }); -const countriesFilter = { - fields: ['id', 'name', 'code'], -}; - const countriesOptions = ref([]); const onDataSaved = (...args) => { @@ -44,7 +37,6 @@ onMounted(async () => {