From ff94d7e43d61a34f81fba0a67fd356d43f89ce8b Mon Sep 17 00:00:00 2001 From: wbuezas Date: Mon, 4 Mar 2024 09:47:47 -0300 Subject: [PATCH] supplier account changes --- src/components/CreateBankEntityForm.vue | 6 +++--- src/components/FormModelPopup.vue | 6 +++--- src/pages/Supplier/Card/SupplierAccounts.vue | 13 ++++++++++--- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/src/components/CreateBankEntityForm.vue b/src/components/CreateBankEntityForm.vue index 106dbec3a..0ad35490e 100644 --- a/src/components/CreateBankEntityForm.vue +++ b/src/components/CreateBankEntityForm.vue @@ -32,8 +32,8 @@ const countriesFilter = { const countriesOptions = ref([]); -const onDataSaved = (data) => { - emit('onDataSaved', data); +const onDataSaved = (formData, requestResponse) => { + emit('onDataSaved', formData, requestResponse); }; @@ -50,7 +50,7 @@ const onDataSaved = (data) => { :title="t('title')" :subtitle="t('subtitle')" :form-initial-data="bankEntityFormData" - @on-data-saved="onDataSaved($event)" + @on-data-saved="onDataSaved" >