NoMemberDeliveryInfoFormMob.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370
  1. <!DOCTYPE html>
  2. <html lang="ko" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decorator="mob/common/layout/NoMemberLayoutMob">
  3. <!--
  4. *******************************************************************************
  5. * @source : NoMemberDeliveryInfoFormMob.html
  6. * @desc : 비회원 > 배송조회 Page
  7. *============================================================================
  8. * STYLE24
  9. * Copyright(C) 2021 TSIT, All rights reserved.
  10. *============================================================================
  11. * VER DATE AUTHOR DESCRIPTION
  12. * === =========== ========== =============================================
  13. * 1.0 2021.05.16 card007 최초 작성
  14. *******************************************************************************
  15. -->
  16. <body>
  17. <th:block layout:fragment="content">
  18. <main role="" id="noMemberDeliveryInfoForm" class="container my">
  19. <section class="content my_goodsy">
  20. <div class="inner wide bg_beige">
  21. <div class="order_number">
  22. <dl class="clear">
  23. <dt>주문번호</dt>
  24. <dd th:text="${ordNo}"></dd>
  25. </dl>
  26. <a href="javascript:void(0);" class="delete" onclick="fnDeleteOrder()">주문 내역 삭제</a>
  27. </div>
  28. </div>
  29. <div class="inner">
  30. <th:block th:if="${orderList}" th:each="order, status : ${orderList}">
  31. <div class="part_goods">
  32. <div class="goods_top">
  33. <div class="goods_date">주문일<span class="date" th:text="${order.ordDt}"></span></div>
  34. </div>
  35. <th:block th:if="${order.ordDtlList}" th:each="ordDtl, status : ${order.ordDtlList}" th:with="imageUrl=${@environment.getProperty('upload.goods.view')}">
  36. <div class="goods_section">
  37. <div class="goods_status">
  38. <p class="dlvr_staus" th:if="${ordDtl.ordDtlStat == 'G013_10'}">주문접수</p>
  39. <p class="dlvr_staus" th:unless="${ordDtl.ordDtlStat == 'G013_10'}" th:text="${ordDtl.ordDtlStatNm}"></p>
  40. </div>
  41. <div class="goods_detail">
  42. <input type="hidden" name="ordDtlNoArr" th:value="${ordDtl.ordDtlNo}"/>
  43. <input type="hidden" name="cnclRtnReqQtyArr" th:value="${ordDtl.ordQty - ordDtl.cnclRtnQty}"/>
  44. <a href="javascript:void(0)" th:attr="goodsCd=${ordDtl.goodsCd}, optCd1=${ordDtl.goodsType == 'G056_N' ? ordDtl.optCd1 : ''}, ithrCd='IN20_03'" onclick="fnGoToGoodsDetail(this)">
  45. <div class="thumb_box">
  46. <img th:src="${imageUrl + '/' + ordDtl.sysImgNm + '?RS=90'}" width="100%" alt="">
  47. </div>
  48. <div class="info_box">
  49. <div class="od_name">
  50. <div class="brand">
  51. <span th:text="${ordDtl.brandNm}"></span>
  52. <div class="badge_wrap">
  53. <em class="order_badge order_bullet_badge" th:if="${ordDtl.shotDelvYn == 'Y'}">총알배송</em>
  54. <em class="order_badge" th:if="${ordDtl.shotDelvYn == 'N' and ordDtl.selfGoodsYn == 'Y'}">STYLE24 일반배송</em>
  55. <em class="order_badge" th:if="${ordDtl.selfGoodsYn == 'N'}">업체직배송</em>
  56. </div>
  57. </div>
  58. <div class="name" th:text="${ordDtl.goodsNm}"></div>
  59. </div>
  60. <div class="od_opt">
  61. <div class="option">
  62. <!-- 세트상품 -->
  63. <th:block th:if="${ordDtl.goodsType == 'G056_S'}">
  64. <th:block th:each="option, status : ${ordDtl.colorNmArr}">
  65. <em th:text="${option}"></em>
  66. <em th:text="${ordDtl.optCd2Arr[status.index]}"></em>
  67. </th:block>
  68. </th:block>
  69. <!-- //세트상품 -->
  70. <!-- 일반상품 -->
  71. <th:block th:unless="${ordDtl.goodsType == 'G056_S'}">
  72. <th:block th:each="option, status : ${ordDtl.colorNmArr}">
  73. <em th:text="${ordDtl.colorNm}"></em>
  74. <em th:text="${ordDtl.optCd2}"></em>
  75. </th:block>
  76. </th:block>
  77. <!-- //일반상품 -->
  78. </div>
  79. </div>
  80. <div class="od_calc">
  81. <p class="sale_price" th:if="${(ordDtl.ordAmt - ordDtl.cnclRtnAmt) > (ordDtl.realOrdAmt + ordDtl.pntDcAmt + ordDtl.gfcdUseAmt)}">
  82. <del>
  83. <em th:text="${#numbers.formatInteger(ordDtl.ordAmt - ordDtl.cnclRtnAmt, 1, 'COMMA')}"></em>원
  84. </del>
  85. </p>
  86. <p class="price">
  87. <span class="selling_price">
  88. <em th:text="${#numbers.formatInteger(ordDtl.realOrdAmt + ordDtl.pntDcAmt + ordDtl.gfcdUseAmt, 1, 'COMMA')}"></em>원
  89. </span>
  90. <span class="count">
  91. <em th:text="${ordDtl.ordQty - ordDtl.cnclRtnQty}"></em>개
  92. </span>
  93. </p>
  94. </div>
  95. </div>
  96. </a>
  97. </div>
  98. <!-- 주문상태별 버튼기능 정의 -->
  99. <!-- 입금대기 (1:1문의, 쇼핑백 담기) -->
  100. <th:block th:if="${ordDtl.ordDtlStat == 'G013_10'}">
  101. <div class="goods_btn_wrap btn_group_flex">
  102. <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>
  103. </div>
  104. </th:block>
  105. <!-- //입금대기 (1:1문의, 쇼핑백 담기) -->
  106. <!-- 결제완료, 상품준비중, 출고처지정 (주문취소) -->
  107. <th:block th:if="${ordDtl.ordDtlStat} == 'G013_20' or ${ordDtl.ordDtlStat} == 'G013_30' or ${ordDtl.ordDtlStat} == 'G013_35'">
  108. <div class="goods_btn_wrap btn_group_flex">
  109. <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>
  110. </div>
  111. </th:block>
  112. <!-- //결제완료, 상품준비중, 출고처지정 (주문취소) -->
  113. <!-- 배송준비중-->
  114. <th:block th:if="${ordDtl.ordDtlStat} == 'G013_40'">
  115. </th:block>
  116. <!-- //배송준비중-->
  117. <!-- 배송중 (교환가능, 반품가능) -->
  118. <th:block th:if="${ordDtl.ordDtlStat} == 'G013_50' or ${ordDtl.ordDtlStat} == 'G013_55'">
  119. <!-- 교환가능, 반품가능 -->
  120. <th:block th:if="${ordDtl.changeableYn} == 'Y' or ${ordDtl.returnableYn} == 'Y'">
  121. <div class="goods_btn_wrap btn_group_flex">
  122. <th:block th:if="${ordDtl.changeableYn} == 'Y'">
  123. <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>
  124. </th:block>
  125. <th:block th:if="${ordDtl.returnableYn} == 'Y'">
  126. <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>
  127. </th:block>
  128. </div>
  129. </th:block>
  130. <!-- //교환가능, 반품가능 -->
  131. </th:block>
  132. <!-- //배송중 (교환가능, 반품가능) -->
  133. <!-- 배송완료 (교환가능, 반품가능) -->
  134. <th:block th:if="${ordDtl.ordDtlStat} == 'G013_60'">
  135. <div class="goods_btn_wrap btn_group_flex">
  136. <!-- 교환가능, 반품가능 -->
  137. <th:block th:if="${ordDtl.changeableYn} == 'Y'">
  138. <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>
  139. </th:block>
  140. <th:block th:if="${ordDtl.returnableYn} == 'Y'">
  141. <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>
  142. </th:block>
  143. <!-- //교환가능, 반품가능 -->
  144. <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>
  145. </div>
  146. </th:block>
  147. <!-- //배송완료 (교환가능, 반품가능) -->
  148. <!-- 구매확정 -->
  149. <th:block th:if="${ordDtl.ordDtlStat} == 'G013_70'">
  150. <div class="goods_btn_wrap btn_group_flex">
  151. <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>
  152. </div>
  153. </th:block>
  154. <!-- //구매확정 -->
  155. <!-- //주문상태별 버튼기능 정의 -->
  156. <!-- 주문상태별 문구정보 정의 -->
  157. <div class="goods_alert">
  158. <!-- 배송중, 배송완료 상태 교환, 반품 가능 상태 체크 -->
  159. <th:block th:if="${ordDtl.ordDtlStat} == 'G013_50' or ${ordDtl.ordDtlStat} == 'G013_55' or ${ordDtl.ordDtlStat} == 'G013_60'">
  160. <!-- 교환불가능, 반품불가능 -->
  161. <th:block th:if="${ordDtl.changeableYn} == 'N' and ${ordDtl.returnableYn} == 'N'">
  162. <p class="cf_txt cf_desc">해당 상품은 교환/반품이 불가능한 상품입니다.</p>
  163. </th:block>
  164. <!-- //교환불가능, 반품불가능 -->
  165. <!-- 교환불가능 -->
  166. <th:block th:if="${ordDtl.changeableYn} == 'N' and ${ordDtl.returnableYn} == 'Y'">
  167. <p class="cf_txt cf_desc">해당 상품은 교환이 불가능한 상품입니다.</p>
  168. </th:block>
  169. <!-- //교환불가능 -->
  170. <!-- 반품불가능 -->
  171. <th:block th:if="${ordDtl.changeableYn} == 'Y' and ${ordDtl.returnableYn} == 'N'">
  172. <p class="cf_txt cf_desc">해당 상품은 교환이 불가능한 상품입니다.</p>
  173. </th:block>
  174. <!-- //반품불가능 -->
  175. </th:block>
  176. <!-- //배송중, 배송완료 상태 -->
  177. </div>
  178. <!-- 주문접수 -->
  179. <th:block th:if="${ordDtl.ordDtlStat} == 'G013_10'">
  180. <div class="goods_txt">
  181. <p class="cf_txt cf_desc">주문 완료 / 결제를 기다리고 있습니다.</p>
  182. <th:block th:if="${ordDtl.delvResDt} != null">
  183. <p class="cf_txt cf_desc" th:text="|예약판매 상품으로 ${ordDtl.delvResDt} 출고 예정입니다.|"></p>
  184. </th:block>
  185. </div>
  186. </th:block>
  187. <!-- //주문접수 -->
  188. <!-- 결제완료, 예약배송상품 -->
  189. <th:block th:if="${ordDtl.ordDtlStat} == 'G013_10'">
  190. <th:block th:if="${ordDtl.delvResDt} != null">
  191. <div class="goods_txt">
  192. <p class="cf_txt cf_desc" th:text="|예약판매 상품으로 ${ordDtl.delvResDt} 출고 예정입니다.|"></p>
  193. </div>
  194. </th:block>
  195. </th:block>
  196. <!-- //결제완료, 예약배송상품 -->
  197. <!-- 상품준비중 -->
  198. <th:block th:if="${ordDtl.ordDtlStat} == 'G013_30'">
  199. <div class="goods_txt">
  200. <p class="cf_txt cf_desc">배송할 상품을 준비 중입니다.</p>
  201. <th:block th:if="${ordDtl.delvResDt} != null">
  202. <p class="cf_txt cf_desc" th:text="|예약판매 상품으로 ${ordDtl.delvResDt} 출고 예정입니다.|"></p>
  203. </th:block>
  204. </div>
  205. </th:block>
  206. <!-- //상품준비중 -->
  207. <!-- 배송준비중 -->
  208. <th:block th:if="${ordDtl.ordDtlStat} == 'G013_40'">
  209. <div class="goods_txt">
  210. <p class="cf_txt cf_desc">상품 준비가 완료되어 곧 배송될 예정입니다.</p>
  211. <th:block th:if="${ordDtl.delvResDt} != null">
  212. <p class="cf_txt cf_desc" th:text="|예약판매 상품으로 ${ordDtl.delvResDt} 출고 예정입니다.|"></p>
  213. </th:block>
  214. </div>
  215. </th:block>
  216. <!-- //배송준비중 -->
  217. <!-- 배송완료 -->
  218. <th:block th:if="${ordDtl.ordDtlStat} == 'G013_60'">
  219. <div class="goods_txt">
  220. <p class="cf_txt cf_desc">15일 후 자동으로 구매확정됩니다.</p>
  221. </div>
  222. </th:block>
  223. <!-- //배송완료 -->
  224. <!-- 구매확정 -->
  225. <th:block th:if="${ordDtl.ordDtlStat} == 'G013_70'">
  226. </th:block>
  227. <!-- //구매확정 -->
  228. <!-- //주문상태별 문구정보 정의 -->
  229. <!-- 사은품 영역 -->
  230. <th:block th:if="${#lists.size(order.ordDtlList) == status.count}">
  231. <th:block th:if="${order.freeGiftList != null and #lists.size(order.freeGiftList) > 0}">
  232. <div class="goods_gift">
  233. <div class="gift_wrap">
  234. <div class="title">사은품</div>
  235. <div class="li_gift">
  236. <ul>
  237. <th:block th:each="freeGift , j : ${order.freeGiftList}">
  238. <li>
  239. <span class="gift_name" th:text="${freeGift.goodsNm}"></span>
  240. <th:block th:if="${freeGift.usePoint} > 0">
  241. <span class="deduct_p" th:text="|(-${#numbers.formatInteger(freeGift.usePoint, 1, 'COMMA')}P)|"></span>
  242. </th:block>
  243. </li>
  244. </th:block>
  245. </ul>
  246. </div>
  247. </div>
  248. </div>
  249. </th:block>
  250. </th:block>
  251. <!-- //사은품 영역 -->
  252. </div>
  253. </th:block>
  254. </div>
  255. <input type="hidden" name="accountNo" th:value="${order.oneData.accountNo}"/>
  256. <input type="hidden" name="accountNm" th:value="${order.oneData.accountNm}"/>
  257. <input type="hidden" name="bankCd" th:value="${order.oneData.bankCd}"/>
  258. <input type="hidden" name="delvMemo" th:value="${deliveryAddrInfo.delvMemo}"/>
  259. </th:block>
  260. </div>
  261. <div class="inner">
  262. <div class="tbl_wrap">
  263. <div class="tbl_tit">
  264. <h3>배송 정보</h3>
  265. </div>
  266. <div class="tbl type1">
  267. <table>
  268. <colgroup>
  269. <col width="107">
  270. <col width="*">
  271. </colgroup>
  272. <tbody><tr>
  273. <th>보내는 사람</th>
  274. <td>
  275. <div>
  276. <span th:text="${deliveryAddrInfo.recipNm}"></span> / <span th:text="${deliveryAddrInfo.recipPhnno}"></span>
  277. </div>
  278. </td>
  279. </tr>
  280. <tr>
  281. <th>제품정보</th>
  282. <td>
  283. <div>
  284. <span th:utext="|${oneData.brandNm}<br/>${oneData.goodsNm}|"></span>
  285. </div>
  286. </td>
  287. </tr>
  288. <tr>
  289. <th>송장번호</th>
  290. <td>
  291. <div>
  292. <span th:text="${oneData.invoiceNo}"></span>
  293. </div>
  294. </td>
  295. </tr>
  296. <tr>
  297. <th>배송주소</th>
  298. <td>
  299. <div>
  300. <span th:utext="|${deliveryAddrInfo.recipBaseAddr}<br/>${deliveryAddrInfo.recipDtlAddr}|"></span>
  301. </div>
  302. </td>
  303. </tr>
  304. </tbody></table>
  305. </div>
  306. </div>
  307. <div class="goods_tbl">
  308. <div class="tblWrap">
  309. <table class="table">
  310. <colgroup>
  311. <col style="width: 34%;">
  312. <col style="width: 33%;">
  313. <col style="width: 33%;">
  314. </colgroup>
  315. <thead>
  316. <tr>
  317. <th scope="col">시간</th>
  318. <th scope="col">장소</th>
  319. <th scope="col">유형</th>
  320. </tr>
  321. </thead>
  322. <tbody>
  323. <tr th:if="${sweetTrackerInfoList}" th:each="sweetTrackerInfo, status : ${sweetTrackerInfoList}">
  324. <td th:utext="|${#strings.substring(sweetTrackerInfo.timeTrans, 0, 10)}<br/>${#strings.substring(sweetTrackerInfo.timeTrans, 11, 19)}|"></td>
  325. <td th:text="${sweetTrackerInfo.delvWhere}"></td>
  326. <td th:text="${sweetTrackerInfo.details}"></td>
  327. </tr>
  328. </tbody>
  329. </table>
  330. </div>
  331. </div>
  332. </div>
  333. </section>
  334. </main>
  335. <script th:inline="javascript">
  336. let ordNo = [[${ordNo}]];
  337. var isLogin = [[${isLogin}]];
  338. $(document).ready(function() {
  339. // 타이틀명
  340. $('#htopTitle').text('배송조회');
  341. });
  342. </script>
  343. </th:block>
  344. </body>
  345. </html>