Files
sake/src/main/webapp/WEB-INF/views/crm/dlvylc/DlvylcUpdtPopupU.jsp

81 lines
4.8 KiB
Plaintext

<%@ 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; max-height: 100%;">
<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>