From e0366dc2424df3233aeb3baa50999dfb2bf4aad0 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: Fri, 13 Feb 2026 13:05:32 +0800
Subject: [PATCH] 修改

---
 src/views/purchase/cityInAndOut.vue              |   22 +-
 src/views/stock/cityOutStatistics.vue            |   22 +-
 src/views/purchase/person.vue                    |   22 +-
 src/views/stock/cityEntryStatistics.vue          |   22 +-
 src/views/stock/enterprisePurchaseStatistics.vue |   22 +-
 src/views/purchase/danlingPerson.vue             |   22 +-
 src/views/purchase/citySaleStatistics.vue        |   22 +-
 src/views/stock/statePurchaseStatistics.vue      |   22 +-
 src/views/purchase/enterpriseESS.vue             |   22 +-
 src/views/purchase/enterpriseSaleStatistics.vue  |   22 +-
 src/views/purchase/product.vue                   |   22 +-
 src/views/stock/enterpriseEntryStatistics.vue    |   22 +-
 src/views/flow/inStorage.vue                     |   22 +-
 src/views/flow/outStorage.vue                    |   22 +-
 src/views/purchase/cityESS.vue                   |   30 ++--
 src/views/stock/enterpriseOutStatistics.vue      |   22 +-
 src/views/stock/enterpriseSale.vue               |   22 +-
 17 files changed, 191 insertions(+), 191 deletions(-)

diff --git a/src/views/flow/inStorage.vue b/src/views/flow/inStorage.vue
index 12ca151..c8acdfb 100644
--- a/src/views/flow/inStorage.vue
+++ b/src/views/flow/inStorage.vue
@@ -378,17 +378,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.getInStorageData()
         },
 
diff --git a/src/views/flow/outStorage.vue b/src/views/flow/outStorage.vue
index 78edbd3..d0fb5b2 100644
--- a/src/views/flow/outStorage.vue
+++ b/src/views/flow/outStorage.vue
@@ -379,17 +379,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.getOutStorageData()
         },
 
diff --git a/src/views/purchase/cityESS.vue b/src/views/purchase/cityESS.vue
index 9c7f438..f89b9df 100644
--- a/src/views/purchase/cityESS.vue
+++ b/src/views/purchase/cityESS.vue
@@ -345,21 +345,21 @@
 
         searchProductSearch(){
             this.listQuery.pageIndex = 1
-            const date1 = new Date(this.validTime[0]);
-            const date2 = new Date(this.validTime[1]);
-            const date3 = new Date(this.validTime2[0]);
-            const date4 = new Date(this.validTime2[1]);
-            const differenceInMs = Math.abs(date2 - date1);
-            const differenceInDays = differenceInMs / (1000 * 60 * 60 * 24)
-            const differenceInMs2 = Math.abs(date4 - date3);
-            const differenceInDays2 = differenceInMs2 / (1000 * 60 * 60 * 24)
-            if(differenceInDays > 32 || differenceInDays2 > 32){
-                this.$message({
-                    type: 'warning',
-                    message: '查询时间或对比时间跨度超过一个月的,请联系管理员查询数据'
-                })
-                return
-            }
+            // const date1 = new Date(this.validTime[0]);
+            // const date2 = new Date(this.validTime[1]);
+            // const date3 = new Date(this.validTime2[0]);
+            // const date4 = new Date(this.validTime2[1]);
+            // const differenceInMs = Math.abs(date2 - date1);
+            // const differenceInDays = differenceInMs / (1000 * 60 * 60 * 24)
+            // const differenceInMs2 = Math.abs(date4 - date3);
+            // const differenceInDays2 = differenceInMs2 / (1000 * 60 * 60 * 24)
+            // if(differenceInDays > 32 || differenceInDays2 > 32){
+            //     this.$message({
+            //         type: 'warning',
+            //         message: '查询时间或对比时间跨度超过一个月的,请联系管理员查询数据'
+            //     })
+            //     return
+            // }
             this.getProductList()
         },
 
diff --git a/src/views/purchase/cityInAndOut.vue b/src/views/purchase/cityInAndOut.vue
index 162119b..e08c84b 100644
--- a/src/views/purchase/cityInAndOut.vue
+++ b/src/views/purchase/cityInAndOut.vue
@@ -237,17 +237,17 @@
 
         searchCityInOutSearch(){
             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.getCityInOutList()
         },
 
diff --git a/src/views/purchase/citySaleStatistics.vue b/src/views/purchase/citySaleStatistics.vue
index e4255fe..2fd8a08 100644
--- a/src/views/purchase/citySaleStatistics.vue
+++ b/src/views/purchase/citySaleStatistics.vue
@@ -275,17 +275,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()
             },
 
diff --git a/src/views/purchase/danlingPerson.vue b/src/views/purchase/danlingPerson.vue
index 78c7c51..42990fc 100644
--- a/src/views/purchase/danlingPerson.vue
+++ b/src/views/purchase/danlingPerson.vue
@@ -408,17 +408,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()
         },
 
diff --git a/src/views/purchase/enterpriseESS.vue b/src/views/purchase/enterpriseESS.vue
index 0f8d030..1d25a91 100644
--- a/src/views/purchase/enterpriseESS.vue
+++ b/src/views/purchase/enterpriseESS.vue
@@ -391,17 +391,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.getProductList()
       },
 
diff --git a/src/views/purchase/enterpriseSaleStatistics.vue b/src/views/purchase/enterpriseSaleStatistics.vue
index ad605a1..1f289dd 100644
--- a/src/views/purchase/enterpriseSaleStatistics.vue
+++ b/src/views/purchase/enterpriseSaleStatistics.vue
@@ -351,17 +351,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()
             },
 
diff --git a/src/views/purchase/person.vue b/src/views/purchase/person.vue
index 550a1b7..84f647b 100644
--- a/src/views/purchase/person.vue
+++ b/src/views/purchase/person.vue
@@ -439,17 +439,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()
         },
 
diff --git a/src/views/purchase/product.vue b/src/views/purchase/product.vue
index 1694225..8d1271f 100644
--- a/src/views/purchase/product.vue
+++ b/src/views/purchase/product.vue
@@ -418,17 +418,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.getProductList()
         },
 
diff --git a/src/views/stock/cityEntryStatistics.vue b/src/views/stock/cityEntryStatistics.vue
index 195b477..94118eb 100644
--- a/src/views/stock/cityEntryStatistics.vue
+++ b/src/views/stock/cityEntryStatistics.vue
@@ -264,17 +264,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()
             },
 
diff --git a/src/views/stock/cityOutStatistics.vue b/src/views/stock/cityOutStatistics.vue
index 370409e..3fc59f4 100644
--- a/src/views/stock/cityOutStatistics.vue
+++ b/src/views/stock/cityOutStatistics.vue
@@ -264,17 +264,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()
             },
 
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()
             },
 
diff --git a/src/views/stock/enterpriseOutStatistics.vue b/src/views/stock/enterpriseOutStatistics.vue
index 0d9a733..2f1e0c8 100644
--- a/src/views/stock/enterpriseOutStatistics.vue
+++ b/src/views/stock/enterpriseOutStatistics.vue
@@ -347,17 +347,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()
             },
 
diff --git a/src/views/stock/enterprisePurchaseStatistics.vue b/src/views/stock/enterprisePurchaseStatistics.vue
index 806a4a7..bcf650c 100644
--- a/src/views/stock/enterprisePurchaseStatistics.vue
+++ b/src/views/stock/enterprisePurchaseStatistics.vue
@@ -341,17 +341,17 @@
                 this.getpifaBox()
             },
             searchProductSearch(){
-                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.getpifaBox()
             },
 
diff --git a/src/views/stock/enterpriseSale.vue b/src/views/stock/enterpriseSale.vue
index 36bb265..413b0d8 100644
--- a/src/views/stock/enterpriseSale.vue
+++ b/src/views/stock/enterpriseSale.vue
@@ -340,17 +340,17 @@
             },
             queryHandle: function () {
                 this.currentPage = 1;
-                const date1 = new Date(this.dateRange[0]);
-                const date2 = new Date(this.dateRange[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.dateRange[0]);
+                // const date2 = new Date(this.dateRange[1]);
+                // const differenceInMs = Math.abs(date2 - date1);
+                // const differenceInDays = differenceInMs / (1000 * 60 * 60 * 24)
+                // if(differenceInDays > 32){
+                //     this.$message({
+                //         type: 'warning',
+                //         message: '时间跨度超过一个月的,请联系管理员查询数据'
+                //     })
+                //     return
+                // }
                 this.getSaleList();
             },
             handleSizeChange: function (val) {
diff --git a/src/views/stock/statePurchaseStatistics.vue b/src/views/stock/statePurchaseStatistics.vue
index 951b9af..75aeb0e 100644
--- a/src/views/stock/statePurchaseStatistics.vue
+++ b/src/views/stock/statePurchaseStatistics.vue
@@ -329,17 +329,17 @@
             this.getRegionPifaBox()
         },
         searchProductSearch() {
-            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.getRegionPifaBox()
         },
 

--
Gitblit v1.9.2