From ef979f05a3f643a215e0eb8d3755e548085a2459 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Mon, 4 Mar 2024 11:38:18 +0100 Subject: [PATCH] refs #6911 feat: reaneme method and remove keyup --- src/components/FilterItemForm.vue | 8 ++------ src/components/FilterTravelForm.vue | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/components/FilterItemForm.vue b/src/components/FilterItemForm.vue index b4c928ca8..45493100b 100644 --- a/src/components/FilterItemForm.vue +++ b/src/components/FilterItemForm.vue @@ -78,7 +78,7 @@ const tableColumns = computed(() => [ }, ]); -const fetchResults = async () => { +const onSubmit = async () => { try { let filter = itemFilter; const params = itemFilterParams; @@ -140,11 +140,7 @@ const selectItem = ({ id }) => { @on-fetch="(data) => (InksOptions = data)" auto-load /> - + diff --git a/src/components/FilterTravelForm.vue b/src/components/FilterTravelForm.vue index c005acde1..45c79bb08 100644 --- a/src/components/FilterTravelForm.vue +++ b/src/components/FilterTravelForm.vue @@ -85,7 +85,7 @@ const tableColumns = computed(() => [ }, ]); -const fetchResults = async () => { +const onSubmit = async () => { try { let filter = travelFilter; const params = travelFilterParams; @@ -138,11 +138,7 @@ const selectTravel = ({ id }) => { @on-fetch="(data) => (warehousesOptions = data)" auto-load /> - +