From 83a8f7e1473bda689cbda9c01b65c0234dd3b55d Mon Sep 17 00:00:00 2001 From: alexm Date: Fri, 16 Aug 2024 09:20:53 +0200 Subject: [PATCH] fix(invoiceOutGlobal): formData is object --- src/pages/InvoiceOut/InvoiceOutGlobalForm.vue | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/pages/InvoiceOut/InvoiceOutGlobalForm.vue b/src/pages/InvoiceOut/InvoiceOutGlobalForm.vue index 23c63ee6a..be55c58fc 100644 --- a/src/pages/InvoiceOut/InvoiceOutGlobalForm.vue +++ b/src/pages/InvoiceOut/InvoiceOutGlobalForm.vue @@ -48,7 +48,7 @@ const getStatus = computed({ onMounted(async () => { await invoiceOutGlobalStore.init(); - formData.value = formInitialData.value.invoiceDate; + formData.value = { invoiceDate: formInitialData.value.invoiceDate }; }); @@ -88,9 +88,6 @@ onMounted(async () => { :label="t('client')" v-model="formData.clientId" :options="clientsOptions" - option-value="id" - option-label="name" - hide-selected dense outlined rounded @@ -109,9 +106,7 @@ onMounted(async () => { :label="t('company')" v-model="formData.companyFk" :options="companiesOptions" - option-value="id" option-label="code" - hide-selected dense outlined rounded @@ -120,9 +115,6 @@ onMounted(async () => { :label="t('printer')" v-model="formData.printer" :options="printersOptions" - option-value="id" - option-label="name" - hide-selected dense outlined rounded