From 465daca7588c86d1206e2c422a95eb7700ca07a3 Mon Sep 17 00:00:00 2001 From: dxc Date: Mon, 2 Mar 2026 16:21:16 +0800 Subject: [PATCH] feat: Add sorting and advanced filters to inbound semi view Co-authored-by: aider (openai/DeepSeek-V3.2-Thinking) --- inventory-web/src/views/stock/inbound/semi.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/inventory-web/src/views/stock/inbound/semi.vue b/inventory-web/src/views/stock/inbound/semi.vue index a6e0322..fbead64 100644 --- a/inventory-web/src/views/stock/inbound/semi.vue +++ b/inventory-web/src/views/stock/inbound/semi.vue @@ -614,7 +614,7 @@ const dialogStatus = ref<'create' | 'update'>('create') const tableData = ref([]) const total = ref(0) const formRef = ref() -const queryParams = reactive({ page: 1, pageSize: 100, keyword: '', category: '', material_type: '', statuses: ['在库', '借库'], company: '' }) +const queryParams = reactive({ page: 1, pageSize: 100, keyword: '', category: '', material_type: '', statuses: ['在库', '借库'], company: '', orderByColumn: '', isAsc: '', advancedFilters: [] }) const categoryOptions = ref([]) const typeOptions = ref([]) const companyOptions = ref([]) // [新增] @@ -1049,6 +1049,9 @@ const resetQuery = () => { queryParams.material_type = '' queryParams.company = '' queryParams.page = 1 + queryParams.orderByColumn = '' + queryParams.isAsc = '' + queryParams.advancedFilters = [] fetchData() }