From 1225fbcf6dd197c39853e2cb0f70c7318836abcb Mon Sep 17 00:00:00 2001 From: zs <zhousong@weben-smart.com> Date: 周一, 19 5月 2025 16:53:12 +0800 Subject: [PATCH] 仓库信息高级查询 --- HIAWms/hiawms_web/src/widgets/WmsStoreInfo/Controllers/WmsStore.ts | 27 ++++++++++++++++++++++----- 1 files changed, 22 insertions(+), 5 deletions(-) diff --git a/HIAWms/hiawms_web/src/widgets/WmsStoreInfo/Controllers/WmsStore.ts b/HIAWms/hiawms_web/src/widgets/WmsStoreInfo/Controllers/WmsStore.ts index 1a7c9ec..471d6e3 100644 --- a/HIAWms/hiawms_web/src/widgets/WmsStoreInfo/Controllers/WmsStore.ts +++ b/HIAWms/hiawms_web/src/widgets/WmsStoreInfo/Controllers/WmsStore.ts @@ -51,7 +51,11 @@ title: '', isAdd: false, }) - + const dialogConfigForQuery = reactive({ + visible: false, + title: '', + isAdd: false, + }) const dialogSettingConfig = reactive({ visible: false, title: '', @@ -148,6 +152,14 @@ dialogConfig.title = '娣诲姞' sort.value = params.totalCount + 1 } + //鐐瑰嚮鎸夐挳銆愰珮绾ф煡璇€�� + const onAdvancedQuery = () => { + const params = tableRef.value?.getPaginationParams() + current.value = null + dialogConfigForQuery.visible = true + dialogConfigForQuery.isAdd = true + dialogConfigForQuery.title = '楂樼骇鏌ヨ' + } const onConfirmWmsStore = async () => { dialogConfig.visible = false @@ -170,11 +182,14 @@ /** * 瀵煎嚭 */ - const onExport = () => { - const params = tableRef.value?.getParams() - exportFile('/api/v1/HIAWms/wmsStore/export', params, 'wmsStoreInfo') + // const onExport = () => { + // const params = tableRef.value?.getParams() + // exportFile('/api/v1/HIAWms/wmsStore/export', params, 'wmsStoreInfo') + // } + const onExport = (data = {}) => { + //const params = tableRef.value?.getParams() + exportFile('/api/v1/HIAWms/wmsStore/export', data, '浠撳簱淇℃伅') } - /** * 鍏抽敭瀛楁悳绱� */ @@ -241,6 +256,7 @@ current, search, sort, + dialogConfigForQuery, wmsStoreColumns, paginationParams, headers, @@ -254,5 +270,6 @@ onConfirmWmsStore, onCheck, onAddWmsStore, + onAdvancedQuery, } } -- Gitblit v1.9.3