Copy codeThe Code is as follows:
<Tr> <th> release start date </th>
<Td> <input type = "text" id = "usLineTime" name = "usLineTime" size = "20" class = 'easyui-validatebox wdate'
OnFocus = "WdatePicker ({el: 'uslinetime', dateFmt: 'yyyy-MM-dd', maxDate: '# F {$ dp. $ D (\ 'uelinetime \')}'})"
Value = "<fmt: formatDate value =" $ {product. usLineTime} "pattern =" yyyy-MM-dd "/>" required = "true"/> </td> </tr>
<Tr> <th> release end date </th> <td>
<Input type = "text" id = "ueLineTime" name = "ueLineTime" size = "20" class = 'easyui-validatebox wdat'
OnFocus = "WdatePicker ({el: 'uelinetime', dateFmt: 'yyyy-MM-dd', minDate: '# F {$ dp. $ D (\ 'uslinetime \')}'})"
Value = "<fmt: formatDate value =" $ {product. ueLineTime} "pattern =" yyyy-MM-dd "/>" required = "true"/>
</Td> </tr>
Note: ueLineTime is the current time and mainly controls the date control,
MaxDate is the maximum value that can only be selected for the current date. If it is greater than the current date, it cannot be selected.
The principle of minDate is the same as that of minDate.