If you want to implement the element-ui DatePicker date selector, you can only choose within 7 days.

demand is
1: 15 days after the current time is banned,
2: the date range can only be within 7 days. If the start time is the 2nd, the end time cannot be greater than the 8th, and the rest display mouse display is disabled

.

clipboard.png

have you ever done it, or give me an idea


you can disable dates before the 2nd through the picker-options setting


picker-options there is a disabledDate
http://jsfiddle.net/wbnxeoj2/

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bdc364-312e0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bdc364-312e0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?