From eb287696fa9b184809db45a468e8b025572f7026 Mon Sep 17 00:00:00 2001 From: Jon Date: Fri, 15 Nov 2024 11:49:46 +0100 Subject: [PATCH] fix: fixed state column in ticket list --- src/pages/Item/ItemFixedPriceFilter.vue | 17 +---------------- src/pages/Ticket/TicketList.vue | 12 ++++++------ 2 files changed, 7 insertions(+), 22 deletions(-) diff --git a/src/pages/Item/ItemFixedPriceFilter.vue b/src/pages/Item/ItemFixedPriceFilter.vue index 84eefaed3..a8f7d0c5f 100644 --- a/src/pages/Item/ItemFixedPriceFilter.vue +++ b/src/pages/Item/ItemFixedPriceFilter.vue @@ -17,21 +17,6 @@ const props = defineProps({ }); const itemTypeWorkersOptions = ref([]); -const exprBuilder = (param, value) => { - switch (param) { - case 'name': - return { 'i.name': { like: `%${value}%` } }; - case 'itemFk': - case 'warehouseFk': - case 'rate2': - case 'rate3': - param = `fp.${param}`; - return { [param]: value }; - case 'minPrice': - param = `i.${param}`; - return { [param]: value }; - } -};