|
|
@@ -63,6 +63,10 @@
|
|
|
<p class="or_p">상품 준비 중</p>
|
|
|
<p class="count"><span th:text="${goodsPrepareCount}">0</span></p>
|
|
|
</li>
|
|
|
+ <li>
|
|
|
+ <p class="or_p">배송 준비 중</p>
|
|
|
+ <p class="count"><span th:text="${shipPrepareCount}">0</span></p>
|
|
|
+ </li>
|
|
|
<li>
|
|
|
<p class="or_p">배송 중</p>
|
|
|
<p class="count"><span th:text="${shippingCount}">0</span></p>
|
|
|
@@ -84,17 +88,17 @@
|
|
|
<div class="sch_radio_tab">
|
|
|
<input type="checkbox" name="month" value="최근 1개월" id="chk01" onclick="fnSetSearchPeriod(1);">
|
|
|
<label for="chk01">최근 1개월</label>
|
|
|
- <input type="checkbox" name="month" value="최근 2개월" id="chk02" onclick="fnSetSearchPeriod(2);">
|
|
|
+ <input type="checkbox" name="month" value="최근 3개월" id="chk02" onclick="fnSetSearchPeriod(3);">
|
|
|
<label for="chk02">최근 2개월</label>
|
|
|
- <input type="checkbox" name="month" value="최근 3개월" id="chk03" onclick="fnSetSearchPeriod(3);">
|
|
|
+ <input type="checkbox" name="month" value="최근 6개월" id="chk03" onclick="fnSetSearchPeriod(6);">
|
|
|
<label for="chk03">최근 3개월</label>
|
|
|
</div>
|
|
|
<div class="sch_right">
|
|
|
<div class="sch_datepicker sb">
|
|
|
- <input type="text" class="n_input my_datepicker" name="dt_fr_input" value="" placeholder="20.10.05" id="">
|
|
|
+ <input type="text" class="n_input my_datepicker" name="stDate" value="" th:placeholder="${#calendars.format(#calendars.createNow(), 'yyyy-MM-dd')}" id="stDate">
|
|
|
</div>
|
|
|
<div class="sch_datepicker">
|
|
|
- <input type="text" class="n_input my_datepicker" name="dt_to_input" value="" placeholder="20.10.05" id="">
|
|
|
+ <input type="text" class="n_input my_datepicker" name="edDate" value="" th:placeholder="${#calendars.format(#calendars.createNow(), 'yyyy-MM-dd')}" id="edDate">
|
|
|
</div>
|
|
|
<button type="button" class="btn btn_dark">조회</button>
|
|
|
</div>
|
|
|
@@ -275,6 +279,9 @@
|
|
|
|
|
|
// 마이페이지 location 설정
|
|
|
fnSetMypageLocation('주문확인/배송조회');
|
|
|
+
|
|
|
+ // datepicker 설정
|
|
|
+ $(".my_datepicker").datepicker();
|
|
|
});
|
|
|
|
|
|
var fnGoToOrderDetail = function(param) {
|
|
|
@@ -282,6 +289,13 @@
|
|
|
cfnGoToPage(_PAGE_ORDER_DETAIL + ordNo);
|
|
|
}
|
|
|
|
|
|
+ var fnSetSearchPeriod = function(period) {
|
|
|
+ let date = new Date();
|
|
|
+ $('#edDate').val(date.getFullYear() + '-' + ('0' + (date.getMonth() + 1)).slice(-2) + '-' + ('0' + (date.getDate() + 1)).slice(-2));
|
|
|
+ date.setMonth(date.getMonth() - period);
|
|
|
+ $('#stDate').val(date.getFullYear() + '-' + ('0' + (date.getMonth() + 1)).slice(-2) + '-' + ('0' + (date.getDate() + 1)).slice(-2));
|
|
|
+ }
|
|
|
+
|
|
|
/*]]>*/
|
|
|
</script>
|
|
|
|