|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
<!-- Page Body -->
|
|
|
|
|
<div class="card">
|
|
|
|
|
<!-- 입력 영역 -->
|
|
|
|
|
<form id="frmInfo--${pageName}" name="frmInfo">
|
|
|
|
|
<form id="frmEdit--${pageName}" name="frmEdit">
|
|
|
|
|
<!-- hidden -->
|
|
|
|
|
<input type="hidden" id="crdnId--${pageName}" name="crdnId" data-map="CRDN_ID" />
|
|
|
|
|
<input type="hidden" id="sggCd--${pageName}" name="sggCd" data-map="SGG_CD" />
|
|
|
|
@ -27,7 +27,7 @@
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<label for="levyExclYmd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">부과제외 일자</label>
|
|
|
|
|
<input type="text" class="form-control form-date" id="levyExclYmd--${pageName}" name="levyExclYmd" data-map="LEVY_EXCL_YMD"
|
|
|
|
|
data-fmt-type="day" title="날짜 선택" required />
|
|
|
|
|
data-fmt-type="day" title="날짜 선택" maxlength="10" required />
|
|
|
|
|
<button type="button" class="bx bx-sm bx-calendar bg-white"></button>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 부과제외 사유 -->
|
|
|
|
@ -43,7 +43,7 @@
|
|
|
|
|
<!-- 기타 내용 -->
|
|
|
|
|
<div class="col-md-12">
|
|
|
|
|
<label for="etcCn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">기타 내용</label>
|
|
|
|
|
<input type="text" class="form-control w-px-400" id="etcCn--${pageName}" name="etcCn" data-map="ETC_CN" />
|
|
|
|
|
<input type="text" class="form-control w-px-400" id="etcCn--${pageName}" name="etcCn" data-map="ETC_CN" data-maxlengthb="1000" />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
@ -69,7 +69,7 @@
|
|
|
|
|
// URL
|
|
|
|
|
var prefixUrl = "/excl/excl01";
|
|
|
|
|
//
|
|
|
|
|
var ${pageName}Fields = new FormFields("#frmInfo--${pageName}");
|
|
|
|
|
var ${pageName}Fields = new FormFields("#frmEdit--${pageName}");
|
|
|
|
|
var ${pageName}Mode = "${pageMode}";
|
|
|
|
|
// 공통 코드
|
|
|
|
|
var FIM021 = new CommonCodes(${FIM021}, true);
|
|
|
|
@ -143,7 +143,7 @@
|
|
|
|
|
// 검색조건 초기값 셋팅
|
|
|
|
|
function initForm${pageName}() {
|
|
|
|
|
// 달력 초기화
|
|
|
|
|
initDatepicker("frmInfo--${pageName}");
|
|
|
|
|
initDatepicker("frmEdit--${pageName}");
|
|
|
|
|
$("#levyExclYmd--${pageName}").datepicker("setDate", new Date());
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -152,12 +152,25 @@
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 일자 포맷
|
|
|
|
|
$("#frmEdit--${pageName}").find(".form-date").each(function() {
|
|
|
|
|
$(this).on("input",function(){
|
|
|
|
|
var value = this.value.replaceAll("-","");
|
|
|
|
|
|
|
|
|
|
if(value.length > 7){
|
|
|
|
|
this.value = value.substring(0,4)+"-"+value.substring(4,6)+"-"+value.substring(6);
|
|
|
|
|
} else if(value.length > 5){
|
|
|
|
|
this.value = value.substring(0,4)+"-"+value.substring(4);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* function
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
// 저장
|
|
|
|
|
function fnSave${pageName}() {
|
|
|
|
|
let formFields = new FimsFormFields("#frmInfo--${pageName}");
|
|
|
|
|
let formFields = new FimsFormFields("#frmEdit--${pageName}");
|
|
|
|
|
let data = formFields.get();
|
|
|
|
|
|
|
|
|
|
dialog.alert({
|
|
|
|
|