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([])