초기소스

This commit is contained in:
jazz
2025-10-29 17:08:05 +09:00
parent e531aa9540
commit 439a379a02
7551 changed files with 1234427 additions and 3 deletions

View File

@@ -0,0 +1,113 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="ui" uri="http://www.winbit.kr/ctl/ui"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%--
Class Name : DlvylcManagePopupR.jsp
Description : 배송지 관리 popup jsp
Modification Information
수정일 수정자 수정내용
------- -------- ---------------------------
since : 2023.11.28 김혜인 최초 생성
--%>
<!-- 배송지 모달 -->
<!-- 배송지 관리 -->
<div id="dlvylcManage" class="modal">
<div class="modal-header">
<h4>배송지 관리</h4>
</div>
<div class="modal-content">
<div class="text-right mb-10">
<button class="btn primary sm" onclick="fn_move_dlvylc_regpage_pop('Y','<c:out value='${mbrInnb}'/>','<c:out value='${mbrDvCd}'/>',<c:if test="${empty resultMap.resultList}">'Y'</c:if>); return false;">
신규 배송지 등록
</button>
</div>
<form id="mbrDlvylcList" name="mbrDlvylcList">
<div class="shipping-list">
<c:choose>
<c:when test="${not empty resultMap.resultList}">
<c:forEach var="resultMap" items="${resultMap.resultList}" varStatus="status">
<div class="shipping-list__item">
<div class="shipping-list__item-top">
<div class="custom-radio-container">
<div class="custom-radio" onclick = "fn_select_mngrOrdr_postcode(${callbackNm},${status.index}, '${formId}')">
<label for="${status.index}">
<c:out value="${resultMap.dlvylcDcCn }" />
</label>
</div>
<c:if test="${resultMap.dftDlvylcAt eq 'Y'}">
<span class="default-address">기본배송지</span>
</c:if>
</div>
<div class="d-inline-flex gap-4 align-items-center">
<button type="button" id="upt<c:out value=" ${resultMap.adbkInnb}" />" class=" btn xsm outline"
onclick="fn_move_dlvylc_uptpage_pop('<c:out value='${pageIndex}'/>','<c:out value='${resultMap.adbkInnb}'/>','Y', '<c:out value='${resultMap.mbrInnb}'/>', '<c:out value='${resultMap.mbrDvCd}'/>');">
<spring:message code="button.update" />
</button>
<c:if test="${resultMap.dftDlvylcAt eq 'N'}">
<button type="button" id="del<c:out value=" ${resultMap.adbkInnb}" />" class="btn xsm outline"
onclick="fn_delete_dlvylc('<spring:message code="success.common.delete"/>','<c:out value="${resultMap.adbkInnb}" />','Y','<c:out value=" ${resultMap.mbrInnb}"/>','<c:out value="${resultMap.mbrDvCd}"/>'); return false;">
<spring:message code="button.delete" />
</button>
</c:if>
</div>
</div>
<label for="${status.index}" onclick = "fn_select_mngrOrdr_postcode(${callbackNm},${status.index}, '${formId}')">
<div class="shipping-list__item-inner">
<p class="name">
<c:out value="${resultMap.recpntNm}" />
</p>
<p>
(<c:out value="${resultMap.zip}" />)
<c:choose>
<c:when test="${resultMap.adresDv eq '01'}">
<c:out value="${resultMap.rnmAdres}" />
</c:when>
<c:when test="${resultMap.adresDv eq '02'}">
<c:out value="${resultMap.lnbAdres}"/>
</c:when>
</c:choose>
<c:out value="${resultMap.dtlAdres}" />
</p>
<p class="number mbtlnb">
<c:out value="${resultMap.mbtlnb}" />
</p>
</div>
</label>
</div>
<input type="hidden" name="mbrInnb" id = "dlvyLcMbr" value="<c:out value='${mbrInnb}'/>" />
<input type="hidden" id="mbrDvCd" value="<c:out value='${mbrDvCd}'/>" />
<input type="hidden" id="formId" value="<c:out value='${formId}'/>" />
<input type="hidden" name="zip" class = "zip" value="<c:out value='${resultMap.zip}'/>" />
<input type="hidden" name="adresDv" class = "adresDv" value="<c:out value='${resultMap.adresDv}'/>" />
<input type="hidden" name="rnmAdres" class = "rnmAdres" value="<c:out value='${resultMap.rnmAdres}'/>" />
<input type="hidden" name="lnbAdres" class = "lnbAdres"value="<c:out value='${resultMap.lnbAdres}'/>" />
<input type="hidden" name="recpntNm" class = "recpntNmR" value="<c:out value='${resultMap.recpntNm}'/>" />
<input type="hidden" name="dtlAdres" class = "dtlAdres" value="<c:out value='${resultMap.dtlAdres}'/>" />
<input type="hidden" name="mbtlnb" class = "dlvylcMbtlnb" value="<c:out value='${resultMap.mbtlnb}' />" />
</c:forEach>
</c:when>
<c:otherwise>
<table class="table vertical">
<colgroup>
<col style="width: 100%;">
</colgroup>
<tbody>
<tr>
<td colspan="100%"><spring:message code="common.nodata"/></td>
</tr>
</tbody>
</table>
</c:otherwise>
</c:choose>
</div>
<input type="hidden" id="pageIndex" name="pageIndex" value="${pageIndex}" />
<input type="hidden" id="isPop" name="isPop" value="Y" />
<div class="pagination__container mt-30">
<ui:pagination paginationInfo="${resultMap.paginationInfo}" type="image" jsFunction="fn_move_dlvylc_manage_pop_wrapper" />
</div>
</form>
</div>
</div>

View File

@@ -0,0 +1,64 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="ui" uri="http://www.winbit.kr/ctl/ui"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%--
Class Name : DlvylcRegistPopupC.jsp
Description : 배송지 등록 popup jsp
Modification Information
수정일 수정자 수정내용
------- -------- ---------------------------
since : 2023.11.28 김혜인 최초 생성
2024.01.03 김혜인 등록 스크립트 추가
--%>
<!-- 배송지 모달 -->
<!-- 배송지 등록 -->
<div id="dlvylcRegist" class="modal" style="max-width: 480px;">
<form id="dlvylcRegistForm" name="dlvylcRegistForm" action="<c:url value="/crm/dlvylc/insertDlvylcRegist"/>" method="post">
<div class="modal-header">
<h4>배송지 등록</h4>
</div>
<div class="modal-content">
<div class="input-mobile-item">
<div class="input-mobile-item__title ">배송지명<span class="red-7">*</span></div>
<input name="dlvylcDcCn" type="text" class="input-text full" title="배송지명"
maxlength="67"/>
</div>
<div class="input-mobile-item">
<div class="input-mobile-item__title">받으시는 분<span class="red-7">*</span></div>
<input name="recpntNm" type="text" class="input-text full" title="받으시는 분" maxlength="13"/>
</div>
<div class="input-mobile-item">
<div class="input-mobile-item__title">배송지 주소<span class="red-7">*</span></div>
<input id="zip" name="zip" type="text" class="input-text" title="우편번호" maxlength="5" readonly />
<button type="button" onclick="fn_select_postcode(fn_select_dlvylc_postcode); return false;"
class="btn dark find-address">우편번호 찾기</button>
<input id="adres" name="adres" type="text" class="input-text full my-6" title="주소"
maxlength="66" readonly/>
<input id="dtlAdres" name="dtlAdres" type="text" class="input-text full"
placeholder="나머지 주소를 입력해 주세요" title="상세주소" maxlength="66" />
</div>
<div class="input-mobile-item">
<div class="input-mobile-item__title">휴대전화번호<span class="red-7">*</span></div>
<input name="mbtlnb" type="text" class="input-text md telno" placeholder="휴대폰번호('-'없이 입력)" title="휴대전화 번호"
maxlength="13"/>
</div>
<div class="b-checkbox-container default-address-check">
<label class="b-checkbox checkbox">
<input type="checkbox" id="dftDlvylcAt" name="dftDlvylcAt" value="Y"/>
<span class="check"></span> <span class="control-label">기본 배송지</span>
</label>
</div>
</div>
<div class="modal-footer">
<a href="#" rel="modal:close" class="btn outline">취소</a>
<button id="DlvylcRegistBtn" class="btn primary" onclick="fn_insert_dlvylc('<c:out value="${crmDlvylcVO.mbrInnb}"/>','<c:out value="${crmDlvylcVO.mbrDvCd}"/>','<spring:message code='success.common.insert'/>'); return false;">등록하기</button>
</div>
<input type="hidden" id="adresDv" name="adresDv">
<input type="hidden" id="dlvyMbrInnb" name="mbrInnb" value="<c:out value="${crmDlvylcVO.mbrInnb}"/>">
<input type="hidden" id="dlvyMbrDvCd" name="mbrDvCd" value="<c:out value="${crmDlvylcVO.mbrDvCd}"/>">
<input type="hidden" id="isPop">
</form>
</div>

View File

@@ -0,0 +1,81 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="ui" uri="http://www.winbit.kr/ctl/ui"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%--
Class Name : DlvylcUpdtPopupU.jsp
Description : 배송지 수정 popup jsp
Modification Information
수정일 수정자 수정내용
------- -------- ---------------------------
since : 2023.11.28 김혜인 최초 생성
--%>
<!-- 배송지 모달 -->
<!-- 배송지 수정-->
<div id="dlvylcUpdate" class="modal" style="max-width: 480px;">
<form id="dlvylcUpdtForm" name="dlvylcUpdtForm" action="<c:url value=" /crm/dlvylc/updateDlvylcUpdt" />" method="post">
<div class="modal-header">
<h4>배송지 수정</h4>
</div>
<div class="modal-content">
<div class="input-mobile-item">
<div class="input-mobile-item__title">배송지명 <span class="red-7">*</span></div>
<input name="dlvylcDcCn" type="text" class="input-text full" title="배송지명"
value="<c:out value = "${dtlDlvylc.resultVO.dlvylcDcCn}" />" maxlength="67"/>
</div>
<div class="input-mobile-item">
<div class="input-mobile-item__title">받으시는 분<span class="red-7">*</span></div>
<input type="text" class="input-text full" title="받으시는 분" name="recpntNm"
value="<c:out value = "${dtlDlvylc.resultVO.recpntNm}" />" maxlength="13">
</div>
<div class="input-mobile-item">
<div class="input-mobile-item__title">배송지 주소<span class="red-7">*</span></div>
<input id="zip" name="zip" type="text" class="input-text" title="우편번호"
value="<c:out value = "${dtlDlvylc.resultVO.zip}"/>" maxlength="5" readonly/>
<button type="button" onclick="fn_select_postcode(fn_select_dlvylc_postcode); return false;" class="btn dark find-address">우편번호 찾기</button>
<input id="adres" name="adres" type="text" class="input-text full my-6" title="주소"
value=<c:choose>
<c:when test = "${dtlDlvylc.resultVO.adresDv eq '01'}">'<c:out value = "${dtlDlvylc.resultVO.rnmAdres}"/>'</c:when>
<c:when test = "${dtlDlvylc.resultVO.adresDv eq '02'}">'<c:out value = "${dtlDlvylc.resultVO.lnbAdres}"/>'</c:when>
</c:choose>
maxlength="66" readonly>
<input id="dtlAdres" name="dtlAdres" type="text" class="input-text full" placeholder="나머지 주소를 입력해 주세요" title="상세주소"
value="<c:out value = '${dtlDlvylc.resultVO.dtlAdres}'/>" maxlength="66" />
</div>
<div class="input-mobile-item">
<div class="input-mobile-item__title">휴대전화번호<span class="red-7">*</span></div>
<input type="text" class="input-text telno md telno" placeholder="휴대폰번호('-'없이 입력)" title="휴대전화 번호" name="mbtlnb"
value="<c:out value = "${dtlDlvylc.resultVO.mbtlnb}"/>" maxlength="13" >
</div>
<div class="b-checkbox-container default-address-check">
<label class="b-checkbox checkbox" id = "dftDlvylcAtLabel">
<c:choose>
<c:when test="${dtlDlvylc.resultVO.dftDlvylcAt eq 'Y'}">
<input type="checkbox" id="dftDlvylcAt" name="dftDlvylcAt" value="Y" checked>
</c:when>
<c:otherwise>
<input type="checkbox" id="dftDlvylcAt" name="dftDlvylcAt" value="Y">
</c:otherwise>
</c:choose>
<span class="check"></span>
<span class="control-label">기본 배송지</span>
</label>
</div>
</div>
<div class="modal-footer">
<a href="#" rel="modal:close" class="btn outline">취소</a>
<button type="button" id="DlvylcUpdateBtn" class="btn primary" onclick="fn_update_dlvylc('1','<spring:message code="success.common.update"/>','<c:out value = '${dtlDlvylc.resultVO.mbrInnb}'/>','<c:out value = "${dtlDlvylc.resultVO.mbrDvCd}" />');return false;">
<spring:message code="button.update" />하기
</button>
</div>
<input type="hidden" id="mbrInnb" name="mbrInnb" value="<c:out value = "${dtlDlvylc.resultVO.mbrInnb}" />">
<input type="hidden" id="mbrDvCd" name="mbrDvCd" value="<c:out value = "${dtlDlvylc.resultVO.mbrDvCd}" />">
<input type="hidden" id="adbkInnb" name="adbkInnb" value="<c:out value = "${dtlDlvylc.resultVO.adbkInnb}" />">
<input type="hidden" id="adresDv" name="adresDv" value="<c:out value = "${dtlDlvylc.resultVO.adresDv}"/>">
<input type="hidden" id="isPop">
</form>
</div>

View File

@@ -0,0 +1,78 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="ui" uri="http://www.winbit.kr/ctl/ui" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%--
Class Name : MbrDlvylcListInqireR.jsp
Description : 자주쓰는 배송지 틀 jsp
Modification Information
수정일 수정자 수정내용
------- -------- ---------------------------
since : 2023.11.28 김혜인 최초 생성
2023.12.19 김혜인 수정
--%>
<!DOCTYPE html>
<html lang="ko">
<head>
<%@include file ="/WEB-INF/views/comm/crm/Include.jsp" %>
<script src="<c:url value='/mngr/js/crm/dlvylc/dlvylc.js'/>"></script>
<script>
<%--처음 화면 조회시 자주쓰는 배송지 클릭 --%>
$(document).ready(function(){
//crm 정보 조회
if ($("#mbrTyCd").val() === '01') {
fn_get_crm_info($("#leftMbrInnb").val(), $("#leftMbrDvCd").val());
} else {
fn_get_crm_info_nmbr($("#leftMbtlnb").val());
$("#nmbrMbtlnb").text(fn_format_mbtlnb($("#nmbrMbtlnb").text()));
}
$("#rpuseDlvylcBtn").addClass("current");
fn_select_rpuseDlvylcList(1)
fn_add_crm_menu_class("leftMbrDlvy");
$(".tab-box__btn").on("click",function(){
$(".tab-box__btn").not($(this)).removeClass("current");
$(".box__content").not($(this)).removeClass("current");
});
});
</script>
</head>
<body>
<%-- 상단메뉴 공통화 적용 : 2024-01-25/ 김혜인 추가 --%>
<%@include file="/WEB-INF/views/comm/crm/Header.jsp" %>
<main class="main">
<%-- 좌측메뉴 공통화 적용 :2024-01-25/ 김혜인 추가 --%>
<%@include file="/WEB-INF/views/comm/crm/Left.jsp" %>
<div class="content">
<div class="content__inner">
<button class="side-nav__fold"><span class="visually-hidden">좌측메뉴 펼치기/닫기</span></button>
<div class="page-title">
<h2 class="page-title__title">회원 배송지 목록</h2>
<div class="page-title__btn-container">
</div>
</div>
<section class="content-section">
<div class="tab-box">
<button class="tab-box__btn" id="rpuseDlvylcBtn" onclick="fn_select_rpuseDlvylcList(1)">자주쓰는 배송지
</button>
<button class="tab-box__btn" id="resentDlvylcBtn" onclick="fn_select_recentDlvylcList(1)">최근 배송지
</button>
</div>
<div class="tab-box__content" id="rpuseDlvylcContent">
</div>
<div class="tab-box__content" id="resentDlvylcContent">
</div>
</section>
</div>
<%-- 좌측메뉴 공통화 적용 :2024-01-25/ 김혜인 추가 --%>
<%@include file="/WEB-INF/views/comm/crm/Right.jsp" %>
</div>
</main>
<div id="modalDiv">
</div>
</body>
</html>

View File

@@ -0,0 +1,114 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="ui" uri="http://www.winbit.kr/ctl/ui"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%--
Class Name : RecentDlvylcListInqireR.jsp
Description : 최근 배송지 조회 jsp
Modification Information
수정일 수정자 수정내용
------- -------- ---------------------------
since : 2023.11.28 김혜인 최초 생성
--%>
<!--최근 배송지 -->
<form id="resentDlvylcForm">
<div class="form-control-container">
<div class="left">
</div>
<div class="center">
</div>
<div class="right">
<div class="select-box">
<select title="정렬순서" id = "recentDlvylcOrdering"
onchange = "fn_select_recentDlvylcList(1,this.value)">
<option value="recentRegist" <c:if test="${ordering eq 'recentRegist'}">selected="selected"</c:if>>최근등록순</option>
<option value="recpntNmUp" <c:if test="${ordering eq 'recpntNmUp'}">selected="selected"</c:if>>받는분↑</option>
<option value="recpntNmUpDwn" <c:if test="${ordering eq 'recpntNmUpDwn'}">selected="selected"</c:if>>받는분↓</option>
</select>
</div>
<div class="select-box">
<select id="recentId" onchange="fn_select_recentDlvylcList(1)">
<c:forEach items="${ resultMap.paginationInfo.pageUnitArr }" var="pageUnit" varStatus="pageUnitStatus">
<option value="<c:out value="${ pageUnit }"/>" <c:if test="${ resultMap.paginationInfo.recordCountPerPage eq pageUnit}">selected="selected"</c:if>><c:out value="${ pageUnit }"/>개씩</option>
</c:forEach>
</select>
</div>
</div>
</div>
<hr class="horizontal-line">
<hr class="spacing">
<div class="table-wrapper">
<input type="hidden" id="recentPageIndex" name="pageIndex" value="1" />
<table id="recentDlvylcTable" class="table vertical">
<caption>자주쓰는 배송지</caption>
<colgroup>
<col style="width: 18%;">
<col style="width: auto;">
<col style="width: 18%;">
<col style="width: 18%;">
</colgroup>
<tbody>
<tr>
<th>받는분</th>
<th>주소</th>
<th>연락처</th>
<th>관리</th>
</tr>
<c:choose>
<c:when test="${not empty resultMap.resultList}">
<c:forEach var="recentMap" items="${resultMap.resultList}" varStatus="status">
<tr>
<td>
<span class ="mr-5"><c:out value="${recentMap.recpntNm}"/></span>
</td>
<td class="left">
<span class ="mr-5">(<c:out value="${recentMap.dlvylcZip}"/>)</span>
<c:choose>
<c:when test="${recentMap.dlvylcAdresDvCd eq '01'}">
<input type ="hidden" name = "adres" value="<c:out value="${recentMap.dlvylcRnmAdres}"/>">
<input type ="hidden" name = "dlvylcAdresDvCd" value="<c:out value="${recentMap.dlvylcAdresDvCd}"/>">
<span class ="mr-5"><c:out value="${recentMap.dlvylcRnmAdres }" /></span>
</c:when>
<c:when test ="${recentMap.dlvylcAdresDvCd eq '02'}">
<input type ="hidden" name = "adres" value="<c:out value="${recentMap.dlvylcLnbAdres}"/>">
<input type ="hidden" name = "dlvylcAdresDvCd" value="<c:out value="${recentMap.dlvylcAdresDvCd}"/>">
<span class ="mr-5"><c:out value="${recentMap.dlvylcLnbAdres}"/></span>
</c:when>
</c:choose>
<span class ="mr-5"><c:out value="${recentMap.dlvylcAdresDtl}"/></span>
</td>
<td>
<span class ="mr-5 recentMbtlnb"><c:out value="${recentMap.recpntMbtlnb }"/></span>
</td>
<td>
<button type="button" id="repuseDlvylcRegist" class=" btn xsm outline" onclick="fn_move_repuseDlvylc('<spring:message code='success.common.insert'/>',this);">
자주쓰는 배송지
</button>
</td>
<%-- 자주쓰는 배송지 정보--%>
<input type = "hidden" name = "recpntNm" value ="<c:out value='${recentMap.recpntNm }' />">
<input type = "hidden" name = "dlvylcZip" value ="<c:out value='${recentMap.dlvylcZip}' />"/>
<input type = "hidden" name = "dlvylcAdresDtl" value ="<c:out value='${recentMap.dlvylcAdresDtl }' />" >
<input type = "hidden" name = "recpntMbtlnb" value ="<c:out value='${recentMap.recpntMbtlnb }' />">
<input type = "hidden" name = "recentMbrDvCd" value ="<c:out value='${recentMap.mbrDvCd }' />">
<input type = "hidden" name = "recentMbrInnb" value ="<c:out value='${recentMap.mbrInnb }' />">
<input type = "hidden" name = "dlvylcDcCn" value ="<c:out value='${recentMap.recpntNm }'/>" id="dlvylcDcCn"/>
<input type = "hidden" name = "recentDlvylcAt" value ="Y"/>
</tr>
</c:forEach>
</c:when>
<c:otherwise>
<tr>
<td colspan="4">조회된 데이터가 없습니다 </td>
</tr>
</c:otherwise>
</c:choose>
</tbody>
</table>
</div>
<div class="pagination__container mt-30">
<ui:pagination paginationInfo="${resultMap.paginationInfo}" type="image" jsFunction="fn_select_recentDlvylcList" />
</div>
</form>

View File

@@ -0,0 +1,128 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="ui" uri="http://www.winbit.kr/ctl/ui"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%--
Class Name : RpuseDlvylcListInqireR.jsp
Description : 자주쓰는 배송지 내용.jsp
Modification Information
수정일 수정자 수정내용
------- -------- ---------------------------
since : 2023.11.28 김혜인 최초 생성
--%>
<!--자주사용하는 배송지 -->
<div class="form-control-container">
<div class="left">
</div>
<div class="center">
</div>
<div class="right">
<div class="select-box">
<select id = "rpuseSelect" onchange="fn_select_rpuseDlvylcList(1)">
<c:forEach items="${ resultMap.paginationInfo.pageUnitArr }" var="pageUnit" varStatus="pageUnitStatus">
<option value="<c:out value="${ pageUnit }"/>" <c:if test="${ resultMap.paginationInfo.recordCountPerPage eq pageUnit}">selected="selected"</c:if>><c:out value="${ pageUnit }"/>개씩</option>
</c:forEach>
</select>
</div>
</div>
</div>
<hr class="horizontal-line">
<hr class="spacing">
<div class="form-control-container mb-10">
<div class="left"></div>
<div class="center">
</div>
<div class="right">
<button class="btn primary sm" id="insertDlvylcBtn"
onclick="fn_move_dlvylc_regpage_pop('N','','',<c:if test = "${empty resultMap.resultList}">'Y'</c:if>); return false;">
<spring:message code="button.insert"/>
</button>
</div>
</div>
<form id="rpuseDlvylcForm" >
<div class="table-wrapper">
<table class="table vertical">
<caption>자주쓰는 배송지</caption>
<colgroup>
<col style="width: 18%;">
<col style="width: auto;">
<col style="width: 40%;">
<col style="width: 18%;">
<col style="width: 10%;">
</colgroup>
<tbody>
<tr>
<th>배송지명</th>
<th>받는분</th>
<th>주소</th>
<th>연락처</th>
<th>관리</th>
</tr>
<c:choose>
<c:when test="${not empty resultMap.resultList}">
<c:forEach var="resultRuseList" items="${resultMap.resultList}" varStatus="loop">
<tr>
<td>
<span>
<c:out value="${resultRuseList.dlvylcDcCn }" />
</span>
</td>
<td>
<span>
<c:out value="${resultRuseList.recpntNm }" />
</span>
</td>
<td class ="left">
<span>
(<c:out value="${resultRuseList.zip}" />)
<c:choose>
<c:when test="${resultRuseList.adresDv eq '01'}">
<c:out value="${resultRuseList.rnmAdres }" />
</c:when>
<c:otherwise>
<c:out value="${resultRuseList.lnbAdres}" />
</c:otherwise>
</c:choose>
<c:out value="${resultRuseList.dtlAdres }" />
</span>
<c:if test = "${resultRuseList.dftDlvylcAt == 'Y'}">
<span class="default-address left">기본</span>
</c:if>
</td>
<td>
<span class = "mbtlnb">
<c:out value="${resultRuseList.mbtlnb }"/>
</span>
</td>
<td>
<button type="button" id="selectDlvylcUpdtPopupForm" class="btn xsm dark"
onclick="fn_move_dlvylc_uptpage_pop(<c:out value="${pageIndex}" />,<c:out value=" ${resultRuseList.adbkInnb}"/>,'N','<c:out value="${mbrInnb}"/>','<c:out value="${mbrDvCd}"/>')">
<spring:message code="button.update" />
</button>
<c:if test="${resultRuseList.dftDlvylcAt eq 'N'}">
<button type="button" id="deleteDlvylcDel" class="btn xsm primary outline"
onclick="fn_delete_dlvylc('<spring:message code="success.common.delete"/>','<c:out value=" ${resultRuseList.adbkInnb}" />','N','<c:out value="${mbrInnb}"/>','<c:out value="${mbrDvCd}"/>')">
<spring:message code="button.delete" />
</button>
</c:if>
</td>
</tr>
</c:forEach>
</c:when>
<c:otherwise>
<tr>
<td colspan="4">조회된 데이터가 없습니다 </td>
</tr>
</c:otherwise>
</c:choose>
</tbody>
</table>
</div>
<input type="hidden" id="rpusePageIndex" name="pageIndex" value="1" />
<div class="pagination__container mt-30">
<ui:pagination paginationInfo="${resultMap.paginationInfo}" type="image" jsFunction="fn_select_rpuseDlvylcList" />
</div>
</form>