From 4d7e4d80d3f1dc8d29eba8771556f688083c8035 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: Tue, 17 Mar 2026 10:49:00 +0800
Subject: [PATCH] 修改报警类型
---
src/views/stock/statePurchaseStatistics.vue | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
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