From 8fbcbc9c365e911b561d17834f8e350974ca1439 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周二, 20 5月 2025 12:43:13 +0800
Subject: [PATCH] 22
---
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