From 1461cb2b254a1eb40336e441ba2dbc4936207037 Mon Sep 17 00:00:00 2001 From: hwj Date: Mon, 11 May 2026 14:46:13 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E4=BB=93=E5=82=A8=E7=AE=A1?= =?UTF-8?q?=E7=90=86-=E6=B7=BB=E5=8A=A0=E2=80=9C=E5=B1=95=E5=BC=80/?= =?UTF-8?q?=E6=8A=98=E5=8F=A0=E2=80=9D=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/erp/stock/in/index.vue | 20 ++++++++++++++++---- src/views/erp/stock/out/index.vue | 20 ++++++++++++++++---- src/views/erp/stock/record/index.vue | 16 ++++++++++++++-- src/views/erp/stock/warehouse/index.vue | 12 ++++++++++++ src/views/erp/warehousearea/index.vue | 14 +++++++++++++- src/views/erp/warehouselocation/index.vue | 16 ++++++++++++++-- 6 files changed, 85 insertions(+), 13 deletions(-) diff --git a/src/views/erp/stock/in/index.vue b/src/views/erp/stock/in/index.vue index bc2b0f3f..ed58dbb8 100644 --- a/src/views/erp/stock/in/index.vue +++ b/src/views/erp/stock/in/index.vue @@ -60,7 +60,7 @@ /> --> - + - + - + - + + + + + {{ showAllFilters ? t('FactoryModeling.FactoryStructure.collapseText') : + t('FactoryModeling.FactoryStructure.expandText') }} + + {{ t('common.query') }} {{ t('common.reset') }} @@ -308,6 +315,11 @@ const queryParams = reactive({ }) const queryFormRef = ref() // 搜索的表单 const exportLoading = ref(false) // 导出的加载中 +const showAllFilters = ref(false) +const filterCount = 7 +const toggleFilters = () => { + showAllFilters.value = !showAllFilters.value +} const productList = ref([]) // 产品列表 const warehouseList = ref([]) // 仓库列表 const supplierList = ref([]) // 供应商列表 diff --git a/src/views/erp/stock/out/index.vue b/src/views/erp/stock/out/index.vue index bfb0ee63..f11f485c 100644 --- a/src/views/erp/stock/out/index.vue +++ b/src/views/erp/stock/out/index.vue @@ -60,7 +60,7 @@ /> --> - + - + - + - + + + + + {{ showAllFilters ? t('FactoryModeling.FactoryStructure.collapseText') : + t('FactoryModeling.FactoryStructure.expandText') }} + + {{ t('common.query') }} {{ t('common.reset') }} @@ -317,6 +324,11 @@ const queryParams = reactive({ }) const queryFormRef = ref() // 搜索的表单 const exportLoading = ref(false) // 导出的加载中 +const showAllFilters = ref(false) +const filterCount = 7 +const toggleFilters = () => { + showAllFilters.value = !showAllFilters.value +} const productList = ref([]) // 产品列表 const warehouseList = ref([]) // 仓库列表 const customerList = ref([]) // 客户列表 diff --git a/src/views/erp/stock/record/index.vue b/src/views/erp/stock/record/index.vue index 704b615d..7bac3dc0 100644 --- a/src/views/erp/stock/record/index.vue +++ b/src/views/erp/stock/record/index.vue @@ -57,7 +57,7 @@ /> - + - + + + + + {{ showAllFilters ? t('FactoryModeling.FactoryStructure.collapseText') : + t('FactoryModeling.FactoryStructure.expandText') }} + + {{ t('common.query') }} {{ t('common.reset') }} @@ -200,6 +207,11 @@ const queryParams = reactive({ }) const queryFormRef = ref() // 搜索的表单 const exportLoading = ref(false) // 导出的加载中 +const showAllFilters = ref(false) +const filterCount = 5 +const toggleFilters = () => { + showAllFilters.value = !showAllFilters.value +} const productList = ref([]) // 产品列表 const warehouseList = ref([]) // 仓库列表 const categoryTabs = ref([]) diff --git a/src/views/erp/stock/warehouse/index.vue b/src/views/erp/stock/warehouse/index.vue index 2d740bb7..fe505046 100644 --- a/src/views/erp/stock/warehouse/index.vue +++ b/src/views/erp/stock/warehouse/index.vue @@ -33,6 +33,13 @@ /> + + + + {{ showAllFilters ? t('FactoryModeling.FactoryStructure.collapseText') : + t('FactoryModeling.FactoryStructure.expandText') }} + + {{ t('common.query') }} {{ t('common.reset') }} @@ -245,6 +252,11 @@ const queryParams = reactive({ }) const queryFormRef = ref() // 搜索的表单 const exportLoading = ref(false) // 导出的加载中 +const showAllFilters = ref(false) +const filterCount = 2 +const toggleFilters = () => { + showAllFilters.value = !showAllFilters.value +} const detailDialogVisible = ref(false) // 详情弹窗的是否展示 const detailData = ref(null) // 详情的数据 const activeTab = ref('area') // 当前激活的tab diff --git a/src/views/erp/warehousearea/index.vue b/src/views/erp/warehousearea/index.vue index 1feed687..c612bdf8 100644 --- a/src/views/erp/warehousearea/index.vue +++ b/src/views/erp/warehousearea/index.vue @@ -40,7 +40,7 @@ class="!w-240px" /> - + + + + + {{ showAllFilters ? t('FactoryModeling.FactoryStructure.collapseText') : + t('FactoryModeling.FactoryStructure.expandText') }} + + {{ t('common.query') }} {{ t('common.reset') }} @@ -149,6 +156,11 @@ const queryParams = reactive({ status: undefined }) const queryFormRef = ref() +const showAllFilters = ref(false) +const filterCount = 4 +const toggleFilters = () => { + showAllFilters.value = !showAllFilters.value +} const warehouseList = ref([]) const getWarehouseName = (warehouseId: number) => { diff --git a/src/views/erp/warehouselocation/index.vue b/src/views/erp/warehouselocation/index.vue index 9d92f67c..147ef28f 100644 --- a/src/views/erp/warehouselocation/index.vue +++ b/src/views/erp/warehouselocation/index.vue @@ -47,7 +47,7 @@ class="!w-240px" /> - + - + + + + + {{ showAllFilters ? t('FactoryModeling.FactoryStructure.collapseText') : + t('FactoryModeling.FactoryStructure.expandText') }} + + {{ t('common.query') }} {{ t('common.reset') }} @@ -191,6 +198,11 @@ const queryParams = reactive({ status: undefined }) const queryFormRef = ref() +const showAllFilters = ref(false) +const filterCount = 5 +const toggleFilters = () => { + showAllFilters.value = !showAllFilters.value +} const warehouseList = ref([]) const areaList = ref([])