MypageCreListInfoMob.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299
  1. <!-- 취소,반품,교환목록 있을때 -->
  2. <th:block th:if="${#lists.size(creList) > 0}">
  3. <!-- 취소,반품,교환목록 -->
  4. <th:block th:each="creList , i : ${creList}">
  5. <div class="inner">
  6. <div class="part_goods">
  7. <div class="goods_top">
  8. <!-- 선물주문여부체크 -->
  9. <th:block th:if="${creList.giftPackYn} == 'Y'">
  10. <div class="goods_date">선물일<span class="date" th:text="${creList.ordDt}"></span></div>
  11. </th:block>'
  12. <th:block th:unless="${creList.giftPackYn} == 'Y'">
  13. <div class="goods_date">주문일<span class="date" th:text="${creList.ordDt}"></span></div>
  14. </th:block>
  15. <!-- //선물주문여부체크 -->
  16. <a href="javascript:void(0);" th:ordChgSq="${creList.ordChgSq}" th:chgGb="${creList.oneData.chgGb}" th:ordNo="${creList.oneData.ordNo}" onclick="fnGoToCreDetail(this);" class="detail_btn">상세보기</a>
  17. </div>
  18. <th:block th:each="cre , i : ${creList.creList}" th:with="imageUrl=${@environment.getProperty('upload.goods.view')}">
  19. <div class="goods_section">
  20. <div class="goods_status">
  21. <!-- 상태값 처리 -->
  22. <th:block th:if="${cre.chgStat == 'G685_17' or cre.chgStat == 'G685_18'}">
  23. <!-- 2021.07.01 선물하기 기간완료 처리 -->
  24. <p class="dlvr_staus" th:if="${cre.giftPackYn == 'Y' and cre.giftAddrInpYn == 'N' and cre.giftCancelDay >= 3}">선물취소</p>
  25. <p class="dlvr_staus" th:if="${cre.giftPackYn != 'Y' and cre.chgReason == 'G686_30'}">품절취소</p>
  26. <p class="dlvr_staus" th:if="${cre.giftPackYn != 'Y' and cre.chgReason != 'G686_30'}">주문취소</p>
  27. </th:block>
  28. <th:block th:if="${cre.chgStat == 'G685_40'}" th:each="exchange, index : ${creList.exchangeOptionList}">
  29. <p class="dlvr_staus" th:if="${cre.chgOrdDtlNo == exchange.ordDtlNo && (exchange.ordDtlStat == 'G013_20' or exchange.ordDtlStat == 'G013_30' or exchange.ordDtlStat == 'G013_35' or exchange.ordDtlStat == 'G013_40' or exchange.ordDtlStat == 'G013_50')}">교환진행중</p>
  30. <p class="dlvr_staus" th:if="${cre.chgOrdDtlNo == exchange.ordDtlNo && (exchange.ordDtlStat == 'G013_60' or exchange.ordDtlStat == 'G013_70')}">교환완료</p>
  31. </th:block>
  32. <p class="dlvr_staus" th:if="${cre.chgStat == 'G685_33'}">환불진행중</p>
  33. <p class="dlvr_staus" th:if="${cre.chgStat == 'G685_21' or cre.chgStat == 'G685_51'}">결제대기</p>
  34. <p class="dlvr_staus" th:if="${cre.chgStat == 'G685_49' or cre.chgStat == 'G685_69'}">접수취소</p>
  35. <p class="dlvr_staus" th:unless="${cre.chgStat == 'G685_17' or cre.chgStat == 'G685_18' or cre.chgStat == 'G685_40' or cre.chgStat == 'G685_33' or cre.chgStat == 'G685_21' or cre.chgStat == 'G685_51' or cre.chgStat == 'G685_49' or cre.chgStat == 'G685_69'}" th:text="${cre.chgStatNm}"></p>
  36. <!-- //상태값 처리 -->
  37. <!-- 상태값 변경 일시 -->
  38. <p class="dlvr_desc" th:text="|${cre.chgDate} ${cre.chgTime}|"></p>
  39. <!-- //상태값 변경 일시 -->
  40. </div>
  41. <div class="goods_detail">
  42. <a href="javascript:void(0)" th:attr="goodsCd=${cre.goodsCd}, optCd1=${cre.goodsType == 'G056_N' ? cre.optCd1 : ''}, ithrCd='IN21_01'" onclick="fnGoToGoodsDetail(this)">
  43. <div class="thumb_box">
  44. <img th:src="${imageUrl + '/' + cre.sysImgNm + '?RS=90'}" src="/" width="100%" alt="">
  45. </div>
  46. <div class="info_box">
  47. <div class="od_name">
  48. <div class="brand">
  49. <span th:text="${cre.brandNm}"></span>
  50. <div class="badge_wrap">
  51. <th:block th:if="${cre.shotDelvYn} == 'Y'">
  52. <em class="order_badge order_bullet_badge">총알배송</em>
  53. </th:block>
  54. <th:block th:if="${cre.selfGoodsYn} == 'Y' and ${cre.shotDelvYn} == 'N'">
  55. <em class="order_badge">STYLE24 일반배송</em>
  56. </th:block>
  57. <th:block th:if="${cre.selfGoodsYn} == 'N' and ${cre.shotDelvYn} == 'N'">
  58. <em class="order_badge">업체직배송</em>
  59. </th:block>
  60. </div>
  61. </div>
  62. <div class="name" th:text="${cre.goodsNm}"></div>
  63. </div>
  64. <div class="od_opt">
  65. <!-- 세트상품일때 -->
  66. <th:block th:if="${cre.goodsType} == 'G056_S'">
  67. <th:block th:each="option , index2 : ${cre.colorNmArr}">
  68. <div class="option">
  69. <em th:text="${cre.itemNmArr[index2.index]}"></em>
  70. <em th:text="${option}"></em>
  71. <em th:text="${cre.optCd2Arr[index2.index]}"></em>
  72. </div>
  73. </th:block>
  74. </th:block>
  75. <!-- //세트상품일때 -->
  76. <!-- 단품상품일때 -->
  77. <th:block th:unless="${cre.goodsType} == 'G056_S'">
  78. <div class="option">
  79. <em th:text="${cre.colorNm}"></em>
  80. <em th:text="${cre.optCd2}"></em>
  81. </div>
  82. </th:block>
  83. <!-- //단품상품일때 -->
  84. </div>
  85. <!-- 교환일때 -->
  86. <th:block th:if="${cre.chgGb} == 'G680_40'">
  87. <div class="od_exchange_opt">
  88. <span>교환옵션</span>
  89. <th:block th:each="exchange, index : ${creList.exchangeOptionList}">
  90. <th:block th:if="${cre.chgOrdDtlNo} == ${exchange.ordDtlNo}">
  91. <!-- 세트상품일때 -->
  92. <th:block th:if="${cre.goodsType} == 'G056_S'">
  93. <th:block th:each="option, index2 : ${exchange.colorNmArr}">
  94. <div class="option">
  95. <em th:text="${exchange.itemNmArr[index2.index]}"></em>
  96. <em th:text="${option}"></em>
  97. <em th:text="${exchange.optCd2Arr[index2.index]}"></em>
  98. </div>
  99. </th:block>
  100. </th:block>
  101. <!-- //세트상품일때 -->
  102. <!-- 일반상품일때 -->
  103. <th:block th:unless="${cre.goodsType} == 'G056_S'">
  104. <div class="option">
  105. <em th:text="${exchange.colorNm}"></em>
  106. <em th:text="${exchange.optCd2}"></em>
  107. </div>
  108. </th:block>
  109. <!-- //일반상품일때 -->
  110. </th:block>
  111. </th:block>
  112. </div>
  113. </th:block>
  114. <!-- //교환일때 -->
  115. <div class="od_calc">
  116. <p class="price">
  117. <span class="count"><em th:text="${cre.chgQty}"></em>개</span>
  118. </p>
  119. </div>
  120. </div>
  121. </a>
  122. </div>
  123. <!-- 취소,반품,교환 상태별 버튼기능정의 -->
  124. <div class="goods_btn_wrap btn_group_flex">
  125. <!-- 신청취소 -->
  126. <!-- <th:block th:if="${cre.chgStat} == 'G685_20' or ${cre.chgStat} == 'G685_21' or ${cre.chgStat} == 'G685_50' or ${cre.chgStat} == 'G685_51'">-->
  127. <!-- <div>-->
  128. <!-- <button type="button" class="btn btn_default" th:ordNo="${cre.ordNo}" th:ordChgSq="${cre.ordChgSq}" th:cancelGb="${cre.chgGb}" onclick="fnCreCancel(this);">-->
  129. <!-- <span>신청취소</span>-->
  130. <!-- </button>-->
  131. <!-- </div>-->
  132. <!-- </th:block>-->
  133. <!-- //신청취소 -->
  134. <!-- 결제하기 -->
  135. <th:block th:if="${cre.chgStat} == 'G685_21' or ${cre.chgStat} == 'G685_51' or ${cre.chgStat} == 'G685_32'">
  136. <div>
  137. <button type="button" class="btn btn_default" th:ordNo="${cre.ordNo}" th:ordChgSq="${cre.ordChgSq}" onclick="fnCrePayAddCost(this);">
  138. <span>결제하기</span>
  139. </button>
  140. </div>
  141. </th:block>
  142. <!-- //결제하기 -->
  143. <!-- 배송조회 -->
  144. <th:block th:if="${cre.chgStat} == 'G685_40'">
  145. <th:block th:each="exchange, index : ${creList.exchangeOptionList}">
  146. <th:block th:if="${cre.chgOrdDtlNo} == ${exchange.ordDtlNo} and ${exchange.ordDtlStat} == 'G013_50'">
  147. <div>
  148. <button type="button" class="btn btn_default" th:attr="ordNo=${cre.ordNo}, ordDtlNo=${exchange.ordDtlNo}, shipCompCd=${exchange.shipCompCd}, invoiceNo=${exchange.invoiceNo}" onclick="fnGoToDelivery(this);">
  149. <span>배송조회</span>
  150. </button>
  151. </div>
  152. </th:block>
  153. </th:block>
  154. </th:block>
  155. <!-- //배송조회 -->
  156. <div><button type="button" class="btn btn_default" onclick="fnGoToOneToOnePage()"><span>1:1 문의</span></button></div>
  157. </div>
  158. <!-- //취소,반품,교환 상태별 버튼기능정의 -->
  159. <!-- 취소,반품,교환 상태별 문구정의 -->
  160. <!-- 선물취소 -->
  161. <!-- 2021.07.01 선물하기 기간완료 처리 -->
  162. <th:block th:if="${cre.giftPackYn == 'Y' and cre.giftAddrInpYn == 'N' and cre.giftCancelDay >= 3 and cre.chgStat == 'G685_18'}">
  163. <div class="goods_txt">
  164. <p class="cf_txt cf_desc">주소 입력 기한이 경과되어 선물이 취소 되었습니다.</p>
  165. </div>
  166. </th:block>
  167. <!-- //선물취소 -->
  168. <!-- 교환접수 -->
  169. <th:block th:if="${cre.chgStat} == 'G685_20'">
  170. <div class="goods_txt">
  171. <p class="cf_txt cf_desc">교환 신청이 접수 되었습니다.<br>신속하게 처리하여 드리겠습니다.</p>
  172. </div>
  173. </th:block>
  174. <!-- //교환접수 -->
  175. <!-- 회수요청 -->
  176. <th:block th:if="${cre.chgStat} == 'G685_30'">
  177. <div class="goods_txt">
  178. <p class="cf_txt cf_desc">고객님이 요청하신 회수지로 상품을 회수 중에 있습니다.</p></p>
  179. </div>
  180. </th:block>
  181. <!-- //회수요청 -->
  182. <!-- 상품검수중(교환) -->
  183. <th:block th:if="${cre.chgStat} == 'G685_31' and ${cre.chgGb} == 'G680_40'">
  184. <div class="goods_txt">
  185. <p class="cf_txt cf_desc">고객님이 교환하신 상품을 검수 중에 있습니다.</p>
  186. </div>
  187. </th:block>
  188. <!-- //상품검수중(교환) -->
  189. <!-- 결제대기(교환) -->
  190. <th:block th:if="${cre.chgStat == 'G685_21' or (cre.chgGb == 'G680_40' and cre.chgStat == 'G685_32')}">
  191. <div class="goods_txt">
  192. <p class="cf_txt cf_desc" th:text="|${#numbers.formatInteger(cre.addPayCost, 1, 'COMMA')}원 결제 후 교환 가능합니다.|"></p>
  193. </div>
  194. </th:block>
  195. <!-- //결제대기(교환) -->
  196. <!-- 교환완료 -->
  197. <th:block th:if="${cre.chgStat} == 'G685_40'">
  198. <th:block th:each="exchange, index : ${creList.exchangeOptionList}">
  199. <th:block th:if="${cre.chgOrdDtlNo} == ${exchange.ordDtlNo} and (${exchange.ordDtlStat} == 'G013_60' or ${exchange.ordDtlStat} == 'G013_70')">
  200. <div class="goods_txt">
  201. <p class="cf_txt cf_desc">교환이 완료되었습니다.</p>
  202. </div>
  203. </th:block>
  204. </th:block>
  205. </th:block>
  206. <!-- //교환완료 -->
  207. <!-- 교환철회 -->
  208. <th:block th:if="${cre.chgStat} == 'G685_49'">
  209. <div class="goods_txt">
  210. <p class="cf_txt cf_desc">요청하신 교환을 취소하였습니다.</p>
  211. </div>
  212. </th:block>
  213. <!-- //교환철회 -->
  214. <!-- 반품접수 -->
  215. <th:block th:if="${cre.chgStat} == 'G685_50'">
  216. <div class="goods_txt">
  217. <p class="cf_txt cf_desc">반품 신청이 접수 되었습니다.<br>신속하게 처리하여 드리겠습니다.</p>
  218. </div>
  219. </th:block>
  220. <!-- //반품접수 -->
  221. <!-- 반품대기 -->
  222. <th:block th:if="${cre.chgStat} == 'G685_51'">
  223. <div class="goods_txt">
  224. <p class="cf_txt cf_desc" th:text="|${#numbers.formatInteger(cre.addPayCost, 1, 'COMMA')}원 결제 후 반품 가능합니다.|"></p>
  225. </div>
  226. </th:block>
  227. <!-- //반품대기 -->
  228. <!-- 상품검수중(반품) -->
  229. <th:block th:if="${cre.chgStat} == 'G685_31' AND ${cre.chgGb} == 'G680_30'">
  230. <div class="goods_txt">
  231. <p class="cf_txt cf_desc">고객님이 반품하신 상품을 검수 중에 있습니다.</p>
  232. </div>
  233. </th:block>
  234. <!-- //상품검수중(반품) -->
  235. <!-- 결제대기(반품) -->
  236. <th:block th:if="${cre.chgStat} == 'G685_32' AND ${cre.chgGb} == 'G680_30'">
  237. <div class="goods_txt">
  238. <p class="cf_txt cf_desc" th:text="|${#numbers.formatInteger(cre.addPayCost, 1, 'COMMA')}원 결제 후 반품 가능합니다.|"></p>
  239. </div>
  240. </th:block>
  241. <!-- //결제대기(반품) -->
  242. <!-- 환불진행중 -->
  243. <th:block th:if="${cre.chgStat} == 'G685_33'">
  244. <div class="goods_txt">
  245. <!-- <p class="cf_txt cf_desc" th:text="|${#numbers.formatInteger(cre.addPayCost, 1, 'COMMA')} 원 환불을 진행하고 있습니다.(영업일 최대 3일 내 환불 예정)|"></p>-->
  246. <p class="cf_txt cf_desc" th:text="|환불을 진행하고 있습니다.|"></p>
  247. </div>
  248. </th:block>
  249. <!-- //환불진행중 -->
  250. <!-- 반품완료 -->
  251. <th:block th:if="${cre.chgStat} == 'G685_60'">
  252. <div class="goods_txt">
  253. <p class="cf_txt cf_desc">반품이 완료되었습니다.</p>
  254. </div>
  255. </th:block>
  256. <!-- //반품완료 -->
  257. <!-- 반품철회 -->
  258. <th:block th:if="${cre.chgStat} == 'G685_69'">
  259. <div class="goods_txt">
  260. <p class="cf_txt cf_desc">요청하신 반품을 취소하였습니다.</p>
  261. </div>
  262. </th:block>
  263. <!-- //반품철회 -->
  264. <!-- //취소,반품,교환 상태별 문구정의 -->
  265. </div>
  266. </th:block>
  267. </div>
  268. </div>
  269. </th:block>
  270. </th:block>
  271. <!-- //취소,반품,교환목록 있을때 -->
  272. <!-- 취소,반품,교환목록 없을때 -->
  273. <th:block th:if="${#lists.size(creList) < 1}">
  274. <div class="inner">
  275. <div class="part_goods">
  276. <div class="nodata">
  277. <div class="txt_box">
  278. <p>취소/반품/교환내역이 없습니다.<br/></p>
  279. </div>
  280. </div>
  281. </div>
  282. </div>
  283. </th:block>
  284. <!-- //취소,반품,교환목록 없을때 -->
  285. <script th:inline="javascript">
  286. $(document).ready(function() {
  287. if ([[${pageNo}]] > 1) {
  288. $('.part_goods').css('border-top', '1px solid #eee');
  289. }
  290. });
  291. </script>