Commit e8a191cf1c740ae07976acebc0a34be26222a68b
1 parent
702ae1e3
优化 执行文件管理,公示开始时间默认为当前时间;
Showing
1 changed file
with
4 additions
and
3 deletions
src/pages/notice/PublicRelease/components/Modal.tsx
1 | 1 | /* |
2 | 2 | * @Date: 2021-08-10 10:15:56 |
3 | 3 | * @LastEditors: wangqiang@feewee.cn |
4 | - * @LastEditTime: 2023-01-05 16:21:50 | |
4 | + * @LastEditTime: 2023-01-05 16:24:04 | |
5 | 5 | */ |
6 | 6 | import { |
7 | 7 | Button, |
... | ... | @@ -428,14 +428,15 @@ export default function PublicReleaseModal() { |
428 | 428 | </Select> |
429 | 429 | </Form.Item> |
430 | 430 | <Form.Item |
431 | - label="公示截止时间" | |
431 | + label="公示结束时间" | |
432 | 432 | name="displayEnd" |
433 | - rules={[{ required: true, message: "请选择公示截止时间" }]} | |
433 | + rules={[{ required: true, message: "请选择公示结束时间" }]} | |
434 | 434 | extra="公示开始时间,默认为发布执行文件时间。公示时间最长为7天" |
435 | 435 | > |
436 | 436 | {/* @ts-ignore */} |
437 | 437 | <DatePicker |
438 | 438 | showTime |
439 | + disabled={disabled} | |
439 | 440 | style={{ width: "100%" }} |
440 | 441 | disabledDate={(current) => current.valueOf() < moment().startOf("D").valueOf() || |
441 | 442 | current.valueOf() > moment().add(7, "d").startOf("D").valueOf()} | ... | ... |