| | |
| | | |
| | | 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() |
| | | }, |
| | | |
| | |
| | | |
| | | 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() |
| | | }, |
| | | |
| | |
| | | |
| | | 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() |
| | | }, |
| | | |
| | |
| | | |
| | | 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() |
| | | }, |
| | | |
| | |
| | | |
| | | 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() |
| | | }, |
| | | |
| | |
| | | |
| | | 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() |
| | | }, |
| | | |
| | |
| | | |
| | | 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() |
| | | }, |
| | | |
| | |
| | | }, |
| | | 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() |
| | | }, |
| | | |
| | |
| | | |
| | | 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() |
| | | }, |
| | | |
| | |
| | | |
| | | 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() |
| | | }, |
| | | |
| | |
| | | |
| | | 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() |
| | | }, |
| | | |
| | |
| | | |
| | | 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() |
| | | }, |
| | | |
| | |
| | | }, |
| | | 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() |
| | | }, |
| | | |
| | |
| | | }, |
| | | 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() |
| | | }, |
| | | |
| | |
| | | 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() |
| | | }, |
| | | |
| | |
| | | }, |
| | | 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) { |
| | |
| | | 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() |
| | | }, |
| | | |