From 5a1d4e90c94b323925974d14e5d307ddc122e001 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Fri, 15 Dec 2023 16:52:46 -0300 Subject: [PATCH] =?UTF-8?q?Se=20asigno=20directamente=20la=20data=20fetche?= =?UTF-8?q?ada=20desde=20los=20componentes=20FetchData=20y=20se=20borr?= =?UTF-8?q?=C3=B3=20las=20funciones=20que=20se=20usaban=20para=20esto?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/InvoiceOut/InvoiceOutGlobalForm.vue | 22 ++++-------- src/pages/Travel/ExtraCommunityFilter.vue | 34 ++++++++----------- src/pages/Travel/TravelCreate.vue | 22 ++++++------ 3 files changed, 32 insertions(+), 46 deletions(-) diff --git a/src/pages/InvoiceOut/InvoiceOutGlobalForm.vue b/src/pages/InvoiceOut/InvoiceOutGlobalForm.vue index 62acd0a79..c61b9f7ff 100644 --- a/src/pages/InvoiceOut/InvoiceOutGlobalForm.vue +++ b/src/pages/InvoiceOut/InvoiceOutGlobalForm.vue @@ -57,18 +57,6 @@ const getStatus = computed({ }, }); -const onFetchCompanies = (companies) => { - companiesOptions.value = [...companies]; -}; - -const onFetchPrinters = (printers) => { - printersOptions.value = [...printers]; -}; - -const onFetchClients = (clients) => { - clientsOptions.value = [...clients]; -}; - onMounted(async () => { await invoiceOutGlobalStore.init(); formData.value = { ...formInitialData.value }; @@ -76,9 +64,13 @@ onMounted(async () => {