From 5a149d626ae8bc3fa4bddbb53f8caf40f51f6da6 Mon Sep 17 00:00:00 2001
From: zs <zhousong@weben-smart.com>
Date: 周三, 04 6月 2025 17:42:13 +0800
Subject: [PATCH] Merge branch 'master' of http://222.71.245.114:9086/r/HIA24016N_PipeLineDemo

---
 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