From 784ef9a3f01e6c398d97fcdbc9c7e91f0ded2ad1 Mon Sep 17 00:00:00 2001
From: Hentua <wangdoubleone@gmail.com>
Date: Thu, 24 Aug 2023 14:42:52 +0800
Subject: [PATCH] fix

---
 src/main/resources/templates/febs/views/modules/order/orderList.html |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/templates/febs/views/modules/order/orderList.html b/src/main/resources/templates/febs/views/modules/order/orderList.html
index e4791c1..b19b257 100644
--- a/src/main/resources/templates/febs/views/modules/order/orderList.html
+++ b/src/main/resources/templates/febs/views/modules/order/orderList.html
@@ -195,17 +195,20 @@
                     printSelect(checkStatus.data)
                 }
             }
+            let statisticIds = 0;
             if(event === 'goodsStatistics'){
                 var data = checkStatus.data;
                 let statistics = 0;
                 for(let i = 0;i < data.length;i++){
                         statistics = statistics+ "," + data[i].id;
                 }
+                console.log(statistics);
                 if(statistics == null || statistics == ""){
                     febs.alert.warn('请选择需要统计的订单');
                     return;
                 }
-                let statisticIds = statistics;
+                statisticIds = statistics;
+                console.log(statisticIds);
                 febs.modal.open( '商品数量统计', 'modules/order/goodsStatistics/'+statisticIds, {
                     maxmin: true,
                 });

--
Gitblit v1.9.1