diff --git a/src/pages/Route/Roadmap/RoadmapFilter.vue b/src/pages/Route/Roadmap/RoadmapFilter.vue index ecf8d39fc..246b03cb2 100644 --- a/src/pages/Route/Roadmap/RoadmapFilter.vue +++ b/src/pages/Route/Roadmap/RoadmapFilter.vue @@ -18,22 +18,6 @@ const props = defineProps({ const emit = defineEmits(['search']); const supplierList = ref([]); -const exprBuilder = (param, value) => { - switch (param) { - case 'tractorPlate': - case 'trailerPlate': - case 'driverName': - case 'phone': - return { [param]: { like: `%${value}%` } }; - case 'supplierFk': - case 'price': - return { [param]: value }; - case 'from': - return { etd: { gte: value } }; - case 'to': - return { etd: { lte: value } }; - } -};