|
|
@@ -34,7 +34,7 @@
|
|
|
<td><input type="text" class="w100p aR" id="resGoodsPrice" name="resGoodsPrice" maxlength="10" data-valid-type="numeric" /></td>
|
|
|
<th>예약일시<em class="required" title="필수"></em></th>
|
|
|
<td>
|
|
|
- <input name="applyStYMD" id="applyStYMD" type="text" class="w80 schDate" maxlength="10" required="required" data-valid-name="예약시작일" />
|
|
|
+ <input name="applyStYMD" id="applyStYMD" type="text" class="w80 schDate" maxlength="10" required="required" data-valid-name="예약시작일" th:value="${#calendars.format(#calendars.createNow(), 'yyyy-MM-dd')}"/>
|
|
|
<select name="applyStHH" id="applyStHH" required="required" data-valid-name="예약 시작시간">
|
|
|
<th:block th:each="num, index : ${#numbers.sequence(0,23)}">
|
|
|
<option th:value="${#numbers.formatInteger(num,2)}" th:text="|${#numbers.formatInteger(num,2)}시|" >시간</option>
|
|
|
@@ -42,7 +42,7 @@
|
|
|
</select>
|
|
|
<input name="applyStdt" id="applyStdt" type="hidden" />
|
|
|
~
|
|
|
- <input name="applyEdYMD" id="applyEdYMD" type="text" class="w80 schDate" maxlength="10" required="required" data-valid-name="예약 종료일" />
|
|
|
+ <input name="applyEdYMD" id="applyEdYMD" type="text" class="w80 schDate" maxlength="10" required="required" data-valid-name="예약 종료일" th:value="${#calendars.format(#calendars.createNow(), 'yyyy-MM-dd')}"/>
|
|
|
<select name="applyEdHH" id="applyEdHH" required="required" data-valid-name="예약 종료시간">
|
|
|
<th:block th:each="num: ${#numbers.sequence(0,23)}">
|
|
|
<option th:value="${#numbers.formatInteger(num,2)}" th:text="|${#numbers.formatInteger(num,2)}시|" th:selected="${#numbers.formatInteger(num,2)}==23 ? 'true'">시간</option>
|