우편통합 발송 수정.

main
jjh 1 year ago
parent 89cb699f75
commit aea386663b

@ -264,6 +264,7 @@
info.sndngId = ${pageName}Control.dataset.getValue("SNDNG_ID"); info.sndngId = ${pageName}Control.dataset.getValue("SNDNG_ID");
info.sndngYmd = obj.sndngYmd; info.sndngYmd = obj.sndngYmd;
info.dudtYmd = obj.dudtYmd; info.dudtYmd = obj.dudtYmd;
info.divKb = obj.divKb;
ajax.post({ ajax.post({
url : wctx.url("/" + taskSeCd + ${pageName}PrefixUrl + "/080/createSndngLink.do") url : wctx.url("/" + taskSeCd + ${pageName}PrefixUrl + "/080/createSndngLink.do")
@ -394,11 +395,11 @@
let popupY= (window.screen.height / 2) - (popupHeight / 2); let popupY= (window.screen.height / 2) - (popupHeight / 2);
window.open( window.open(
wctx.url("/resources/html/inputEPostDialog.html" wctx.url("/resources/html/inputDateDialog.html"
+ "?callbackFuncName=" + callbackFuncName + "?callbackFuncName=" + callbackFuncName
+ "&SNDNG_YMD=" + ${pageName}Control.dataset.getValue("SNDNG_YMD") + "&SNDNG_YMD=" + ${pageName}Control.dataset.getValue("SNDNG_YMD")
+ "&DUDT_YMD=" + ${pageName}Control.dataset.getValue("DUDT_YMD")) + "&DUDT_YMD=" + ${pageName}Control.dataset.getValue("DUDT_YMD"))
,"inputEPostDialog" ,"inputEPostDateDialog"
,'status=no, height=' + popupHeight + ', width=' + popupWidth + ', left='+ popupX + ', top='+ popupY ,'status=no, height=' + popupHeight + ', width=' + popupWidth + ', left='+ popupX + ', top='+ popupY
); );
} }

@ -2,8 +2,6 @@
<html> <html>
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>일자선택</title>
<!-- Favicon --> <!-- Favicon -->
<link rel="icon" type="image/x-icon" href="/resources/image/favicon.ico" /> <link rel="icon" type="image/x-icon" href="/resources/image/favicon.ico" />
<!-- Fonts --> <!-- Fonts -->
@ -25,11 +23,13 @@
<link rel="stylesheet" href="/resources/css/fims/framework/common/common.css"/> <link rel="stylesheet" href="/resources/css/fims/framework/common/common.css"/>
<link rel="stylesheet" href="/resources/lib/fims/framework/jquery-ui/1.13.2/themes/redmond/jquery-ui.css" /> <link rel="stylesheet" href="/resources/lib/fims/framework/jquery-ui/1.13.2/themes/redmond/jquery-ui.css" />
<link rel="stylesheet" href="/resources/lib/fims/framework/datepicker/datepicker.css" /> <link rel="stylesheet" href="/resources/lib/fims/framework/datepicker/datepicker.css" />
<title>일자선택</title>
</head> </head>
<body> <body>
<div class="card m-4 p-3"> <div class="card m-4 p-3">
<form id="frmInputDate" name="frmInputDate" method="post"> <form name="frmInputDate" id="frmInputDate" method="post">
<div class="container-search"> <div class="container-search">
<div class="row g-1"> <div class="row g-1">
<!-- 발송 일자 --> <!-- 발송 일자 -->
@ -46,6 +46,14 @@
data-fmt-type="day" title="날짜 선택" maxlength="10" required /> data-fmt-type="day" title="날짜 선택" maxlength="10" required />
<button type="button" class="bx bx-sm bx-calendar bg-white"></button> <button type="button" class="bx bx-sm bx-calendar bg-white"></button>
</div> </div>
<!-- 취급 구분 -->
<div class="col-md-12">
<label for="dudtYmd" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">우편발송구분</label>
<span class="form-search-linebox">
<input type="radio" id="rdRegular" class="form-check-input" name="divKb" alt="일반" value="000"><label for="rdRegular">일반</label>
<input type="radio" id="rdRegistered" class="form-check-input" name="divKb" alt="등기" value="001" checked="checked"><label for="rdRegistered">등기</label>
</span>
</div>
</div> </div>
</div> </div>
</form> </form>
@ -87,6 +95,7 @@
inputDate.sndngYmd = $("#sndngYmd").val(); inputDate.sndngYmd = $("#sndngYmd").val();
inputDate.dudtYmd = $("#dudtYmd").val(); inputDate.dudtYmd = $("#dudtYmd").val();
inputDate.divKb = $("input[name='divKb']:checked").val();
window.opener[callbackFuncName](inputDate); window.opener[callbackFuncName](inputDate);
window.close(); window.close();
@ -98,7 +107,7 @@
$("#sndngYmd").datepicker("setDate", sndngYmd); $("#sndngYmd").datepicker("setDate", sndngYmd);
$("#dudtYmd").datepicker("setDate", dudtYmd); $("#dudtYmd").datepicker("setDate", dudtYmd);
}); })
</script> </script>
</body> </body>
Loading…
Cancel
Save