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/purchase/cityESS.vue | 34 +++++++++++++++++-----------------
1 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/src/views/purchase/cityESS.vue b/src/views/purchase/cityESS.vue
index 9c7f438..520e0e4 100644
--- a/src/views/purchase/cityESS.vue
+++ b/src/views/purchase/cityESS.vue
@@ -139,7 +139,7 @@
pageSize:20,
pageIndex:1,
filter: {
- province: '新疆维吾尔自治区',
+ province: '东台市',
city: '',
starttime: '',
endtime: '',
@@ -329,7 +329,7 @@
pageSize: 10,
pageIndex: 1,
filter: {
- province: '新疆维吾尔自治区',
+ province: '东台市',
city: '',
starttime: '',
endtime: '',
@@ -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()
},
--
Gitblit v1.9.2