From 16ef5d372296ef2a5609ea319edb162c30337dc5 Mon Sep 17 00:00:00 2001 From: carlossa Date: Thu, 17 Oct 2024 08:30:45 +0200 Subject: [PATCH 01/12] fix: refs #7306 clean warning --- src/pages/Customer/Card/CustomerUnpaid.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/Customer/Card/CustomerUnpaid.vue b/src/pages/Customer/Card/CustomerUnpaid.vue index ad00cbf59..6fa5b7f01 100644 --- a/src/pages/Customer/Card/CustomerUnpaid.vue +++ b/src/pages/Customer/Card/CustomerUnpaid.vue @@ -2,10 +2,9 @@ import { computed, onBeforeMount, ref, watch, nextTick } from 'vue'; import { useI18n } from 'vue-i18n'; import { useRoute } from 'vue-router'; - import VnInputDate from 'components/common/VnInputDate.vue'; import VnInput from 'src/components/common/VnInput.vue'; - +import VnRow from 'components/ui/VnRow.vue'; import axios from 'axios'; import useNotify from 'src/composables/useNotify'; import { useStateStore } from 'stores/useStateStore'; From 5c59ae8217b6b20592d98d8321e9ca2a08bd3b60 Mon Sep 17 00:00:00 2001 From: pablone Date: Wed, 13 Nov 2024 09:12:51 +0100 Subject: [PATCH 02/12] fix: refs #7404 some filter issues --- src/pages/Entry/EntryStockBought.vue | 3 ++- src/pages/Entry/EntryStockBoughtDetail.vue | 2 +- src/pages/Entry/EntryStockBoughtFilter.vue | 11 +++++++++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/pages/Entry/EntryStockBought.vue b/src/pages/Entry/EntryStockBought.vue index 7ae6901d3..3f0cd2d99 100644 --- a/src/pages/Entry/EntryStockBought.vue +++ b/src/pages/Entry/EntryStockBought.vue @@ -99,7 +99,7 @@ const travelDialogRef = ref(false); const tableRef = ref(); const travel = ref(null); const userParams = ref({ - dated: Date.vnNew(), + dated: Date.vnNew().toJSON(), }); const filter = ref({ @@ -219,6 +219,7 @@ function round(value) { data-key="StockBoughts" url="StockBoughts/getStockBought" save-url="StockBoughts/crud" + search-url="StockBoughts" order="reserve DESC" :right-search="false" :is-editable="true" diff --git a/src/pages/Entry/EntryStockBoughtDetail.vue b/src/pages/Entry/EntryStockBoughtDetail.vue index 0fd775ee6..812171825 100644 --- a/src/pages/Entry/EntryStockBoughtDetail.vue +++ b/src/pages/Entry/EntryStockBoughtDetail.vue @@ -18,7 +18,7 @@ const $props = defineProps({ required: true, }, }); -const customUrl = `StockBoughts/getStockBoughtDetail?workerFk=${$props.workerFk}&date=${$props.dated}`; +const customUrl = `StockBoughts/getStockBoughtDetail?workerFk=${$props.workerFk}&dated=${$props.dated}`; const columns = [ { align: 'left', diff --git a/src/pages/Entry/EntryStockBoughtFilter.vue b/src/pages/Entry/EntryStockBoughtFilter.vue index 7694cfe6c..e59332064 100644 --- a/src/pages/Entry/EntryStockBoughtFilter.vue +++ b/src/pages/Entry/EntryStockBoughtFilter.vue @@ -27,7 +27,7 @@ onMounted(async () => { -