From fb0ed9c4ce8b5ab956d1a74de4031c941a40f2cc Mon Sep 17 00:00:00 2001 From: jgallego Date: Fri, 23 Aug 2024 13:52:46 +0200 Subject: [PATCH] para que no de el fallo de muchos registros --- src/pages/InvoiceOut/InvoiceOutGlobalForm.vue | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/pages/InvoiceOut/InvoiceOutGlobalForm.vue b/src/pages/InvoiceOut/InvoiceOutGlobalForm.vue index 362ede4be..2070ef09c 100644 --- a/src/pages/InvoiceOut/InvoiceOutGlobalForm.vue +++ b/src/pages/InvoiceOut/InvoiceOutGlobalForm.vue @@ -22,7 +22,6 @@ const { makeInvoice, setStatusValue } = invoiceOutGlobalStore; const clientsToInvoice = ref('all'); const companiesOptions = ref([]); const printersOptions = ref([]); -const clientsOptions = ref([]); const serialTypesOptions = ref([]); const handleInvoiceOutSerialsFetch = (data) => { @@ -37,7 +36,6 @@ const optionsInitialData = computed(() => { const optionsArrays = [ companiesOptions.value, printersOptions.value, - clientsOptions.value, serialTypesOptions.value, ]; return optionsArrays.every((arr) => arr.length > 0); @@ -65,7 +63,6 @@ onMounted(async () => { auto-load /> - { v-if="clientsToInvoice === 'one'" :label="t('client')" v-model="formData.clientId" - :options="clientsOptions" + url="Clients" option-value="id" option-label="name" hide-selected