From 4110a9e9eb4004d453eb3f704f1f239461d098d4 Mon Sep 17 00:00:00 2001 From: guoxin Date: Mon, 27 Nov 2023 15:32:34 +0800 Subject: [PATCH] =?UTF-8?q?fix():=E5=A4=84=E7=90=86=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=AF=B9=E6=8E=A5=E9=94=99=E5=B3=B0=E8=BD=A6?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/TableModule/index.jsx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/components/TableModule/index.jsx b/src/components/TableModule/index.jsx index 3ed0860..d7d1420 100644 --- a/src/components/TableModule/index.jsx +++ b/src/components/TableModule/index.jsx @@ -182,10 +182,10 @@ const TableModule = forwardRef((props, ref) => { if (mandatory) { let cna = Object.values(searchForm.getFieldsValue([mandatory])) //console.log(mandatory,cna[0],searchForm.getFieldsValue([mandatory])) - if (!cna[0]) { - message.error(`查询时间范围大于半年,需填写${mandatory_name}!`) - return - } + // if (!cna[0]) { + // message.error(`查询时间范围大于半年,需填写${mandatory_name}!`) + // return + // } } } if (limitCon && limitCon(form)) return @@ -468,7 +468,7 @@ const TableModule = forwardRef((props, ref) => { moment().startOf("day") } > - + { (item.defaultValue && item.defaultValue[1]) || moment() } > - +
{ setTimeGroup({ ...timeGroup, start_time: string }); }} @@ -792,6 +793,7 @@ function InputSelectGroup(params) { { setTimeGroup({ ...timeGroup, end_time: string }); }}