From b69959f530c5c51daa19333879ddbf91675e830f Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: Thu, 12 Mar 2026 15:45:07 +0800
Subject: [PATCH] 修改

---
 src/views/stock/enterpriseEntryStatistics.vue |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/views/stock/enterpriseEntryStatistics.vue b/src/views/stock/enterpriseEntryStatistics.vue
index d3b65ab..a3aa86a 100644
--- a/src/views/stock/enterpriseEntryStatistics.vue
+++ b/src/views/stock/enterpriseEntryStatistics.vue
@@ -350,17 +350,17 @@
             },
             searchProductSearch(){
                 this.listQuery.pageIndex = 1
-                const date1 = new Date(this.validTime[0]);
-                const date2 = new Date(this.validTime[1]);
-                const differenceInMs = Math.abs(date2 - date1);
-                const differenceInDays = differenceInMs / (1000 * 60 * 60 * 24)
-                if(differenceInDays > 32){
-                    this.$message({
-                        type: 'warning',
-                        message: '时间跨度超过一个月的,请联系管理员查询数据'
-                    })
-                    return
-                }
+                // const date1 = new Date(this.validTime[0]);
+                // const date2 = new Date(this.validTime[1]);
+                // const differenceInMs = Math.abs(date2 - date1);
+                // const differenceInDays = differenceInMs / (1000 * 60 * 60 * 24)
+                // if(differenceInDays > 32){
+                //     this.$message({
+                //         type: 'warning',
+                //         message: '时间跨度超过一个月的,请联系管理员查询数据'
+                //     })
+                //     return
+                // }
                 this.getPersonProductList()
             },
 

--
Gitblit v1.9.2