jsshin il y a 5 ans
Parent
commit
f079b78015
1 fichiers modifiés avec 16 ajouts et 7 suppressions
  1. 16 7
      src/main/webapp/WEB-INF/views/customer/CustomerDetailForm.html

+ 16 - 7
src/main/webapp/WEB-INF/views/customer/CustomerDetailForm.html

@@ -81,7 +81,7 @@
 						<!-- TAB1 PANELSTYLE -->
 						<div class="panelStyle">
 							<form id="custInfoForm" name="custInfoForm" action="#" method="post">
-								<input type="hidden" id="custNo" name="custNo" th:value="${custNo}"/>
+								<input type="hidden" name="custNo" th:value="${custNo}"/>
 								<h4>기본정보</h4>
 								<table class="frmStyle">
 									<colgroup>
@@ -242,6 +242,7 @@
 						<!-- TAB3 PANELSTYLE -->
 						<div class="panelStyle">
 							<form id="custAddrForm" name="custAddrForm" action="#" method="post">
+								<input type="hidden" name="custNo" th:value="${custNo}"/>
 								<h4>배송지정보</h4>
 								<div id="custAddrList" class="ag-theme-balham" style="width: 100%; height: 300px;" ></div>
 								<table class="frmStyle">
@@ -277,8 +278,12 @@
 									<tr>
 										<th>전화번호</th>
 										<td>
-											<input type="text" class="w100" name="telFirstNo" maxlength="4" data-valid-type="numeric"
-												   data-valid-name="전화번호"/> -
+											<input th:type="hidden" id="recipTelno" name="recipTelno">
+											<select class="w100" id="telFirstNo" name="telFirstNo"/>
+												<option value="">선택</option>
+												<option th:if="${nationalNumberList}" th:each="oneData, status : ${nationalNumberList}"
+														th:value="${oneData.cd}" th:text="|${oneData.cd}|"></option>
+											</select> -
 											<input type="text" class="w100" name="telMiddleNo" maxlength="4" data-valid-type="numeric"
 												   data-valid-name="전화번호"/> -
 											<input type="text" class="w100" name="telLastNo" maxlength="4" data-valid-type="numeric"
@@ -286,11 +291,15 @@
 										</td>
 										<th>휴대전화번호<i class="star"></i></th>
 										<td colspan="4">
-											<input type="text" class="w100" name="recipFirstNo" maxlength="4" required="required" data-valid-type="numeric"
-												   data-valid-name="휴대전화번호"/> -
-											<input type="text" class="w100" name="recipMiddleNo" maxlength="4" required="required" data-valid-type="numeric"
+											<input th:type="hidden" id="recipPhnno" name="recipPhnno"/>
+											<select class="w100" id="recipFirstNo" name="recipFirstNo">
+												<option value="">선택</option>
+												<option th:if="${nationalHpNumberList}" th:each="oneData, status : ${nationalHpNumberList}"
+														th:value="${oneData.cd}" th:text="|${oneData.cd}|"></option>
+											</select> -
+											<input type="text" class="w100" id="recipMiddleNo" name="recipMiddleNo" maxlength="4" required="required" data-valid-type="numeric"
 												   data-valid-name="휴대전화번호"/> -
-											<input type="text" class="w100" name="recipLastNo" maxlength="4" required="required" data-valid-type="numeric"
+											<input type="text" class="w100" id="recipLastNo" name="recipLastNo" maxlength="4" required="required" data-valid-type="numeric"
 												   data-valid-name="휴대전화번호"/>
 										</td>
 									</tr>