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 }); }}