배송조회(운송장번호 조회) - aciExpress 팝업 적용
>> 쇼핑몰 주문/배송 > 주문 상세
(cherry picked from commit 4074ace97d)
This commit is contained in:
@@ -500,7 +500,7 @@ public class BODlivyService {
|
||||
|
||||
RestTemplate restTemplate = new RestTemplate();
|
||||
ResponseEntity<String> response = restTemplate.exchange(
|
||||
"https://acieshop.com/api/kr/pod/v1.5/",
|
||||
"https://acieshop.com/api/kr/token/",
|
||||
HttpMethod.POST,
|
||||
apiRequest,
|
||||
String.class
|
||||
@@ -543,14 +543,14 @@ public class BODlivyService {
|
||||
headers.set("ACIKey", aciKey);
|
||||
|
||||
Map<String, Object> body = new HashMap<>();
|
||||
body.put("BLNO", mapper.selectBOOrdrInvcnb(boDlivyVO));
|
||||
body.put("BLNO", List.of(mapper.selectBOOrdrInvcnb(boDlivyVO)));
|
||||
|
||||
HttpEntity<Map<String, Object>> apiRequest =
|
||||
new HttpEntity<>(body, headers);
|
||||
|
||||
RestTemplate restTemplate = new RestTemplate();
|
||||
ResponseEntity<String> response = restTemplate.exchange(
|
||||
"ex",
|
||||
"https://acieshop.com/api/kr/pod/v1.5/",
|
||||
HttpMethod.POST,
|
||||
apiRequest,
|
||||
String.class
|
||||
|
||||
@@ -728,26 +728,22 @@ public class MyOrdrController {
|
||||
* @return
|
||||
*/
|
||||
@Policy(AuthPolicy.PUBLIC)
|
||||
// @RequestMapping(value="/selectDlvyInqire")
|
||||
// public String selectDlvyInqire(BODlivyVO boDlivyVO, ModelMap model, HttpServletRequest request){
|
||||
@RequestMapping(value="/selectDlvyInqire", produces = MediaType.APPLICATION_JSON_VALUE)
|
||||
public ResponseEntity<WnbtResponse> selectDlvyInqire(BODlivyVO boDlivyVO){
|
||||
@RequestMapping(value="/selectDlvyInqire")
|
||||
public String selectDlvyInqire(BODlivyVO boDlivyVO, ModelMap model, HttpServletRequest request){
|
||||
// 작성자 정보 할당
|
||||
AnonymousUser user = MemberJwtContextHolder.getMemberInfo();
|
||||
if("01".equals(user.getSysDvCd())){
|
||||
boDlivyVO.setSopmalCd(user.getSopmalCd()); // 쇼핑몰 코드
|
||||
}
|
||||
|
||||
// model.addAttribute("resultMap", dlivyService.updateBOAciDelivery(boDlivyVO));
|
||||
// return Util.getDeviceType(request) + "/mpage/ordr/DlvyInqireR";
|
||||
BOOrdrDlvyVO ordrDlvyVO = new BOOrdrDlvyVO();
|
||||
ordrDlvyVO.setSopmalCd(boDlivyVO.getSopmalCd());
|
||||
ordrDlvyVO.setOrdrInnb(boDlivyVO.getOrdrInnb());
|
||||
|
||||
DataMap content = new DataMap();
|
||||
content.put("invcnb", dlivyService.selectBOOrdrInvcnb(boDlivyVO));
|
||||
return ResponseEntity.ok(
|
||||
WnbtResponse.builder()
|
||||
.resBody(new WnbtResponseBody(content))
|
||||
.build()
|
||||
);
|
||||
model.addAttribute("ordrInfo", boOrdrService.selectMbrOrdrDtlInqire(ordrDlvyVO));
|
||||
model.addAttribute("resultMap", dlivyService.updateBOAciDelivery(boDlivyVO));
|
||||
|
||||
return Util.getDeviceType(request) + "/mpage/ordr/DlvyInqireR";
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -8,124 +8,222 @@
|
||||
|
||||
|
||||
<%--
|
||||
Class Name : WslistInqireR.jsp
|
||||
Description : 마이페이지 위시리스트
|
||||
Class Name : DlvyInqireR.jsp
|
||||
Description : 배송 조회 팝업 모달
|
||||
Modification Information
|
||||
|
||||
수정일 수정자 수정내용
|
||||
------- -------- ---------------------------
|
||||
2024-03-27 추지훈 최초 생성
|
||||
2026-07-06 이대환 수정
|
||||
--%>
|
||||
<!-- 모달 -->
|
||||
<style>
|
||||
.statusEn {
|
||||
font-size: 12px;
|
||||
color: #50514f;
|
||||
}
|
||||
.deliveryStatus th,
|
||||
.deliveryStatus td {
|
||||
border: 1px solid #dee2e6 !important;
|
||||
}
|
||||
</style>
|
||||
<!-- 배송 조회 -->
|
||||
<div id="delivery-check-pop" class="modal default" style="max-width: 640px;">
|
||||
<div class="modal-header">
|
||||
<div class="modal-header__title">배송 조회</div>
|
||||
</div>
|
||||
<c:choose>
|
||||
<c:when test="${ not empty resultMap.resultList && fn:length(resultMap.resultList) > 0 }">
|
||||
<c:forEach var="list" items="${ resultMap.resultList }" varStatus="status">
|
||||
<div class="modal-content">
|
||||
<div class="table-wrapper">
|
||||
<table class="table deliveryInfo">
|
||||
<caption>해당 테이블에 대한 설명</caption>
|
||||
<!-- 각 열 width 설정 -->
|
||||
<colgroup>
|
||||
<col style="width: 20%;">
|
||||
<col style="width: auto;">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>
|
||||
주문자
|
||||
</th>
|
||||
<td>
|
||||
<c:out value="${ resultMap.result.ordrrNm }"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
수령인
|
||||
</th>
|
||||
<td>
|
||||
<c:out value="${ list.recpntNm }"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
배송지
|
||||
</th>
|
||||
<td><c:if test="${ not empty list.dlvylcZip }">(<c:out value="${ list.dlvylcZip }"/>)</c:if>
|
||||
<c:choose>
|
||||
<c:when test="${ list.dlvylcAdresDvCd eq '01'}">
|
||||
<c:out value="${ list.dlvylcRnmAdres }"/>
|
||||
</c:when>
|
||||
<c:when test="${ list.dlvylcAdresDvCd eq '02'}">
|
||||
<c:out value="${ list.dlvylcLnbAdres }"/>
|
||||
</c:when>
|
||||
</c:choose>
|
||||
<c:out value="${ list.dlvylcAdresDtl }"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
택배사
|
||||
</th>
|
||||
<td>
|
||||
<c:out value="${ list.hdrycpnNm }"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
송장번호
|
||||
</th>
|
||||
<td><c:out value="${ list.invcnb }"/></td><!-- TODO : 주문 목록에 붙여서 파라미터로 받은 송장번호 출력 -->
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="table-wrapper">
|
||||
<table class="table deliveryStatus">
|
||||
<caption>해당 테이블에 대한 설명</caption>
|
||||
<!-- 각 열 width 설정 -->
|
||||
<colgroup>
|
||||
<col style="width: 30%;">
|
||||
<col style="width: 30%;">
|
||||
<col style="width: auto;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>처리일시</th>
|
||||
<th>상품위치</th>
|
||||
<th>배송상태</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach var="trackingList" items="${ list.trackingDetails }" varStatus="status">
|
||||
<tr>
|
||||
<td><c:out value="${ trackingList.time }"/></td>
|
||||
<td>
|
||||
<c:out value="${ trackingList.where }"/>
|
||||
</td>
|
||||
<td><c:out value="${ trackingList.kind }"/></td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</c:forEach>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<div class="couponList">
|
||||
<div class="couponList__no-result">
|
||||
<img src="<c:url value="/pc/images/icon__no-result.png"/>" alt="">
|
||||
<p class="orderList__no-result-text">배송 조회 내역이 없습니다.</p>
|
||||
</div>
|
||||
</div>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
<div class="modal-footer">
|
||||
<a href="#" rel="modal:close" class="btn large outline">닫기</a>
|
||||
</div>
|
||||
<div class="modal-header">
|
||||
<div class="modal-header__title">배송 조회</div>
|
||||
</div>
|
||||
<c:choose>
|
||||
<c:when test="${ not empty resultMap && resultMap.status eq 'success' }">
|
||||
<c:set var="podInfo" value="${resultMap.podInfo[0]}"/>
|
||||
<div class="modal-content">
|
||||
<div class="table-wrapper">
|
||||
<table class="table deliveryInfo">
|
||||
<caption>주문 상세</caption>
|
||||
<!-- 각 열 width 설정 -->
|
||||
<colgroup>
|
||||
<col style="width: 20%;">
|
||||
<col style="width: auto;">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>송장번호</th>
|
||||
<td><c:out value="${ podInfo.blno }"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>주문자</th>
|
||||
<td><c:out value="${ ordrInfo.shippingList[0].recpntNm }"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>수령인</th>
|
||||
<td><c:out value="${ podInfo.recipient }"/></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<p>>> 국내 입항보고</p>
|
||||
<div class="table-wrapper">
|
||||
<table class="table deliveryStatus">
|
||||
<caption>입항 상세</caption>
|
||||
<!-- 각 열 width 설정 -->
|
||||
<colgroup>
|
||||
<col style="width: 20%;">
|
||||
<col style="width: 5%;">
|
||||
<col style="width: auto;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>처리일시</th>
|
||||
<th>상품위치</th>
|
||||
<th>배송상태</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:if test="${ not empty podInfo.dateLocalwhin }">
|
||||
<tr>
|
||||
<td><c:out value="${ podInfo.dateLocalwhin }"/></td>
|
||||
<td></td>
|
||||
<td>
|
||||
발송물이 픽업되어, 공항출항 대기중입니다.
|
||||
<p class="statusEn">Shipment pick up and waiting at the origin airport</p>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
<c:if test="${ not empty podInfo.dateLocaldeparture }">
|
||||
<tr>
|
||||
<td><c:out value="${ podInfo.dateLocaldeparture }"/></td>
|
||||
<td></td>
|
||||
<td>
|
||||
화물이 인천공항으로 출발하였습니다.
|
||||
<p class="statusEn">Shipment departed to Incheon International Airport</p>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
<c:if test="${ not empty podInfo.dateIcnarrival }">
|
||||
<tr>
|
||||
<td><c:out value="${ podInfo.dateIcnarrival }"/></td>
|
||||
<td>인천공항</td>
|
||||
<td>
|
||||
화물이 인천공항에 도착하였습니다.
|
||||
<p class="statusEn">Shipped the goods arrived at Incheon International Airport.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
<c:if test="${ not empty podInfo.dateCustomes }">
|
||||
<tr>
|
||||
<td><c:out value="${ podInfo.dateCustomes }"/></td>
|
||||
<td>인천공항</td>
|
||||
<td>
|
||||
인천공항 세관에서 통관완료되었습니다.
|
||||
<p class="statusEn">Customs clearance is completed in the Republic of Korea</p>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<c:if test="${ not empty podInfo.customs }">
|
||||
<p>>> 통관 조회</p>
|
||||
<c:forEach var="customOne" items="${ podInfo.customs }" varStatus="status">
|
||||
<div class="table-wrapper">
|
||||
<table class="table deliveryStatus">
|
||||
<caption>통관 상세</caption>
|
||||
<!-- 각 열 width 설정 -->
|
||||
<colgroup>
|
||||
<col style="width: 20%;">
|
||||
<col style="width: auto;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>처리일시</th>
|
||||
<th>처리상태</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach var="customDetail" items="${ customOne }" varStatus="status">
|
||||
<tr>
|
||||
<td><c:out value="${ customDetail.dateEvent }"/></td>
|
||||
<td><c:out value="${ customDetail.traceStatus }"/></td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</c:forEach>
|
||||
</c:if>
|
||||
|
||||
|
||||
<c:if test="${ not empty podInfo.localPod }">
|
||||
<p>>> 우체국 배송 조회</p>
|
||||
<div class="table-wrapper">
|
||||
<table class="table deliveryStatus">
|
||||
<caption>배송 상세</caption>
|
||||
<!-- 각 열 width 설정 -->
|
||||
<colgroup>
|
||||
<col style="width: 20%;">
|
||||
<col style="width: 35%;">
|
||||
<col style="width: auto;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>처리일시</th>
|
||||
<th>현재위치</th>
|
||||
<th>처리현황</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach var="localPod" items="${ podInfo.localPod }" varStatus="status">
|
||||
<tr>
|
||||
<td><c:out value="${ localPod.dateEvent }"/></td>
|
||||
<td><c:out value="${ localPod.position }"/></td>
|
||||
<td>
|
||||
<c:out value="${ localPod.traceStatus }"/>
|
||||
<c:choose>
|
||||
<c:when test="${ localPod.traceStatus eq '접수' }">
|
||||
<p class="statusEn">HANDED OVER TO KP</p>
|
||||
</c:when>
|
||||
<c:when test="${ localPod.traceStatus eq '발송' }">
|
||||
<p class="statusEn">MOVE TO DEPOT</p>
|
||||
</c:when>
|
||||
<c:when test="${ localPod.traceStatus eq '도착' }">
|
||||
<p class="statusEn">ARR. AT DEPOT</p>
|
||||
</c:when>
|
||||
<c:when test="${ localPod.traceStatus eq '배달준비' }">
|
||||
<p class="statusEn">HANDED OVER TO POST MAN</p>
|
||||
</c:when>
|
||||
<c:when test="${ localPod.traceStatus eq '배달완료' }">
|
||||
<c:set var="dlivyCompt" value="true"/>
|
||||
<p class="statusEn">DELIVERED TO CNEE</p>
|
||||
</c:when>
|
||||
</c:choose>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
<c:if test="${ dlivyCompt }">
|
||||
<tr>
|
||||
<td colspan="3" style="text-align: center;">
|
||||
배송완료 - 수령인 : <c:out value="${ podInfo.recipient }"/>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</c:if>
|
||||
</div>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<div class="couponList">
|
||||
<div class="couponList__no-result">
|
||||
<img src="<c:url value="/pc/images/icon__no-result.png"/>" alt="">
|
||||
<p class="orderList__no-result-text">배송 조회 내역이 없습니다.</p>
|
||||
</div>
|
||||
</div>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
<div class="modal-footer">
|
||||
<a href="#" rel="modal:close" class="btn large outline">닫기</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -731,21 +731,18 @@
|
||||
}
|
||||
|
||||
/* 배송조회 팝업 화면 호출 */
|
||||
const fn_open_dlvy_popup = function (ordrDlvyInnb) {
|
||||
const fn_open_dlvy_popup = function (ordrInnb, ordrDlvyInnb) {
|
||||
$.ajax({
|
||||
type:'post',
|
||||
url:'<c:url value="/sopmal/mpage/ordr/selectDlvyInqire"/>',
|
||||
data:{
|
||||
ordrInnb:ordrInnb,
|
||||
ordrDlvyInnb:ordrDlvyInnb
|
||||
},
|
||||
success:function (data) {
|
||||
// $('#modalDiv').html(data);
|
||||
//
|
||||
// $('#delivery-check-pop').remove().modal();
|
||||
$('#modalDiv').html(data);
|
||||
|
||||
let invcnb = JSON.parse(data.resBody.result).invcnb;
|
||||
let url = 'https://www.acieshop.com/pod.php?OrderNo=' + invcnb;
|
||||
window.open(url, 'acieView', 'width=605,height=700');
|
||||
$('#delivery-check-pop').remove().modal();
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -1332,7 +1329,7 @@
|
||||
</c:if>
|
||||
</c:when>
|
||||
<c:when test="${goods.ordrSttusCd > 54 && goods.ordrSttusCd < 76 && order.sknEnvrnCd ne 'POS'}">
|
||||
<a href="javascript:void(0);" onclick="fn_open_dlvy_popup('<c:out value="${goods.ordrDlvyInnb}"/>');" id="inqireDlvy" class="btn-ordr-sttus btn outline sm full">배송조회</a>
|
||||
<a href="javascript:void(0);" onclick="fn_open_dlvy_popup('<c:out value="${goods.ordrInnb}"/>', '<c:out value="${goods.ordrDlvyInnb}"/>');" id="inqireDlvy" class="btn-ordr-sttus btn outline sm full">배송조회</a>
|
||||
<a href="javascript:void(0);" id="reqstRefund" class="btn-ordr-sttus btn gray sm full" onclick="fn_pop_m2mqna_regist('<c:out value="${order.ordrInnb}"/>');">반품신청</a>
|
||||
<c:choose>
|
||||
<c:when test="${goods.itemOrdrSttusCd > 54 && goods.itemOrdrSttusCd < 76 && goods.purchsDcsnAt eq 'N'}">
|
||||
@@ -1481,7 +1478,7 @@
|
||||
<a href="javascript:void(0);" id="reqstRefund" class="btn-ordr-sttus btn gray sm full" onclick="fn_pop_m2mqna_regist('<c:out value="${order.ordrInnb}"/>');">반품신청</a>
|
||||
</c:when>
|
||||
<c:when test="${goods.ordrSttusCd > 54 && goods.ordrSttusCd < 76 && order.sknEnvrnCd ne 'POS'}">
|
||||
<a href="javascript:void(0);" onclick="fn_open_dlvy_popup('<c:out value="${goods.ordrDlvyInnb}"/>');" id="inqireDlvy" class="btn-ordr-sttus btn outline sm full">배송조회</a>
|
||||
<a href="javascript:void(0);" onclick="fn_open_dlvy_popup('<c:out value="${goods.ordrInnb}"/>', '<c:out value="${goods.ordrDlvyInnb}"/>');" id="inqireDlvy" class="btn-ordr-sttus btn outline sm full">배송조회</a>
|
||||
<a href="javascript:void(0);" id="reqstRefund" class="btn-ordr-sttus btn gray sm full" onclick="fn_pop_m2mqna_regist('<c:out value="${order.ordrInnb}"/>');">반품신청</a>
|
||||
<c:choose>
|
||||
<c:when test="${goods.itemOrdrSttusCd > 54 && goods.itemOrdrSttusCd < 76 && goods.purchsDcsnAt eq 'N'}">
|
||||
|
||||
@@ -8,15 +8,26 @@
|
||||
|
||||
|
||||
<%--
|
||||
Class Name : WslistInqireR.jsp
|
||||
Class Name : DlvyInqireR.jsp
|
||||
Description : 배송 추적
|
||||
Modification Information
|
||||
|
||||
수정일 수정자 수정내용
|
||||
------- -------- ---------------------------
|
||||
2024-03-27 추지훈 최초 생성
|
||||
2026-07-06 이대환 수정
|
||||
--%>
|
||||
<!-- 모달 -->
|
||||
<style>
|
||||
.statusEn {
|
||||
font-size: 12px;
|
||||
color: #50514f;
|
||||
}
|
||||
.deliveryStatus th,
|
||||
.deliveryStatus td {
|
||||
border: 1px solid #dee2e6 !important;
|
||||
}
|
||||
</style>
|
||||
<!-- 배송 정보 -->
|
||||
<div class="microModal microBottomSheet" id="deliveryInfoPop" aria-hidden="true">
|
||||
<div class="microModal__overlay" tabindex="-1">
|
||||
@@ -29,98 +40,187 @@
|
||||
<div class="modalInfo modalInfo--deliveryInfo">
|
||||
<h5 class="modalInfo__title">배송 조회</h5>
|
||||
<c:choose>
|
||||
<c:when test="${ not empty resultMap.resultList && fn:length(resultMap.resultList) > 0 }">
|
||||
<c:forEach var="list" items="${ resultMap.resultList }" varStatus="status">
|
||||
<c:when test="${ not empty resultMap && resultMap.status eq 'success' }">
|
||||
<c:set var="podInfo" value="${resultMap.podInfo[0]}"/>
|
||||
<div class="table-wrapper">
|
||||
<table class="table deliveryInfo">
|
||||
<caption>주문 상세</caption>
|
||||
<!-- 각 열 width 설정 -->
|
||||
<colgroup>
|
||||
<col style="width: 20%;">
|
||||
<col style="width: auto;">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>송장번호</th>
|
||||
<td><c:out value="${ podInfo.blno }"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>주문자</th>
|
||||
<td><c:out value="${ ordrInfo.shippingList[0].recpntNm }"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>수령인</th>
|
||||
<td><c:out value="${ podInfo.recipient }"/></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<p>>> 국내 입항보고</p>
|
||||
<div class="table-wrapper">
|
||||
<table class="table deliveryStatus">
|
||||
<caption>입항 상세</caption>
|
||||
<!-- 각 열 width 설정 -->
|
||||
<colgroup>
|
||||
<col style="width: 25%;">
|
||||
<col style="width: 5%;">
|
||||
<col style="width: auto;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>처리일시</th>
|
||||
<th>상품위치</th>
|
||||
<th>배송상태</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:if test="${ not empty podInfo.dateLocalwhin }">
|
||||
<tr>
|
||||
<td><c:out value="${ podInfo.dateLocalwhin }"/></td>
|
||||
<td></td>
|
||||
<td>
|
||||
발송물이 픽업되어, 공항출항 대기중입니다.
|
||||
<p class="statusEn">Shipment pick up and waiting at the origin airport</p>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
<c:if test="${ not empty podInfo.dateLocaldeparture }">
|
||||
<tr>
|
||||
<td><c:out value="${ podInfo.dateLocaldeparture }"/></td>
|
||||
<td></td>
|
||||
<td>
|
||||
화물이 인천공항으로 출발하였습니다.
|
||||
<p class="statusEn">Shipment departed to Incheon International Airport</p>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
<c:if test="${ not empty podInfo.dateIcnarrival }">
|
||||
<tr>
|
||||
<td><c:out value="${ podInfo.dateIcnarrival }"/></td>
|
||||
<td>인천공항</td>
|
||||
<td>
|
||||
화물이 인천공항에 도착하였습니다.
|
||||
<p class="statusEn">Shipped the goods arrived at Incheon International Airport.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
<c:if test="${ not empty podInfo.dateCustomes }">
|
||||
<tr>
|
||||
<td><c:out value="${ podInfo.dateCustomes }"/></td>
|
||||
<td>인천공항</td>
|
||||
<td>
|
||||
인천공항 세관에서 통관완료되었습니다.
|
||||
<p class="statusEn">Customs clearance is completed in the Republic of Korea</p>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<c:if test="${ not empty podInfo.customs }">
|
||||
<p>>> 통관 조회</p>
|
||||
<c:forEach var="customOne" items="${ podInfo.customs }" varStatus="status">
|
||||
<div class="table-wrapper">
|
||||
<table class="table deliveryStatus">
|
||||
<caption>통관 상세</caption>
|
||||
<!-- 각 열 width 설정 -->
|
||||
<colgroup>
|
||||
<col style="width: 25%;">
|
||||
<col style="width: auto;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>처리일시</th>
|
||||
<th>처리상태</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach var="customDetail" items="${ customOne }" varStatus="status">
|
||||
<tr>
|
||||
<td><c:out value="${ customDetail.dateEvent }"/></td>
|
||||
<td><c:out value="${ customDetail.traceStatus }"/></td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</c:forEach>
|
||||
</c:if>
|
||||
|
||||
<c:if test="${ not empty podInfo.localPod }">
|
||||
<p>>> 우체국 배송 조회</p>
|
||||
<div class="table-wrapper">
|
||||
<table class="table">
|
||||
<caption>해당 테이블에 대한 설명</caption>
|
||||
<table class="table deliveryStatus">
|
||||
<caption>배송 상세</caption>
|
||||
<!-- 각 열 width 설정 -->
|
||||
<colgroup>
|
||||
<col style="width: 30%;">
|
||||
<col style="width: 70%;">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th>주문자</th>
|
||||
<td>
|
||||
<c:out value="${ resultMap.result.ordrrNm }"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>수령인</th>
|
||||
<td>
|
||||
<c:out value="${ list.recpntNm }"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>배송지</th>
|
||||
<td>
|
||||
<c:if test="${ not empty list.dlvylcZip }">(<c:out value="${ list.dlvylcZip }"/>)</c:if>
|
||||
<c:choose>
|
||||
<c:when test="${ list.dlvylcAdresDvCd eq '01'}">
|
||||
<c:out value="${ list.dlvylcRnmAdres }"/>
|
||||
</c:when>
|
||||
<c:when test="${ list.dlvylcAdresDvCd eq '02'}">
|
||||
<c:out value="${ list.dlvylcLnbAdres }"/>
|
||||
</c:when>
|
||||
</c:choose>
|
||||
<c:out value="${ list.dlvylcAdresDtl }"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>택배사</th>
|
||||
<td>
|
||||
<c:out value="${ list.hdrycpnNm }"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>송장번호</th>
|
||||
<td>
|
||||
<c:out value="${ list.invcnb }"/>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<div class="table-wrapper">
|
||||
<table class="table vertical tight modalInfo__deliveryTable">
|
||||
<caption>해당 테이블에 대한 설명</caption>
|
||||
<!-- 각 열 width 설정 -->
|
||||
<colgroup>
|
||||
<col style="width: 40%;">
|
||||
<col style="width: 34%;">
|
||||
<col style="width: 26%;">
|
||||
<col style="width: 25%;">
|
||||
<col style="width: 35%;">
|
||||
<col style="width: auto;">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>처리일시</th>
|
||||
<th>상품위치</th>
|
||||
<th>배송상태</th>
|
||||
<th>현재위치</th>
|
||||
<th>처리현황</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach var="trackingList" items="${ list.trackingDetails }" varStatus="status">
|
||||
<tr
|
||||
<c:if test="${ trackingList.kind eq '배송완료'}">
|
||||
class="deliveryCompleted"
|
||||
</c:if>
|
||||
>
|
||||
<td><c:out value="${ trackingList.time }"/></td>
|
||||
<td>
|
||||
<c:out value="${ trackingList.where }"/>
|
||||
</td>
|
||||
<td><c:out value="${ trackingList.kind }"/></td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
<c:forEach var="localPod" items="${ podInfo.localPod }" varStatus="status">
|
||||
<tr>
|
||||
<td><c:out value="${ localPod.dateEvent }"/></td>
|
||||
<td><c:out value="${ localPod.position }"/></td>
|
||||
<td>
|
||||
<c:out value="${ localPod.traceStatus }"/>
|
||||
<c:choose>
|
||||
<c:when test="${ localPod.traceStatus eq '접수' }">
|
||||
<p class="statusEn">HANDED OVER TO KP</p>
|
||||
</c:when>
|
||||
<c:when test="${ localPod.traceStatus eq '발송' }">
|
||||
<p class="statusEn">MOVE TO DEPOT</p>
|
||||
</c:when>
|
||||
<c:when test="${ localPod.traceStatus eq '도착' }">
|
||||
<p class="statusEn">ARR. AT DEPOT</p>
|
||||
</c:when>
|
||||
<c:when test="${ localPod.traceStatus eq '배달준비' }">
|
||||
<p class="statusEn">HANDED OVER TO POST MAN</p>
|
||||
</c:when>
|
||||
<c:when test="${ localPod.traceStatus eq '배달완료' }">
|
||||
<c:set var="dlivyCompt" value="true"/>
|
||||
<p class="statusEn">DELIVERED TO CNEE</p>
|
||||
</c:when>
|
||||
</c:choose>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
<c:if test="${ dlivyCompt }">
|
||||
<tr>
|
||||
<td colspan="3" style="text-align: center;">
|
||||
배송완료 - 수령인 : <c:out value="${ podInfo.recipient }"/>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</c:forEach>
|
||||
</c:if>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<div class="noResult">
|
||||
<div class="noResult__image">
|
||||
<img src="<c:url value="/pc/images/icon__no-result.png"/>" alt="상품 이미지"/>
|
||||
<img src="<c:url value="/pc/images/icon__no-result.png"/>" alt="상품 이미지"/>
|
||||
</div>
|
||||
<p class="noResult__text">배송 조회 내역이 없습니다.</p>
|
||||
</div>
|
||||
|
||||
@@ -425,21 +425,18 @@
|
||||
|
||||
|
||||
/* 배송조회 팝업 화면 호출 */
|
||||
const fn_call_dlvy_pop = function (ordrDlvyInnb) {
|
||||
const fn_open_dlvy_popup = function (ordrInnb, ordrDlvyInnb) {
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
url: '/sopmal/mpage/ordr/selectDlvyInqire',
|
||||
data: {
|
||||
ordrInnb:ordrInnb,
|
||||
ordrDlvyInnb:ordrDlvyInnb
|
||||
},
|
||||
success: function (data) {
|
||||
// $('#modalDiv').html(data);
|
||||
//
|
||||
// $('#delivery-check-pop').remove().modal();
|
||||
|
||||
let invcnb = JSON.parse(data.resBody.result).invcnb;
|
||||
let url = 'https://www.acieshop.com/pod.php?OrderNo=' + invcnb;
|
||||
window.open(url, '_blank');
|
||||
$('#deliveryInfoPop').remove();
|
||||
$("#modalDiv").html(data);
|
||||
openModal2('deliveryInfoPop');
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -798,7 +795,7 @@
|
||||
<a href="javascript:void(0);" class="btn gray sm full" style="margin-top: 5px;" onclick="fn_pop_m2mqna_regist('<c:out value="${order.ordrInnb}"/>');">반품신청</a>
|
||||
</c:when>
|
||||
<c:when test="${goods.ordrSttusCd > 54 && goods.ordrSttusCd < 76 && order.sknEnvrnCd ne 'POS'}">
|
||||
<a href="javascript:void(0);" onclick="fn_call_dlvy_pop('${goods.ordrDlvyInnb}');" class="btn outline sm full">배송조회</a>
|
||||
<a href="javascript:void(0);" onclick="fn_open_dlvy_popup('${goods.ordrInnb}', '${goods.ordrDlvyInnb}');" class="btn outline sm full">배송조회</a>
|
||||
<c:if test="${ goods.purchsDcsnAt eq 'N' }">
|
||||
<a href="javascript:void(0);" class="btn gray sm full" style="margin-top: 5px;" onclick="fn_pop_m2mqna_regist('<c:out value="${order.ordrInnb}"/>');">반품신청</a>
|
||||
</c:if>
|
||||
@@ -942,7 +939,7 @@
|
||||
<a href="javascript:void(0);" onclick="fn_call_setle_cancl_pop('${order.sopmalCd}', '${order.ordrInnb}', '${goods.ordrDlvyInnb}','${setleDt}', '${setleTyCd}', '${order.ordrSttusCd}');" class="btn gray full">결제취소</a>
|
||||
</c:when>
|
||||
<c:when test="${goods.ordrSttusCd > 54 && goods.ordrSttusCd < 76 && order.sknEnvrnCd ne 'POS'}">
|
||||
<a href="javascript:void(0);" onclick="fn_call_dlvy_pop('${goods.ordrDlvyInnb}');" class="btn outline sm full">배송조회</a>
|
||||
<a href="javascript:void(0);" onclick="fn_open_dlvy_popup('${goods.ordrInnb}', '${goods.ordrDlvyInnb}');" class="btn outline sm full">배송조회</a>
|
||||
<c:if test="${ goods.purchsDcsnAt eq 'N' }">
|
||||
<a href="javascript:void(0);" class="btn gray sm full" style="margin-top: 5px;" onclick="fn_pop_m2mqna_regist('<c:out value="${order.ordrInnb}"/>');">반품신청</a>
|
||||
</c:if>
|
||||
|
||||
Reference in New Issue
Block a user