diff --git a/src/components/CreateBankEntityForm.vue b/src/components/CreateBankEntityForm.vue index a42be6ef8..2da3aa994 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); @@ -18,17 +16,16 @@ const state = useState(); const customer = computed(() => state.get('customer')); +const countriesFilter = { + fields: ['id', 'name', 'code'], +}; + 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 +41,6 @@ onMounted(async () => {