| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370 |
- <!DOCTYPE html>
- <html lang="ko" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decorator="mob/common/layout/NoMemberLayoutMob">
- <!--
- *******************************************************************************
- * @source : NoMemberDeliveryInfoFormMob.html
- * @desc : 비회원 > 배송조회 Page
- *============================================================================
- * STYLE24
- * Copyright(C) 2021 TSIT, All rights reserved.
- *============================================================================
- * VER DATE AUTHOR DESCRIPTION
- * === =========== ========== =============================================
- * 1.0 2021.05.16 card007 최초 작성
- *******************************************************************************
- -->
- <body>
- <th:block layout:fragment="content">
- <main role="" id="noMemberDeliveryInfoForm" class="container my">
- <section class="content my_goodsy">
- <div class="inner wide bg_beige">
- <div class="order_number">
- <dl class="clear">
- <dt>주문번호</dt>
- <dd th:text="${ordNo}"></dd>
- </dl>
- <a href="javascript:void(0);" class="delete" onclick="fnDeleteOrder()">주문 내역 삭제</a>
- </div>
- </div>
- <div class="inner">
- <th:block th:if="${orderList}" th:each="order, status : ${orderList}">
- <div class="part_goods">
- <div class="goods_top">
- <div class="goods_date">주문일<span class="date" th:text="${order.ordDt}"></span></div>
- </div>
-
- <th:block th:if="${order.ordDtlList}" th:each="ordDtl, status : ${order.ordDtlList}" th:with="imageUrl=${@environment.getProperty('upload.goods.view')}">
- <div class="goods_section">
- <div class="goods_status">
- <p class="dlvr_staus" th:if="${ordDtl.ordDtlStat == 'G013_10'}">주문접수</p>
- <p class="dlvr_staus" th:unless="${ordDtl.ordDtlStat == 'G013_10'}" th:text="${ordDtl.ordDtlStatNm}"></p>
- </div>
- <div class="goods_detail">
- <input type="hidden" name="ordDtlNoArr" th:value="${ordDtl.ordDtlNo}"/>
- <input type="hidden" name="cnclRtnReqQtyArr" th:value="${ordDtl.ordQty - ordDtl.cnclRtnQty}"/>
-
- <a href="javascript:void(0)" th:attr="goodsCd=${ordDtl.goodsCd}, optCd1=${ordDtl.goodsType == 'G056_N' ? ordDtl.optCd1 : ''}, ithrCd='IN20_03'" onclick="fnGoToGoodsDetail(this)">
- <div class="thumb_box">
- <img th:src="${imageUrl + '/' + ordDtl.sysImgNm + '?RS=90'}" width="100%" alt="">
- </div>
- <div class="info_box">
- <div class="od_name">
- <div class="brand">
- <span th:text="${ordDtl.brandNm}"></span>
- <div class="badge_wrap">
- <em class="order_badge order_bullet_badge" th:if="${ordDtl.shotDelvYn == 'Y'}">총알배송</em>
- <em class="order_badge" th:if="${ordDtl.shotDelvYn == 'N' and ordDtl.selfGoodsYn == 'Y'}">STYLE24 일반배송</em>
- <em class="order_badge" th:if="${ordDtl.selfGoodsYn == 'N'}">업체직배송</em>
- </div>
- </div>
- <div class="name" th:text="${ordDtl.goodsNm}"></div>
- </div>
- <div class="od_opt">
- <div class="option">
- <!-- 세트상품 -->
- <th:block th:if="${ordDtl.goodsType == 'G056_S'}">
- <th:block th:each="option, status : ${ordDtl.colorNmArr}">
- <em th:text="${option}"></em>
- <em th:text="${ordDtl.optCd2Arr[status.index]}"></em>
- </th:block>
- </th:block>
- <!-- //세트상품 -->
- <!-- 일반상품 -->
- <th:block th:unless="${ordDtl.goodsType == 'G056_S'}">
- <th:block th:each="option, status : ${ordDtl.colorNmArr}">
- <em th:text="${ordDtl.colorNm}"></em>
- <em th:text="${ordDtl.optCd2}"></em>
- </th:block>
- </th:block>
- <!-- //일반상품 -->
- </div>
- </div>
- <div class="od_calc">
- <p class="sale_price" th:if="${(ordDtl.ordAmt - ordDtl.cnclRtnAmt) > (ordDtl.realOrdAmt + ordDtl.pntDcAmt + ordDtl.gfcdUseAmt)}">
- <del>
- <em th:text="${#numbers.formatInteger(ordDtl.ordAmt - ordDtl.cnclRtnAmt, 1, 'COMMA')}"></em>원
- </del>
- </p>
- <p class="price">
- <span class="selling_price">
- <em th:text="${#numbers.formatInteger(ordDtl.realOrdAmt + ordDtl.pntDcAmt + ordDtl.gfcdUseAmt, 1, 'COMMA')}"></em>원
- </span>
- <span class="count">
- <em th:text="${ordDtl.ordQty - ordDtl.cnclRtnQty}"></em>개
- </span>
- </p>
- </div>
- </div>
- </a>
- </div>
-
- <!-- 주문상태별 버튼기능 정의 -->
- <!-- 입금대기 (1:1문의, 쇼핑백 담기) -->
- <th:block th:if="${ordDtl.ordDtlStat == 'G013_10'}">
- <div class="goods_btn_wrap btn_group_flex">
- <div><button type="button" class="btn btn_default btn_cart_save" th:ordNo="${ordDtl.ordNo}" th:ordDtlNo="${ordDtl.ordDtlNo}" onclick="fnCreateCart(this);"><span>쇼핑백 담기</span></button></div>
- </div>
- </th:block>
- <!-- //입금대기 (1:1문의, 쇼핑백 담기) -->
- <!-- 결제완료, 상품준비중, 출고처지정 (주문취소) -->
- <th:block th:if="${ordDtl.ordDtlStat} == 'G013_20' or ${ordDtl.ordDtlStat} == 'G013_30' or ${ordDtl.ordDtlStat} == 'G013_35'">
- <div class="goods_btn_wrap btn_group_flex">
- <div><button type="button" class="btn btn_default btn_cncl_complete" th:attr="ordNo=${ordDtl.ordNo}, ordDtlNo=${ordDtl.ordDtlNo}, delvFeeCd=${ordDtl.delvFeeCd}, ordCanChgQty=${ordDtl.ordCanChgQty}" onclick="fnCreateChange(this, 'cancel', 'noMember');"><span>주문 취소</span></button></div>
- </div>
- </th:block>
- <!-- //결제완료, 상품준비중, 출고처지정 (주문취소) -->
- <!-- 배송준비중-->
- <th:block th:if="${ordDtl.ordDtlStat} == 'G013_40'">
- </th:block>
- <!-- //배송준비중-->
- <!-- 배송중 (교환가능, 반품가능) -->
- <th:block th:if="${ordDtl.ordDtlStat} == 'G013_50' or ${ordDtl.ordDtlStat} == 'G013_55'">
- <!-- 교환가능, 반품가능 -->
- <th:block th:if="${ordDtl.changeableYn} == 'Y' or ${ordDtl.returnableYn} == 'Y'">
- <div class="goods_btn_wrap btn_group_flex">
- <th:block th:if="${ordDtl.changeableYn} == 'Y'">
- <div><button type="button" class="btn btn_default btn_exch_req" th:attr="ordNo=${ordDtl.ordNo}, ordDtlNo=${ordDtl.ordDtlNo}, delvFeeCd=${ordDtl.delvFeeCd}, ordCanChgQty=${ordDtl.ordCanChgQty}" onclick="fnCreateChange(this, 'exchange');"><span>교환 신청</span></button></div>
- </th:block>
- <th:block th:if="${ordDtl.returnableYn} == 'Y'">
- <div><button type="button" class="btn btn_default btn_rtn_req" th:attr="ordNo=${ordDtl.ordNo}, ordDtlNo=${ordDtl.ordDtlNo}, delvFeeCd=${ordDtl.delvFeeCd}, ordCanChgQty=${ordDtl.ordCanChgQty}" onclick="fnCreateChange(this, 'return');"><span>반품 신청</span></button></div>
- </th:block>
- </div>
- </th:block>
- <!-- //교환가능, 반품가능 -->
- </th:block>
- <!-- //배송중 (교환가능, 반품가능) -->
- <!-- 배송완료 (교환가능, 반품가능) -->
- <th:block th:if="${ordDtl.ordDtlStat} == 'G013_60'">
- <div class="goods_btn_wrap btn_group_flex">
- <!-- 교환가능, 반품가능 -->
- <th:block th:if="${ordDtl.changeableYn} == 'Y'">
- <div><button type="button" class="btn btn_default btn_exch_req" th:attr="ordNo=${ordDtl.ordNo}, ordDtlNo=${ordDtl.ordDtlNo}, delvFeeCd=${ordDtl.delvFeeCd}, ordCanChgQty=${ordDtl.ordCanChgQty}" onclick="fnCreateChange(this, 'exchange');"><span>교환 신청</span></button></div>
- </th:block>
- <th:block th:if="${ordDtl.returnableYn} == 'Y'">
- <div><button type="button" class="btn btn_default btn_rtn_req" th:attr="ordNo=${ordDtl.ordNo}, ordDtlNo=${ordDtl.ordDtlNo}, delvFeeCd=${ordDtl.delvFeeCd}, ordCanChgQty=${ordDtl.ordCanChgQty}" onclick="fnCreateChange(this, 'return');"><span>반품 신청</span></button></div>
- </th:block>
- <!-- //교환가능, 반품가능 -->
- <div><button type="button" id="btn_purchase_confirm btn_ord_confirm" class="btn btn_primary" th:attr="ordNo=${ordDtl.ordNo}, ordDtlNo=${ordDtl.ordDtlNo}" onclick="fnDecideOrder(this);"><span>구매 확정</span></button></div>
- </div>
- </th:block>
- <!-- //배송완료 (교환가능, 반품가능) -->
- <!-- 구매확정 -->
- <th:block th:if="${ordDtl.ordDtlStat} == 'G013_70'">
- <div class="goods_btn_wrap btn_group_flex">
- <div><button type="button" class="btn btn_default btn_cart_save" th:attr="ordNo=${ordDtl.ordNo}, ordDtlNo=${ordDtl.ordDtlNo}" onclick="fnCreateCart(this);"><span>쇼핑백 담기</span></button></div>
- </div>
- </th:block>
- <!-- //구매확정 -->
- <!-- //주문상태별 버튼기능 정의 -->
-
- <!-- 주문상태별 문구정보 정의 -->
- <div class="goods_alert">
- <!-- 배송중, 배송완료 상태 교환, 반품 가능 상태 체크 -->
- <th:block th:if="${ordDtl.ordDtlStat} == 'G013_50' or ${ordDtl.ordDtlStat} == 'G013_55' or ${ordDtl.ordDtlStat} == 'G013_60'">
- <!-- 교환불가능, 반품불가능 -->
- <th:block th:if="${ordDtl.changeableYn} == 'N' and ${ordDtl.returnableYn} == 'N'">
- <p class="cf_txt cf_desc">해당 상품은 교환/반품이 불가능한 상품입니다.</p>
- </th:block>
- <!-- //교환불가능, 반품불가능 -->
- <!-- 교환불가능 -->
- <th:block th:if="${ordDtl.changeableYn} == 'N' and ${ordDtl.returnableYn} == 'Y'">
- <p class="cf_txt cf_desc">해당 상품은 교환이 불가능한 상품입니다.</p>
- </th:block>
- <!-- //교환불가능 -->
- <!-- 반품불가능 -->
- <th:block th:if="${ordDtl.changeableYn} == 'Y' and ${ordDtl.returnableYn} == 'N'">
- <p class="cf_txt cf_desc">해당 상품은 교환이 불가능한 상품입니다.</p>
- </th:block>
- <!-- //반품불가능 -->
- </th:block>
- <!-- //배송중, 배송완료 상태 -->
- </div>
- <!-- 주문접수 -->
- <th:block th:if="${ordDtl.ordDtlStat} == 'G013_10'">
- <div class="goods_txt">
- <p class="cf_txt cf_desc">주문 완료 / 결제를 기다리고 있습니다.</p>
- <th:block th:if="${ordDtl.delvResDt} != null">
- <p class="cf_txt cf_desc" th:text="|예약판매 상품으로 ${ordDtl.delvResDt} 출고 예정입니다.|"></p>
- </th:block>
- </div>
- </th:block>
- <!-- //주문접수 -->
- <!-- 결제완료, 예약배송상품 -->
- <th:block th:if="${ordDtl.ordDtlStat} == 'G013_10'">
- <th:block th:if="${ordDtl.delvResDt} != null">
- <div class="goods_txt">
- <p class="cf_txt cf_desc" th:text="|예약판매 상품으로 ${ordDtl.delvResDt} 출고 예정입니다.|"></p>
- </div>
- </th:block>
- </th:block>
- <!-- //결제완료, 예약배송상품 -->
- <!-- 상품준비중 -->
- <th:block th:if="${ordDtl.ordDtlStat} == 'G013_30'">
- <div class="goods_txt">
- <p class="cf_txt cf_desc">배송할 상품을 준비 중입니다.</p>
- <th:block th:if="${ordDtl.delvResDt} != null">
- <p class="cf_txt cf_desc" th:text="|예약판매 상품으로 ${ordDtl.delvResDt} 출고 예정입니다.|"></p>
- </th:block>
- </div>
- </th:block>
- <!-- //상품준비중 -->
- <!-- 배송준비중 -->
- <th:block th:if="${ordDtl.ordDtlStat} == 'G013_40'">
- <div class="goods_txt">
- <p class="cf_txt cf_desc">상품 준비가 완료되어 곧 배송될 예정입니다.</p>
- <th:block th:if="${ordDtl.delvResDt} != null">
- <p class="cf_txt cf_desc" th:text="|예약판매 상품으로 ${ordDtl.delvResDt} 출고 예정입니다.|"></p>
- </th:block>
- </div>
- </th:block>
- <!-- //배송준비중 -->
- <!-- 배송완료 -->
- <th:block th:if="${ordDtl.ordDtlStat} == 'G013_60'">
- <div class="goods_txt">
- <p class="cf_txt cf_desc">15일 후 자동으로 구매확정됩니다.</p>
- </div>
- </th:block>
- <!-- //배송완료 -->
- <!-- 구매확정 -->
- <th:block th:if="${ordDtl.ordDtlStat} == 'G013_70'">
- </th:block>
- <!-- //구매확정 -->
- <!-- //주문상태별 문구정보 정의 -->
-
- <!-- 사은품 영역 -->
- <th:block th:if="${#lists.size(order.ordDtlList) == status.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>
- </th:block>
- </th:block>
- <!-- //사은품 영역 -->
- </div>
- </th:block>
- </div>
- <input type="hidden" name="accountNo" th:value="${order.oneData.accountNo}"/>
- <input type="hidden" name="accountNm" th:value="${order.oneData.accountNm}"/>
- <input type="hidden" name="bankCd" th:value="${order.oneData.bankCd}"/>
- <input type="hidden" name="delvMemo" th:value="${deliveryAddrInfo.delvMemo}"/>
- </th:block>
- </div>
-
- <div class="inner">
- <div class="tbl_wrap">
- <div class="tbl_tit">
- <h3>배송 정보</h3>
- </div>
- <div class="tbl type1">
- <table>
- <colgroup>
- <col width="107">
- <col width="*">
- </colgroup>
- <tbody><tr>
- <th>보내는 사람</th>
- <td>
- <div>
- <span th:text="${deliveryAddrInfo.recipNm}"></span> / <span th:text="${deliveryAddrInfo.recipPhnno}"></span>
- </div>
- </td>
- </tr>
- <tr>
- <th>제품정보</th>
- <td>
- <div>
- <span th:utext="|${oneData.brandNm}<br/>${oneData.goodsNm}|"></span>
- </div>
- </td>
- </tr>
- <tr>
- <th>송장번호</th>
- <td>
- <div>
- <span th:text="${oneData.invoiceNo}"></span>
- </div>
- </td>
- </tr>
- <tr>
- <th>배송주소</th>
- <td>
- <div>
- <span th:utext="|${deliveryAddrInfo.recipBaseAddr}<br/>${deliveryAddrInfo.recipDtlAddr}|"></span>
- </div>
- </td>
- </tr>
- </tbody></table>
- </div>
- </div>
- <div class="goods_tbl">
- <div class="tblWrap">
- <table class="table">
- <colgroup>
- <col style="width: 34%;">
- <col style="width: 33%;">
- <col style="width: 33%;">
- </colgroup>
- <thead>
- <tr>
- <th scope="col">시간</th>
- <th scope="col">장소</th>
- <th scope="col">유형</th>
- </tr>
- </thead>
- <tbody>
- <tr th:if="${sweetTrackerInfoList}" th:each="sweetTrackerInfo, status : ${sweetTrackerInfoList}">
- <td th:utext="|${#strings.substring(sweetTrackerInfo.timeTrans, 0, 10)}<br/>${#strings.substring(sweetTrackerInfo.timeTrans, 11, 19)}|"></td>
- <td th:text="${sweetTrackerInfo.delvWhere}"></td>
- <td th:text="${sweetTrackerInfo.details}"></td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </section>
- </main>
- <script th:inline="javascript">
- let ordNo = [[${ordNo}]];
- var isLogin = [[${isLogin}]];
- $(document).ready(function() {
- // 타이틀명
- $('#htopTitle').text('배송조회');
- });
- </script>
- </th:block>
- </body>
- </html>
|