NoMemberOrderListInfoMob.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  1. <div class="inner">
  2. <div class="part_goods">
  3. <!-- 주문목록이 있을때 -->
  4. <th:block th:if="${#lists.size(orderList) > 0}">
  5. <th:block th:each="order , i : ${orderList}">
  6. <div class="goods_top">
  7. <div class="goods_date">주문일<span class="date" th:text="${order.ordDt}"></span></div>
  8. <a href="javascript:void(0);" class="detail_btn" th:ordno="${order.ordNo}" onclick="fnGoToOrderDetail(this, 'noMember')">주문상세보기</a>
  9. </div>
  10. <!-- 주문목록 -->
  11. <th:block th:each="ordDtl , j : ${order.ordDtlList}" th:with="imageUrl=${@environment.getProperty('upload.goods.view')}">
  12. <!-- 주문 접수 -->
  13. <div class="goods_section">
  14. <div class="goods_status">
  15. <!-- 일반배송일때 -->
  16. <th:block th:if="${ordDtl.giftPackYn} == 'N'">
  17. <p class="dlvr_staus" th:if="${ordDtl.ordDtlStat == 'G013_10'}">주문접수</p>
  18. <p class="dlvr_staus" th:unless="${ordDtl.ordDtlStat == 'G013_10'}" th:text="${ordDtl.ordDtlStatNm}"></p>
  19. </th:block>
  20. <!-- //일반배송일때 -->
  21. </div>
  22. <div class="goods_detail">
  23. <a href="javascript:void(0)" th:attr="goodsCd=${ordDtl.goodsCd}, optCd1=${ordDtl.goodsType == 'G056_N' ? ordDtl.optCd1 : ''}, ithrCd='IN20_01'" onclick="fnGoToGoodsDetail(this)">
  24. <div class="thumb_box">
  25. <img th:src="${imageUrl + '/' + ordDtl.sysImgNm + '?RS=90'}" width="100%" alt="">
  26. </div>
  27. <div class="info_box">
  28. <div class="od_name">
  29. <div class="brand">
  30. <span th:text="${ordDtl.brandNm}"></span>
  31. <div class="badge_wrap">
  32. <th:block th:if="${ordDtl.shotDelvYn} == 'Y'">
  33. <em class="order_badge order_bullet_badge">총알배송</em>
  34. </th:block>
  35. <th:block th:if="${ordDtl.shotDelvYn == 'N' and ordDtl.selfGoodsYn == 'Y'}">
  36. <em class="order_badge">STYLE24 일반배송</em>
  37. </th:block>
  38. <th:block th:if="${ordDtl.shotDelvYn} != 'Y' and ${ordDtl.selfGoodsYn} != 'Y'">
  39. <em class="order_badge">업체직배송</em>
  40. </th:block>
  41. </div>
  42. </div>
  43. <div class="name" th:text="${ordDtl.goodsNm}"></div>
  44. </div>
  45. <div class="od_opt">
  46. <div class="option" th:each="colorNm, index : ${ordDtl.colorNmArr}">
  47. <em th:text="${colorNm}"></em>
  48. <em th:text="${ordDtl.optCd2Arr[index.index]}"></em>
  49. </div>
  50. </div>
  51. <div class="od_calc">
  52. <!-- 판매금액과 할인금액이 같으면 표시 안함 -->
  53. <th:block th:if="(${ordDtl.ordAmt} - ${ordDtl.cnclRtnAmt}) > ${ordDtl.realOrdAmt} + ${ordDtl.pntDcAmt} + ${ordDtl.gfcdUseAmt}">
  54. <p class="sale_price">
  55. <del>
  56. <em th:text="${#numbers.formatInteger(ordDtl.ordAmt - ordDtl.cnclRtnAmt, 1, 'COMMA')}"></em>원
  57. </del>
  58. </p>
  59. </th:block>
  60. <p class="price">
  61. <span class="selling_price">
  62. <em th:text="${#numbers.formatInteger(ordDtl.realOrdAmt + ordDtl.pntDcAmt + ordDtl.gfcdUseAmt, 1, 'COMMA')}"></em>원
  63. </span>
  64. <span class="count">
  65. <em th:text="${ordDtl.ordQty} - ${ordDtl.cnclRtnQty}"></em>개
  66. </span>
  67. </p>
  68. </div>
  69. </div>
  70. </a>
  71. </div>
  72. <!-- 버튼기능정리 -->
  73. <!-- 일반배송 -->
  74. <th:block th:unless="${ordDtl.giftPackYn} == 'Y'">
  75. <!-- 입금대기 (1:1문의, 쇼핑백 담기) -->
  76. <th:block th:if="${ordDtl.ordDtlStat == 'G013_10'}">
  77. <div class="goods_btn_wrap btn_group_flex">
  78. <div>
  79. <button type="button" class="btn btn_default btn_cart_save" th:ordNo="${ordDtl.ordNo}" th:ordDtlNo="${ordDtl.ordDtlNo}" onclick="fnCreateCart(this);">
  80. <span>쇼핑백 담기</span>
  81. </button>
  82. </div>
  83. </div>
  84. </th:block>
  85. <!-- //입금대기 (1:1문의, 쇼핑백 담기) -->
  86. <!-- 결제완료, 상품준비중, 출고처지정 (주문취소) -->
  87. <th:block th:if="${ordDtl.ordDtlStat} == 'G013_20' or ${ordDtl.ordDtlStat} == 'G013_30' or ${ordDtl.ordDtlStat} == 'G013_35'">
  88. <div class="goods_btn_wrap btn_group_flex">
  89. <div>
  90. <button type="button" class="btn btn_default btn_cncl_complete" th:ordNo="${ordDtl.ordNo}" th:ordDtlNo="${ordDtl.ordDtlNo}" th:ordCanChgQty="${ordDtl.ordCanChgQty}" th:delvFeeCd="${ordDtl.delvFeeCd}" onclick="fnCreateChange(this, 'cancel', 'noMember');">
  91. <span>주문 취소</span>
  92. </button>
  93. </div>
  94. </div>
  95. </th:block>
  96. <!-- //결제완료, 상품준비중, 출고처지정 (주문취소) -->
  97. <!-- 배송준비중-->
  98. <th:block th:if="${ordDtl.ordDtlStat} == 'G013_40'">
  99. <div class="goods_btn_wrap btn_group_flex">
  100. <div>
  101. <button type="button" class="btn btn_default btn_cart_save" th:ordNo="${ordDtl.ordNo}" th:ordDtlNo="${ordDtl.ordDtlNo}" onclick="fnCreateCart(this);">
  102. <span>쇼핑백 담기</span>
  103. </button>
  104. </div>
  105. </div>
  106. </th:block>
  107. <!-- //배송준비중-->
  108. <!-- 배송중 (교환가능, 반품가능) -->
  109. <th:block th:if="${ordDtl.ordDtlStat} == 'G013_50' or ${ordDtl.ordDtlStat} == 'G013_55'">
  110. <!-- 교환가능, 반품가능 -->
  111. <th:block th:if="${ordDtl.changeableYn} == 'Y' or ${ordDtl.returnableYn} == 'Y'">
  112. <div class="goods_btn_wrap btn_group_flex">
  113. <th:block th:if="${ordDtl.changeableYn} == 'Y'">
  114. <div>
  115. <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', 'noMember');">
  116. <span>교환 신청</span>
  117. </button>
  118. </div>
  119. </th:block>
  120. <th:block th:if="${ordDtl.returnableYn} == 'Y'">
  121. <div>
  122. <button type="button" class="btn btn_default btn_rtn_req" th:ordNo="${ordDtl.ordNo}" th:ordDtlNo="${ordDtl.ordDtlNo}" th:ordCanChgQty="${ordDtl.ordCanChgQty}" th:delvFeeCd="${ordDtl.delvFeeCd}" onclick="fnCreateChange(this, 'return', 'noMember');">
  123. <span>반품 신청</span>
  124. </button>
  125. </div>
  126. </th:block>
  127. <div><button type="button" class="btn btn_default btn_delv_sch" th:attr="ordNo=${ordDtl.ordNo}, ordDtlNo=${ordDtl.ordDtlNo}, shipCompCd=${ordDtl.shipCompCd}, invoiceNo=${ordDtl.invoiceNo}" onclick="fnGoToDelivery(this, 'noMember');"><span>배송 조회</span></button></div>
  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" th:if="${ordDtl.changeableYn == 'Y' or ordDtl.returnableYn == 'Y'}">
  136. <!-- 교환가능, 반품가능 -->
  137. <th:block th:if="${ordDtl.changeableYn} == 'Y'">
  138. <div>
  139. <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', 'noMember');">
  140. <span>교환 신청</span>
  141. </button>
  142. </div>
  143. </th:block>
  144. <th:block th:if="${ordDtl.returnableYn} == 'Y'">
  145. <div>
  146. <button type="button" class="btn btn_default btn_rtn_req" th:ordNo="${ordDtl.ordNo}" th:ordDtlNo="${ordDtl.ordDtlNo}" th:ordCanChgQty="${ordDtl.ordCanChgQty}" th:delvFeeCd="${ordDtl.delvFeeCd}" onclick="fnCreateChange(this, 'return', 'noMember');">
  147. <span>반품 신청</span>
  148. </button>
  149. </div>
  150. </th:block>
  151. <!-- //교환가능, 반품가능 -->
  152. </div>
  153. </th:block>
  154. <!-- //배송완료 (교환가능, 반품가능) -->
  155. <!-- 구매확정 -->
  156. <th:block th:if="${ordDtl.ordDtlStat} == 'G013_70'">
  157. <div class="goods_btn_wrap btn_group_flex">
  158. <div>
  159. <button type="button" class="btn btn_default btn_cart_save" th:ordNo="${ordDtl.ordNo}" th:ordDtlNo="${ordDtl.ordDtlNo}" onclick="fnCreateCart(this);">
  160. <span>쇼핑백 담기</span>
  161. </button>
  162. </div>
  163. </div>
  164. </th:block>
  165. <!-- //구매확정 -->
  166. </th:block>
  167. <!-- //버튼기능정리 -->
  168. <!-- 상태문구정리 -->
  169. <!-- 배송중, 배송완료 상태 교환, 반품 가능 상태 체크 -->
  170. <th:block th:if="${ordDtl.ordDtlStat} == 'G013_50' or ${ordDtl.ordDtlStat} == 'G013_55' or ${ordDtl.ordDtlStat} == 'G013_60'">
  171. <div class="goods_alert">
  172. <!-- 교환불가능, 반품불가능 -->
  173. <th:block th:if="${ordDtl.changeableYn} == 'N' and ${ordDtl.returnableYn} == 'N'">
  174. <p class="cf_txt cf_desc">해당 상품은 교환/반품이 불가능한 상품입니다.<br>문의사항은 1:1 문의를 이용해 주세요.</p>
  175. </th:block>
  176. <!-- //교환불가능, 반품불가능 -->
  177. <!-- 교환불가능 -->
  178. <th:block th:if="${ordDtl.changeableYn} == 'N'">
  179. <p class="cf_txt cf_desc">해당 상품은 교환이 불가능한 상품입니다.<br>문의사항은 1:1 문의를 이용해 주세요.</p>
  180. </th:block>
  181. <!-- //교환불가능 -->
  182. <!-- 반품불가능 -->
  183. <th:block th:if="${ordDtl.returnableYn} == 'N'">
  184. <p class="cf_txt cf_desc">해당 상품은 반품이 불가능한 상품입니다.<br>문의사항은 1:1 문의를 이용해 주세요.</p>
  185. </th:block>
  186. <!-- //반품불가능 -->
  187. </div>
  188. </th:block>
  189. <!-- //배송중, 배송완료 상태 -->
  190. <!-- 주문접수 -->
  191. <th:block th:if="${ordDtl.ordDtlStat} == 'G013_10'">
  192. <div class="goods_txt">
  193. <p class="cf_txt cf_desc">주문 완료 / 결제를 기다리고 있습니다.</p>
  194. <th:block th:if="${ordDtl.delvResDt} != null">
  195. <p class="cf_txt cf_desc" th:text="|예약판매 상품으로 ${ordDtl.delvResDt} 출고 예정입니다.|"></p>
  196. </th:block>
  197. </div>
  198. </th:block>
  199. <!-- //주문접수 -->
  200. <!-- 결제완료 -->
  201. <th:block th:if="${ordDtl.ordDtlStat == 'G013_20' and !#strings.isEmpty(ordDtl.delvResDt)}">
  202. <div class="goods_txt">
  203. <p class="cf_txt cf_desc" th:text="|예약판매 상품으로 ${ordDtl.delvResDt} 출고 예정입니다.|"></p>
  204. </div>
  205. </th:block>
  206. <!-- //결제완료 -->
  207. <!-- 상품준비중 -->
  208. <th:block th:if="${ordDtl.ordDtlStat} == 'G013_30'">
  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_40'">
  219. <div class="goods_txt">
  220. <p class="cf_txt cf_desc">상품 준비가 완료되어 곧 배송될 예정입니다.</p>
  221. <th:block th:if="${ordDtl.delvResDt} != null">
  222. <p class="cf_txt cf_desc" th:text="|예약판매 상품으로 ${ordDtl.delvResDt} 출고 예정입니다.|"></p>
  223. </th:block>
  224. </div>
  225. </th:block>
  226. <!-- //배송준비중 -->
  227. <!-- 배송완료 -->
  228. <th:block th:if="${ordDtl.ordDtlStat} == 'G013_60'">
  229. <div class="goods_txt">
  230. <p class="cf_txt cf_desc">15일 후 자동으로 구매확정됩니다.</p>
  231. </div>
  232. </th:block>
  233. <!-- //배송완료 -->
  234. <!-- 구매확정 -->
  235. <th:block th:if="${ordDtl.ordDtlStat} == 'G013_70'">
  236. </th:block>
  237. <!-- //구매확정 -->
  238. <!-- //상태문구정리 -->
  239. <!-- 사은품 영역 -->
  240. <th:block th:if="${#lists.size(order.ordDtlList) == j.count}">
  241. <th:block th:if="${order.freeGiftList != null and #lists.size(order.freeGiftList) > 0}">
  242. <div class="goods_gift">
  243. <div class="gift_wrap">
  244. <div class="title">사은품</div>
  245. <div class="li_gift">
  246. <ul>
  247. <th:block th:each="freeGift , j : ${order.freeGiftList}">
  248. <li>
  249. <span class="gift_name" th:text="${freeGift.goodsNm}"></span>
  250. <th:block th:if="${freeGift.usePoint} > 0">
  251. <span class="deduct_p" th:text="|(-${#numbers.formatInteger(freeGift.usePoint, 1, 'COMMA')}P)|"></span>
  252. </th:block>
  253. </li>
  254. </th:block>
  255. </ul>
  256. </div>
  257. </div>
  258. </div>
  259. </th:block>
  260. </th:block>
  261. <!-- //사은품 영역 -->
  262. </div>
  263. <!-- //주문 접수 -->
  264. </th:block>
  265. <!-- //주문목록 -->
  266. </th:block>
  267. </th:block>
  268. <!-- //주문목록이 있을때 -->
  269. <!-- 주문목록이 없을때 -->
  270. <th:block th:if="${#lists.size(orderList) < 1}">
  271. <div class="nodata">
  272. <div class="txt_box">
  273. <p>주문내역이 없습니다.<br/></p>
  274. </div>
  275. </div>
  276. </th:block>
  277. <!-- //주문목록이 없을때 -->
  278. </div>
  279. </div>
  280. <script th:inline="javascript">
  281. </script>
  282. </th:block>