From e10e06bcd4a18f4608f12dc3d01829a7b71567e0 Mon Sep 17 00:00:00 2001 From: jorgep Date: Mon, 4 Mar 2024 08:25:43 +0100 Subject: [PATCH] fix: refs #6942 selectable expense --- src/components/FetchData.vue | 7 +- src/components/common/VnSelectFilter.vue | 2 +- .../InvoiceIn/Card/InvoiceInBasicData.vue | 481 +++++++++--------- 3 files changed, 239 insertions(+), 251 deletions(-) diff --git a/src/components/FetchData.vue b/src/components/FetchData.vue index 5b3dcbea7..2a0864d3e 100644 --- a/src/components/FetchData.vue +++ b/src/components/FetchData.vue @@ -1,5 +1,5 @@ + diff --git a/src/components/common/VnSelectFilter.vue b/src/components/common/VnSelectFilter.vue index 4903a5327..c3538db9b 100644 --- a/src/components/common/VnSelectFilter.vue +++ b/src/components/common/VnSelectFilter.vue @@ -151,7 +151,7 @@ watch(modelValue, (newValue) => { @on-fetch="(data) => setOptions(data)" :where="where || { [optionValue]: value }" :limit="limit" - :order-by="orderBy" + :sort-by="sortBy" :fields="fields" /> arrayData.store.data); const userConfig = ref(null); +const expenses = ref([]); const currencies = ref([]); const currenciesRef = ref(); const companies = ref([]); @@ -174,6 +174,7 @@ async function upsert() { @on-fetch="(data) => (userConfig = data)" auto-load /> +