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/WmsPlace.ts | 27 +++++++++++++++++++++++---- 1 files changed, 23 insertions(+), 4 deletions(-) diff --git a/HIAWms/hiawms_web/src/widgets/WmsStoreInfo/Controllers/WmsPlace.ts b/HIAWms/hiawms_web/src/widgets/WmsStoreInfo/Controllers/WmsPlace.ts index 96efbd1..3efa706 100644 --- a/HIAWms/hiawms_web/src/widgets/WmsStoreInfo/Controllers/WmsPlace.ts +++ b/HIAWms/hiawms_web/src/widgets/WmsStoreInfo/Controllers/WmsPlace.ts @@ -56,6 +56,11 @@ visible: false, title: '', }) + const dialogConfigForQuery = reactive({ + visible: false, + title: '', + isAdd: false, + }) /** * 鍒嗛〉鏁版嵁 @@ -159,6 +164,15 @@ await tableRef.value?.getList() } } + + //鐐瑰嚮鎸夐挳銆愰珮绾ф煡璇€�� + const onAdvancedQuery = () => { + const params = tableRef.value?.getPaginationParams() + current.value = null + dialogConfigForQuery.visible = true + dialogConfigForQuery.isAdd = true + dialogConfigForQuery.title = '楂樼骇鏌ヨ' + } /** * 琛岀偣鍑绘椂鏇存柊current */ @@ -170,11 +184,14 @@ /** * 瀵煎嚭 */ - const onExport = () => { - const params = tableRef.value?.getParams() - exportFile('/api/v1/HIAWms/wmsPlace/export', params, 'wmsStoreInfo') + // const onExport = () => { + // const params = tableRef.value?.getParams() + // exportFile('/api/v1/HIAWms/wmsPlace/export', params, 'wmsStoreInfo') + // } + const onExport = (data = {}) => { + //const params = tableRef.value?.getParams() + exportFile('/api/v1/HIAWms/wmsPlace/export', data, '搴撲綅淇℃伅') } - /** * 鍏抽敭瀛楁悳绱� */ @@ -236,6 +253,7 @@ dataSource, contextMenu, dialogConfig, + dialogConfigForQuery, dialogSettingConfig, tableRef, current, @@ -253,6 +271,7 @@ onRowClick, onConfirmWmsPlace, onCheck, + onAdvancedQuery, onAddWmsPlace, } } -- Gitblit v1.9.3