|
@@ -89,13 +89,22 @@ $(document).ready( function() {
|
|
|
// 2. 버튼기능구현
|
|
// 2. 버튼기능구현
|
|
|
// 2.1 배송지선택버튼
|
|
// 2.1 배송지선택버튼
|
|
|
$("#delvAddrChangeForm .btn_sel_delvAddr").on("click", function(){
|
|
$("#delvAddrChangeForm .btn_sel_delvAddr").on("click", function(){
|
|
|
|
|
+ // 2021.11.09 card007 휴대폰번호 유효성검증 추가
|
|
|
|
|
+ let recipPhnno = $(this).parent().find("input[name=recipPhnno]").val();
|
|
|
|
|
+ if (!gagajf.checkPhnno(recipPhnno)) {
|
|
|
|
|
+ mcxDialog.alert("휴대폰번호를 확인해주세요.");
|
|
|
|
|
+
|
|
|
|
|
+ $(this).parent().find('.btn_addrModify_pop').click();
|
|
|
|
|
+
|
|
|
|
|
+ return false;
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
// custDelvAddrSq 부모창으로 전달
|
|
// custDelvAddrSq 부모창으로 전달
|
|
|
var delvObj = {
|
|
var delvObj = {
|
|
|
"custDelvAddrSq" : $(this).attr("value")
|
|
"custDelvAddrSq" : $(this).attr("value")
|
|
|
, "dispYn" : "Y"
|
|
, "dispYn" : "Y"
|
|
|
, "recipNm" : $(this).parent().find("input[name=recipNm]").val()
|
|
, "recipNm" : $(this).parent().find("input[name=recipNm]").val()
|
|
|
- , "recipPhnno" : $(this).parent().find("input[name=recipPhnno]").val()
|
|
|
|
|
|
|
+ , "recipPhnno" : recipPhnno
|
|
|
, "recipZipcode" : $(this).parent().find("input[name=recipZipcode]").val()
|
|
, "recipZipcode" : $(this).parent().find("input[name=recipZipcode]").val()
|
|
|
, "recipBaseAddr" : $(this).parent().find("input[name=recipBaseAddr]").val()
|
|
, "recipBaseAddr" : $(this).parent().find("input[name=recipBaseAddr]").val()
|
|
|
, "recipDtlAddr" : $(this).parent().find("input[name=recipDtlAddr]").val()
|
|
, "recipDtlAddr" : $(this).parent().find("input[name=recipDtlAddr]").val()
|