操作时间起:
<input type="text" name="startTime" id="startTime" style="width:90px;color:#999999; "
value="<c:if test ="${not empty startTime}">${fn:substring(startTime,0,10)}</c:if><c:if test = "${empty startTime}"><fmt:formatDate value="<%=beginDate %>" type="both" pattern="yyyy-MM-dd" /></c:if>"
onfocus="inputfocus(this)" class="Wdate" onclick="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'#F{$dp.$D(\'endTime\')}'});"/>
操作时间止:
<input type="text" name="endTime" id="endTime" style="width:90px;color:#999999; "
value="<c:if test = "${not empty endTime}">${fn:substring(endTime,0,10)}</c:if><c:if test = "${empty endTime}"><fmt:formatDate value="<%=endDate %>" type="both" pattern="yyyy-MM-dd" /></c:if>"
onfocus="inputfocus(this)" class="Wdate" onclick="WdatePicker({dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\'startTime\')}'});"/>
onclick="WdatePicker({dateFmt:'yyyy-MM-dd',maxDate:'#F{$dp.$D(\'endTime\')}'});"
onclick="WdatePicker({dateFmt:'yyyy-MM-dd',minDate:'#F{$dp.$D(\'startTime\')}'});"