|
|
@@ -13,6 +13,7 @@
|
|
|
<a href="javascript:void(0);" class="detail_btn" th:ordno="${order.ordNo}" onclick="fnGoToOrderDetail(this)">상세보기</a>
|
|
|
</div>
|
|
|
|
|
|
+ <!-- 주문목록 -->
|
|
|
<th:block th:each="ordDtl , j : ${order.ordDtlList}" th:with="imageUrl=${@environment.getProperty('upload.goods.view')}">
|
|
|
<!-- 주문 접수 -->
|
|
|
<div class="goods_section">
|
|
|
@@ -161,9 +162,11 @@
|
|
|
<div class="goods_btn_wrap btn_group_flex">
|
|
|
<!-- 교환가능, 반품가능 -->
|
|
|
<th:block th:if="${ordDtl.changeableYn} == 'Y'">
|
|
|
- <button type="button" class="btn btn_default btn_exch_req" th:ordNo="${ordDtl.ordNo}" th:ordDtlNo="${ordDtl.ordDtlNo}" th:ordCanChgQty="${ordDtl.ordCanChgQty}" th:delvFeeCd="${ordDtl.delvFeeCd}" onclick="fnCreateChange(this, 'exchange');">
|
|
|
- <span>교환 신청</span>
|
|
|
- </button>
|
|
|
+ <div>
|
|
|
+ <button type="button" class="btn btn_default btn_exch_req" th:ordNo="${ordDtl.ordNo}" th:ordDtlNo="${ordDtl.ordDtlNo}" th:ordCanChgQty="${ordDtl.ordCanChgQty}" th:delvFeeCd="${ordDtl.delvFeeCd}" onclick="fnCreateChange(this, 'exchange');">
|
|
|
+ <span>교환 신청</span>
|
|
|
+ </button>
|
|
|
+ </div>
|
|
|
</th:block>
|
|
|
<th:block th:if="${ordDtl.returnableYn} == 'Y'">
|
|
|
<div>
|
|
|
@@ -174,7 +177,7 @@
|
|
|
</th:block>
|
|
|
<!-- //교환가능, 반품가능 -->
|
|
|
<div>
|
|
|
- <button type="button" id="btn_purchase_confirm btn_ord_confirm" class="btn btn_primary" th:ordNo="${ordDtl.ordNo}" th:ordDtlNo="${ordDtl.ordDtlNo}" onclick="fnDecideOrder(this);">
|
|
|
+ <button type="button" id="btn_purchase_confirm" class="btn btn_primary" th:ordNo="${ordDtl.ordNo}" th:ordDtlNo="${ordDtl.ordDtlNo}" onclick="fnDecideOrder(this);">
|
|
|
<span>구매 확정</span>
|
|
|
</button>
|
|
|
</div>
|
|
|
@@ -183,7 +186,7 @@
|
|
|
<!-- 교환불가, 반품불가 -->
|
|
|
<th:block th:if="${ordDtl.changeableYn} == 'N' or ${ordDtl.returnableYn} == 'N'">
|
|
|
<div>
|
|
|
- <button type="button" class="btn btn_default btn_qna_write" onclick="cfnGoToPage(_PAGE_ONETOONE_QNA);"">
|
|
|
+ <button type="button" class="btn btn_default btn_qna_write" onclick="cfnGoToPage(_PAGE_ONETOONE_QNA);">
|
|
|
<span>1:1 문의</span>
|
|
|
</button>
|
|
|
</div>
|
|
|
@@ -191,9 +194,9 @@
|
|
|
<!-- //교환불가, 반품불가 -->
|
|
|
|
|
|
<!-- 리뷰사용가능, 리뷰등록전일때 -->
|
|
|
- <th:block th:if="${ordDtl.reviewableYn} == 'Y' and ${ordDtl.reviewSq} == null">
|
|
|
+ <th:block th:if="${ordDtl.reviewableYn} == 'Y' and ${ordDtl.reviewSq} == ''">
|
|
|
<div>
|
|
|
- <button type="button" class="btn btn_primary btn_review_write" th:ordNo="${ordDtl.ordNo}" th:ordDtlNo="${ordDtl.ordDtlNo}" th:goodsCd="${ordDtl.GoodsCd}" onclick="fnCreateReview(this);">
|
|
|
+ <button type="button" class="btn btn_primary btn_review_write" th:ordNo="${ordDtl.ordNo}" th:ordDtlNo="${ordDtl.ordDtlNo}" th:goodsCd="${ordDtl.goodsCd}" onclick="fnCreateReview(this);">
|
|
|
<span>리뷰 쓰기</span>
|
|
|
</button>
|
|
|
</div>
|
|
|
@@ -207,15 +210,10 @@
|
|
|
<th:block th:if="${ordDtl.ordDtlStat} == 'G013_70'">
|
|
|
<div class="goods_btn_wrap btn_group_flex">
|
|
|
<div>
|
|
|
- <button type="button" class="btn btn_primary btn_cart_save" th:ordNo="${ordDtl.ordNo}" th:ordDtlNo="${ordDtl.ordDtlNo}" onclick="fnCreateCart(this);"">
|
|
|
+ <button type="button" class="btn btn_primary btn_cart_save" th:ordNo="${ordDtl.ordNo}" th:ordDtlNo="${ordDtl.ordDtlNo}" onclick="fnCreateCart(this);">
|
|
|
<span>쇼핑백 담기</span>
|
|
|
</button>
|
|
|
</div>
|
|
|
- <div>
|
|
|
- <button type="button" class="btn btn_default btn_qna_write" onclick="cfnGoToPage(_PAGE_ONETOONE_QNA);"">
|
|
|
- <span>1:1 문의</span>
|
|
|
- </button>
|
|
|
- </div>
|
|
|
|
|
|
<!-- 리뷰사용가능, 리뷰등록전일때 -->
|
|
|
<th:block th:if="${ordDtl.reviewableYn} == 'Y' and ${ordDtl.reviewSq} == null">
|
|
|
@@ -384,29 +382,32 @@
|
|
|
<!-- //상태문구정리 -->
|
|
|
|
|
|
<!-- 사은품 영역 -->
|
|
|
- <th:block th:if="${order.freeGiftList != null and #lists.size(order.freeGiftList) > 0}">
|
|
|
- <div class="goods_gift">
|
|
|
- <div class="gift_wrap">
|
|
|
- <div class="title">사은품</div>
|
|
|
- <div class="li_gift">
|
|
|
- <ul>
|
|
|
- <th:block th:each="freeGift , j : ${order.freeGiftList}">
|
|
|
- <li>
|
|
|
- <span class="gift_name" th:text="${freeGift.goodsNm}"></span>
|
|
|
- <th:block th:if="${freeGift.usePoint} > 0">
|
|
|
- <span class="deduct_p" th:text="|(-${#numbers.formatInteger(freeGift.usePoint, 1, 'COMMA')}P)|"></span>
|
|
|
- </th:block>
|
|
|
- </li>
|
|
|
- </th:block>
|
|
|
- </ul>
|
|
|
+ <th:block th:if="${#lists.size(order.ordDtlList) == j.count}">
|
|
|
+ <th:block th:if="${order.freeGiftList != null and #lists.size(order.freeGiftList) > 0}">
|
|
|
+ <div class="goods_gift">
|
|
|
+ <div class="gift_wrap">
|
|
|
+ <div class="title">사은품</div>
|
|
|
+ <div class="li_gift">
|
|
|
+ <ul>
|
|
|
+ <th:block th:each="freeGift , j : ${order.freeGiftList}">
|
|
|
+ <li>
|
|
|
+ <span class="gift_name" th:text="${freeGift.goodsNm}"></span>
|
|
|
+ <th:block th:if="${freeGift.usePoint} > 0">
|
|
|
+ <span class="deduct_p" th:text="|(-${#numbers.formatInteger(freeGift.usePoint, 1, 'COMMA')}P)|"></span>
|
|
|
+ </th:block>
|
|
|
+ </li>
|
|
|
+ </th:block>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </th:block>
|
|
|
</th:block>
|
|
|
<!-- //사은품 영역 -->
|
|
|
</div>
|
|
|
<!-- //주문 접수 -->
|
|
|
</th:block>
|
|
|
+ <!-- //주문목록 -->
|
|
|
</th:block>
|
|
|
</th:block>
|
|
|
<!-- //주문목록이 있을때 -->
|