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/flow/outStorage.vue | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
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()
},
--
Gitblit v1.9.2