diff --git a/src/pages/Order/Card/OrderCatalogFilter.vue b/src/pages/Order/Card/OrderCatalogFilter.vue index 28c54c120..27023262e 100644 --- a/src/pages/Order/Card/OrderCatalogFilter.vue +++ b/src/pages/Order/Card/OrderCatalogFilter.vue @@ -29,7 +29,6 @@ const props = defineProps({ }, }); -const showValueFilterDialog = ref(false); const categoryList = ref(null); const selectedCategoryFk = ref(null); const typeList = ref([]); @@ -104,14 +103,12 @@ const applyTags = (tagInfo, params, search) => { if (!tagInfo || !tagInfo.values.length) { params.tagGroups = null; search(); - toggleValueFilterDialog(); return; } if (!params.tagGroups) params.tagGroups = []; params.tagGroups.push(tagInfo); search(); - toggleValueFilterDialog(); }; const removeTagGroupParam = (params, search, valIndex = null) => { @@ -149,10 +146,6 @@ function addOrder(value, field, params) { vnFilterPanelRef.value.search(); } -const toggleValueFilterDialog = () => { - showValueFilterDialog.value = !showValueFilterDialog.value; -}; - onMounted(() => { selectedCategoryFk.value = getParamWhere(route, 'categoryFk'); selectedTypeFk.value = getParamWhere(route, 'typeFk'); @@ -315,18 +308,19 @@ onMounted(() => { flat color="primary" size="md" - @click="toggleValueFilterDialog()" /> + + + - - -