烟花爆竹实名登记前端
祖安之光
2026-02-13 e0366dc2424df3233aeb3baa50999dfb2bf4aad0
修改
17 files modified
382 ■■■■ changed files
src/views/flow/inStorage.vue 22 ●●●● patch | view | raw | blame | history
src/views/flow/outStorage.vue 22 ●●●● patch | view | raw | blame | history
src/views/purchase/cityESS.vue 30 ●●●● patch | view | raw | blame | history
src/views/purchase/cityInAndOut.vue 22 ●●●● patch | view | raw | blame | history
src/views/purchase/citySaleStatistics.vue 22 ●●●● patch | view | raw | blame | history
src/views/purchase/danlingPerson.vue 22 ●●●● patch | view | raw | blame | history
src/views/purchase/enterpriseESS.vue 22 ●●●● patch | view | raw | blame | history
src/views/purchase/enterpriseSaleStatistics.vue 22 ●●●● patch | view | raw | blame | history
src/views/purchase/person.vue 22 ●●●● patch | view | raw | blame | history
src/views/purchase/product.vue 22 ●●●● patch | view | raw | blame | history
src/views/stock/cityEntryStatistics.vue 22 ●●●● patch | view | raw | blame | history
src/views/stock/cityOutStatistics.vue 22 ●●●● patch | view | raw | blame | history
src/views/stock/enterpriseEntryStatistics.vue 22 ●●●● patch | view | raw | blame | history
src/views/stock/enterpriseOutStatistics.vue 22 ●●●● patch | view | raw | blame | history
src/views/stock/enterprisePurchaseStatistics.vue 22 ●●●● patch | view | raw | blame | history
src/views/stock/enterpriseSale.vue 22 ●●●● patch | view | raw | blame | history
src/views/stock/statePurchaseStatistics.vue 22 ●●●● patch | view | raw | blame | history
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()
        },
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()
        },
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()
        },
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()
        },
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()
            },
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()
        },
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()
      },
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()
            },
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()
        },
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()
        },
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()
            },
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()
            },
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()
            },
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()
            },
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()
            },
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) {
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()
        },