|
|
@ -2,11 +2,11 @@
|
|
|
|
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
|
|
|
|
<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Page Body -->
|
|
|
|
<!-- Page Body -->
|
|
|
|
<div class="content-pop">
|
|
|
|
<div class="content-pop" data-doctx="${pageName}">
|
|
|
|
<!-- 입력 영역 -->
|
|
|
|
<!-- 입력 영역 -->
|
|
|
|
<form id="frmEdit--${pageName}" name="frmEdit">
|
|
|
|
<form name="frmEditLevy">
|
|
|
|
<!-- hidden -->
|
|
|
|
<!-- hidden -->
|
|
|
|
<input type="hidden" id="levyId--${pageName}" name="levyId" data-map="LEVY_ID" />
|
|
|
|
<input type="hidden" name="levyId" data-map="LEVY_ID" />
|
|
|
|
|
|
|
|
|
|
|
|
<div class="d-flex flex-row justify-content-evenly">
|
|
|
|
<div class="d-flex flex-row justify-content-evenly">
|
|
|
|
<!-- 부과 정보 -->
|
|
|
|
<!-- 부과 정보 -->
|
|
|
@ -14,128 +14,128 @@
|
|
|
|
<div class="card">
|
|
|
|
<div class="card">
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
<div class="container-page-btn">
|
|
|
|
<div class="container-page-btn">
|
|
|
|
<label class="w-px-120 bg-label-danger pe-2 col-form-label text-sm-center">부과 정보</label>
|
|
|
|
<label class="col-form-label bg-label-danger pe-2 w-px-120 text-sm-center">부과 정보</label>
|
|
|
|
<!-- 버튼 우측 정렬 -->
|
|
|
|
<!-- 버튼 우측 정렬 -->
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" id="btnCreateLevy--${pageName}" title="부과 등록">
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" name="btnCreateLevy" title="부과 등록">
|
|
|
|
부과 등록
|
|
|
|
부과 등록
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" id="btnCreateLevyExcl--${pageName}" title="부과 취소">
|
|
|
|
<button type="button" class="btn btn-primary w-px-120" name="btnCreateLevyExcl" title="부과 취소">
|
|
|
|
부과 취소
|
|
|
|
부과 취소
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
</span>
|
|
|
|
</span> <!-- <span class="container-window-btn-right"> -->
|
|
|
|
</div> <!-- <div class="container-page-btn"> -->
|
|
|
|
</div> <!-- <div class="container-page-btn"> -->
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row g-1">
|
|
|
|
<div class="row g-1">
|
|
|
|
<!-- 회계 구분 코드 -->
|
|
|
|
<!-- 회계 구분 코드 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="acntgSeCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">회계구분</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="acntgSeCd">회계구분</label>
|
|
|
|
<input type="text" class="form-control w-15" id="acntgSeCd--${pageName}" name="acntgSeCd" data-map="ACNTG_SE_CD" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-15" name="acntgSeCd" data-map="ACNTG_SE_CD" readonly />
|
|
|
|
<input type="text" class="form-control w-50" id="acntgSeNm--${pageName}" name="acntgSeNm" data-map="ACNTG_SE_NM" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-50" name="acntgSeNm" data-map="ACNTG_SE_NM" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 세목 코드 -->
|
|
|
|
<!-- 세목 코드 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="acntgSeCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">회계세목</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="txitmCd">회계세목</label>
|
|
|
|
<input type="text" class="form-control w-20" id="txitmCd--${pageName}" name="txitmCd" data-map="TXITM_CD" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-20" name="txitmCd" data-map="TXITM_CD" readonly />
|
|
|
|
<input type="text" class="form-control w-45" id="txitmNm--${pageName}" name="txitmNm" data-map="TXITM_NM" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-45" name="txitmNm" data-map="TXITM_NM" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 운영 항목 코드 -->
|
|
|
|
<!-- 운영 항목 코드 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="operItemCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">운영항목</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="operItemCd">운영항목</label>
|
|
|
|
<input type="text" class="form-control w-15" id="operItemCd--${pageName}" name="operItemCd" data-map="OPER_ITEM_CD" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-15" name="operItemCd" data-map="OPER_ITEM_CD" readonly />
|
|
|
|
<input type="text" class="form-control w-45" id="operItemNm--${pageName}" name="operItemNm" data-map="OPER_ITEM_NM" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-45" name="operItemNm" data-map="OPER_ITEM_NM" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 회계 연도 -->
|
|
|
|
<!-- 회계 연도 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="fyr--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">회계연도</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="fyr">회계연도</label>
|
|
|
|
<input type="text" class="form-control w-20" id="fyr--${pageName}" name="fyr" data-map="FYR" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-20" name="fyr" data-map="FYR" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 부과 번호 -->
|
|
|
|
<!-- 부과 번호 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="levyNo--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">부과번호</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="levyNo">부과번호</label>
|
|
|
|
<input type="text" class="form-control w-20" id="levyNo--${pageName}" name="levyNo" data-map="LEVY_NO" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-20" name="levyNo" data-map="LEVY_NO" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 분납 일련번호 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="ispySn">분납일련번호</label>
|
|
|
|
|
|
|
|
<input is="id-input" type="text" class="form-control w-15" name="ispySn" data-map="ISPY_SN" readonly />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<!-- 과세 물건 -->
|
|
|
|
<!-- 과세 물건 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="txtnThing--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">과세물건</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="txtnThing">과세물건</label>
|
|
|
|
<input type="text" class="form-control w-35" id="txtnThing--${pageName}" name="txtnThing" data-map="TXTN_THING" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-40" name="txtnThing" data-map="TXTN_THING" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 부과 구분 코드 -->
|
|
|
|
<!-- 부과 구분 코드 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="levySeNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">부과구분</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="levySeNm">부과구분</label>
|
|
|
|
<input type="text" class="form-control w-30" id="levySeNm--${pageName}" name="levySeNm" data-map="LEVY_SE_NM" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-30" name="levySeNm" data-map="LEVY_SE_NM" readonly />
|
|
|
|
<input type="hidden" id="levySeCd--${pageName}" name="levySeCd" data-map="LEVY_SE_CD" />
|
|
|
|
<input type="hidden" name="levySeCd" data-map="LEVY_SE_CD" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 통합 구분 코드 -->
|
|
|
|
<!-- 통합 구분 코드 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="untySeNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">통합구분</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="untySeNm">통합구분</label>
|
|
|
|
<input type="text" class="form-control w-30" id="untySeNm--${pageName}" name="untySeNm" data-map="UNTY_SE_NM" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-30" name="untySeNm" data-map="UNTY_SE_NM" readonly />
|
|
|
|
<input type="hidden" id="untySeCd--${pageName}" name="untySeCd" data-map="UNTY_SE_CD" />
|
|
|
|
<input type="hidden" name="untySeCd" data-map="UNTY_SE_CD" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 감경 구분 명 -->
|
|
|
|
<!-- 감경 구분 명 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="rdctSeNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">감경구분</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="rdctSeNm">감경구분</label>
|
|
|
|
<input type="text" class="form-control w-30" id="rdctSeNm--${pageName}" name="rdctSeNm" data-map="RDCT_SE_NM" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-30" name="rdctSeNm" data-map="RDCT_SE_NM" readonly />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 분납 일련번호 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
|
|
|
<label for="ispySn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">분납일련번호</label>
|
|
|
|
|
|
|
|
<input type="text" class="form-control w-15" id="ispySn--${pageName}" name="ispySn" data-map="ISPY_SN" readonly />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 분납 구분 명 -->
|
|
|
|
<!-- 분납 구분 명 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="ispySeNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">분납구분</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="ispySeNm">분납구분</label>
|
|
|
|
<input type="text" class="form-control w-30" id="ispySeNm--${pageName}" name="ispySeNm" data-map="ISPY_SE_NM" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-30" name="ispySeNm" data-map="ISPY_SE_NM" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 분납 이자 -->
|
|
|
|
<!-- 분납 이자 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="ispyInt--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">분납이자</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="ispyInt">분납이자</label>
|
|
|
|
<input type="text" class="form-control w-30 text-end" id="ispyInt--${pageName}" name="ispyInt" data-map="ISPY_INT" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-30 text-end" name="ispyInt" data-map="ISPY_INT" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 부과 일자 -->
|
|
|
|
<!-- 부과 일자 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="levyYmd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">부과일자</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="levyYmd">부과일자</label>
|
|
|
|
<input type="text" class="form-control w-30" id="levyYmd--${pageName}" name="levyYmd" data-map="LEVY_YMD" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-30" idname="levyYmd" data-map="LEVY_YMD" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 최초 납기 일자 -->
|
|
|
|
<!-- 최초 납기 일자 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="frstDudtYmd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">최초납기일자</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="frstDudtYmd">최초납기일자</label>
|
|
|
|
<input type="text" class="form-control w-30" id="frstDudtYmd--${pageName}" name="frstDudtYmd" data-map="FRST_DUDT_YMD" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-30" name="frstDudtYmd" data-map="FRST_DUDT_YMD" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 납기 일자 -->
|
|
|
|
<!-- 납기 일자 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="dudtYmd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">납기일자</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="dudtYmd">납기일자</label>
|
|
|
|
<input type="text" class="form-control w-30" id="dudtYmd--${pageName}" name="dudtYmd" data-map="DUDT_YMD" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-30" name="dudtYmd" data-map="DUDT_YMD" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 부과 본세 -->
|
|
|
|
<!-- 부과 본세 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="levyPcptax--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">부과본세</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="levyPcptax">부과본세</label>
|
|
|
|
<input type="text" class="form-control w-30 text-end" id="levyPcptax--${pageName}" name="levyPcptax" data-map="LEVY_PCPTAX" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-30 text-end" name="levyPcptax" data-map="LEVY_PCPTAX" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 수납 본세 -->
|
|
|
|
<!-- 수납 본세 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="rcvmtPcptax--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">수납본세</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="rcvmtPcptax">수납본세</label>
|
|
|
|
<input type="text" class="form-control w-30 text-end" id="rcvmtPcptax--${pageName}" name="rcvmtPcptax" data-map="RCVMT_PCPTAX" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-30 text-end" name="rcvmtPcptax" data-map="RCVMT_PCPTAX" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 감액 본세 -->
|
|
|
|
<!-- 감액 본세 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="rdamtPcptax--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">감액본세</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="rdamtPcptax">감액본세</label>
|
|
|
|
<input type="text" class="form-control w-30 text-end" id="rdamtPcptax--${pageName}" name="rdamtPcptax" data-map="RDAMT_PCPTAX" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-30 text-end" name="rdamtPcptax" data-map="RDAMT_PCPTAX" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 부과 가산금 -->
|
|
|
|
<!-- 부과 가산금 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="levyAdamt--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">부과가산금</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="levyAdamt">부과가산금</label>
|
|
|
|
<input type="text" class="form-control w-30 text-end" id="levyAdamt--${pageName}" name="levyAdamt" data-map="LEVY_ADAMT" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-30 text-end" name="levyAdamt" data-map="LEVY_ADAMT" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 수납 가산금 -->
|
|
|
|
<!-- 수납 가산금 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="rcvmtAdamt--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">수납가산금</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="rcvmtAdamt">수납가산금</label>
|
|
|
|
<input type="text" class="form-control w-30 text-end" id="rcvmtAdamt--${pageName}" name="rcvmtAdamt" data-map="RCVMT_ADAMT" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-30 text-end" name="rcvmtAdamt" data-map="RCVMT_ADAMT" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 감액 가산금 -->
|
|
|
|
<!-- 감액 가산금 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="rdamtAdamt--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">감액가산금</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="rdamtAdamt">감액가산금</label>
|
|
|
|
<input type="text" class="form-control w-30 text-end" id="rdamtAdamt--${pageName}" name="rdamtAdamt" data-map="RDAMT_ADAMT" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-30 text-end" name="rdamtAdamt" data-map="RDAMT_ADAMT" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- -->
|
|
|
|
<!-- -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
@ -145,49 +145,74 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 합계 금액 -->
|
|
|
|
<!-- 합계 금액 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="sumAmt--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">미납금액</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="sumAmt">미납금액</label>
|
|
|
|
<input type="text" class="form-control w-30 text-end fw-bold text-red" id="sumAmt--${pageName}" name="sumAmt" data-map="SUM_AMT" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-30 text-end fw-bold text-red" name="sumAmt" data-map="SUM_AMT" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 관리 항목 1 -->
|
|
|
|
<!-- 관리 항목 1 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="mngItem1--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">관리항목1</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="mngItem1">관리항목1</label>
|
|
|
|
<input type="text" class="form-control w-65" id="mngItem1--${pageName}" name="mngItem1" data-map="MNG_ITEM1" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-65" name="mngItem1" data-map="MNG_ITEM1" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 관리 항목 2 -->
|
|
|
|
<!-- 관리 항목 2 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="mngItem2--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">관리항목2</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="mngItem2">관리항목2</label>
|
|
|
|
<input type="text" class="form-control w-65" id="mngItem2--${pageName}" name="mngItem2" data-map="MNG_ITEM2" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-65" name="mngItem2" data-map="MNG_ITEM2" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 관리 항목 3 -->
|
|
|
|
<!-- 관리 항목 3 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="mngItem3--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">관리항목3</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="mngItem3">관리항목3</label>
|
|
|
|
<input type="text" class="form-control w-65" id="mngItem3--${pageName}" name="mngItem3" data-map="MNG_ITEM3" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-65" name="mngItem3" data-map="MNG_ITEM3" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 관리 항목 4 -->
|
|
|
|
<!-- 관리 항목 4 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="mngItem4--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">관리항목4</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="mngItem4">관리항목4</label>
|
|
|
|
<input type="text" class="form-control w-65" id="mngItem4--${pageName}" name="mngItem4" data-map="MNG_ITEM4" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-65" name="mngItem4" data-map="MNG_ITEM4" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 관리 항목 5 -->
|
|
|
|
<!-- 관리 항목 5 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="mngItem5--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">관리항목5</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="mngItem5">관리항목5</label>
|
|
|
|
<input type="text" class="form-control w-65" id="mngItem5--${pageName}" name="mngItem5" data-map="MNG_ITEM5" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-65" name="mngItem5" data-map="MNG_ITEM5" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 관리 항목 6 -->
|
|
|
|
<!-- 관리 항목 6 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="mngItem6--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">관리항목6</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="mngItem6">관리항목6</label>
|
|
|
|
<input type="text" class="form-control w-65" id="mngItem6--${pageName}" name="mngItem6" data-map="MNG_ITEM6" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-65" name="mngItem6" data-map="MNG_ITEM6" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 체납 구분 코드 -->
|
|
|
|
<!-- 체납 구분 코드 -->
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="npmntSeNm--${pageName}${pageDataName2}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">체납구분</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="npmntSeNm">체납구분</label>
|
|
|
|
<input type="text" class="form-control w-40" id="npmntSeNm--${pageName}${pageDataName2}" name="npmntSeNm" data-map="NPMNT_SE_NM" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-40" name="npmntSeNm" data-map="NPMNT_SE_NM" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 체납 사유 -->
|
|
|
|
<!-- 체납 사유 -->
|
|
|
|
<div class="col-md-8">
|
|
|
|
<div class="col-md-8">
|
|
|
|
<label for="npmntRsn--${pageName}${pageDataName2}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">체납사유</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="npmntRsn">체납사유</label>
|
|
|
|
<input type="text" class="form-control w-80" id="npmntRsn--${pageName}${pageDataName2}" name="npmntRsn" data-map="NPMNT_RSN" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-80" name="npmntRsn" data-map="NPMNT_RSN" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 압류 일자 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="szrYmd">압류일자</label>
|
|
|
|
|
|
|
|
<input is="id-input" type="text" class="form-control w-30" name="szrYmd" data-map="SZR_YMD" readonly />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 대체 압류 자동차등록번호 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="rpmSzrVhrno">대체압류차량</label>
|
|
|
|
|
|
|
|
<input is="id-input" type="text" class="form-control w-35" name="rpmSzrVhrno" data-map="RPM_SZR_VHRNO" readonly />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 압류 물건 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="szrThing">압류물건</label>
|
|
|
|
|
|
|
|
<input is="id-input" type="text" class="form-control w-60" name="szrThing" data-map="SZR_THING" readonly />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 압류 해제 일자 -->
|
|
|
|
|
|
|
|
<div class="col-md-4">
|
|
|
|
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="szrRmvYmd">압류해제일자</label>
|
|
|
|
|
|
|
|
<input is="id-input" type="text" class="form-control w-30" name="szrRmvYmd" data-map="SZR_RMV_YMD" readonly />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 압류 해제 사유 -->
|
|
|
|
|
|
|
|
<div class="col-md-8">
|
|
|
|
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="szrRmvRsn">압류해제사유</label>
|
|
|
|
|
|
|
|
<input is="id-input" type="text" class="form-control w-80" name="szrRmvRsn" data-map="SZR_RMV_RSN" readonly />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div> <!-- <div class="row g-1"> -->
|
|
|
|
</div> <!-- <div class="row g-1"> -->
|
|
|
|
</div> <!-- <div class="card"> -->
|
|
|
|
</div> <!-- <div class="card"> -->
|
|
|
|
</div> <!-- <div class="col-xl-9 mx-1"> -->
|
|
|
|
</div> <!-- <div class="col-xl-9 mx-1"> -->
|
|
|
@ -198,21 +223,21 @@
|
|
|
|
<div class="card">
|
|
|
|
<div class="card">
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
<div class="container-page-btn">
|
|
|
|
<div class="container-page-btn">
|
|
|
|
<label class="w-px-120 bg-label-danger pe-2 col-form-label text-sm-center">납부 안내 정보</label>
|
|
|
|
<label class="col-form-label bg-label-danger pe-2 w-px-120 text-sm-center">납부 안내 정보</label>
|
|
|
|
</div> <!-- <div class="container-page-btn"> -->
|
|
|
|
</div> <!-- <div class="container-page-btn"> -->
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row g-1">
|
|
|
|
<div class="row g-1">
|
|
|
|
<!-- 전자납부번호 -->
|
|
|
|
<!-- 전자납부번호 -->
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<label for="epaynoMask--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">전자납부번호</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="epaynoMask">전자납부번호</label>
|
|
|
|
<input type="text" class="form-control w-65" id="epaynoMask--${pageName}" name="epaynoMask" data-map="EPAYNO_MASK" readonly />
|
|
|
|
<input is="id-input" type="text" class="form-control w-65" name="epaynoMask" data-map="EPAYNO_MASK" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 가상계좌번호 -->
|
|
|
|
<!-- 가상계좌번호 -->
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<label for="vrActno--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">가상계좌번호</label>
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="vrActno">가상계좌번호</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<textarea type="text" class="form-control w-100" id="vrActno--${pageName}" name="vrActno" data-map="VR_ACTNO" rows="15"></textarea>
|
|
|
|
<textarea is="id-textarea" type="text" class="form-control w-100" name="vrActno" data-map="VR_ACTNO" rows="15"></textarea>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div> <!-- <div class="card"> -->
|
|
|
|
</div> <!-- <div class="card"> -->
|
|
|
@ -221,279 +246,229 @@
|
|
|
|
</div> <!-- <div class="d-flex flex-row justify-content-evenly"> -->
|
|
|
|
</div> <!-- <div class="d-flex flex-row justify-content-evenly"> -->
|
|
|
|
</form>
|
|
|
|
</form>
|
|
|
|
<!-- 입력 영역 -->
|
|
|
|
<!-- 입력 영역 -->
|
|
|
|
|
|
|
|
|
|
|
|
<div class="d-flex flex-row justify-content-evenly">
|
|
|
|
|
|
|
|
<!-- 압류 정보 -->
|
|
|
|
|
|
|
|
<div class="col-xl-12 mx-1">
|
|
|
|
|
|
|
|
<div class="card">
|
|
|
|
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
|
|
|
|
<div class="container-page-btn">
|
|
|
|
|
|
|
|
<label class="w-px-120 bg-label-danger pe-2 col-form-label text-sm-center">압류 정보</label>
|
|
|
|
|
|
|
|
</div> <!-- <div class="container-page-btn"> -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<form id="frmEdit--${pageName}${pageDataName3}" name="frmEdit${pageDataName3}">
|
|
|
|
|
|
|
|
<div class="row g-1">
|
|
|
|
|
|
|
|
<!-- 압류 일자 -->
|
|
|
|
|
|
|
|
<div class="col-md-3">
|
|
|
|
|
|
|
|
<label for="szrYmd--${pageName}${pageDataName3}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">압류일자</label>
|
|
|
|
|
|
|
|
<input type="text" class="form-control w-30" id="szrYmd--${pageName}${pageDataName3}" name="szrYmd" data-map="SZR_YMD" readonly />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 대체 압류 자동차등록번호 -->
|
|
|
|
|
|
|
|
<div class="col-md-3">
|
|
|
|
|
|
|
|
<label for="rpmSzrVhrno--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">대체압류차량</label>
|
|
|
|
|
|
|
|
<input type="text" class="form-control w-35" id="rpmSzrVhrno--${pageName}" name="rpmSzrVhrno" data-map="RPM_SZR_VHRNO" readonly />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 압류 물건 -->
|
|
|
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
|
|
|
<label for="szrThing--${pageName}${pageDataName3}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">압류물건</label>
|
|
|
|
|
|
|
|
<input type="text" class="form-control w-80" id="szrThing--${pageName}${pageDataName3}" name="szrThing" data-map="SZR_THING" readonly />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 압류 해제 일자 -->
|
|
|
|
|
|
|
|
<div class="col-md-3">
|
|
|
|
|
|
|
|
<label for="szrRmvYmd--${pageName}${pageDataName3}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">압류해제일자</label>
|
|
|
|
|
|
|
|
<input type="text" class="form-control w-30" id="szrRmvYmd--${pageName}${pageDataName3}" name="szrRmvYmd" data-map="SZR_RMV_YMD" readonly />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 압류 해제 사유 -->
|
|
|
|
|
|
|
|
<div class="col-md-9">
|
|
|
|
|
|
|
|
<label for="szrRmvRsn--${pageName}${pageDataName3}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">압류해제사유</label>
|
|
|
|
|
|
|
|
<input type="text" class="form-control w-87" id="szrRmvRsn--${pageName}${pageDataName3}" name="szrRmvRsn" data-map="SZR_RMV_RSN" readonly />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div> <!-- <div class="row g-1"> -->
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</div> <!-- <div class="card"> -->
|
|
|
|
|
|
|
|
</div> <!-- <div class="col-xl-12 mx-1"> -->
|
|
|
|
|
|
|
|
<!-- 압류 정보 -->
|
|
|
|
|
|
|
|
</div> <!-- <div class="d-flex flex-row justify-content-evenly"> -->
|
|
|
|
|
|
|
|
</div> <!-- <div class="content-pop"> -->
|
|
|
|
</div> <!-- <div class="content-pop"> -->
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
* Global Variable
|
|
|
|
* Global Variable
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
pageObject["${pageName}"] = {};
|
|
|
|
pageObject["${pageName}"] = newDoctxFinder("${pageName}");
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
* script 진입
|
|
|
|
* script 진입
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
$(document).ready(function() {
|
|
|
|
$(document).ready(function() {
|
|
|
|
// pageObject
|
|
|
|
// pageObject
|
|
|
|
let $P = pageObject["${pageName}"];
|
|
|
|
let $P = pageObject["${pageName}"];
|
|
|
|
|
|
|
|
|
|
|
|
// FormFields
|
|
|
|
// FormFields
|
|
|
|
$P.formFields = new FimsFormFields("#frmEdit--${pageName}");
|
|
|
|
$P.formFields = new FimsFormFields($P.selector("frmEditLevy"));
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
* DatasetControl
|
|
|
|
* DatasetControl
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
$P.control = new DatasetControl({
|
|
|
|
$P.ctrlLevy = new DatasetControl({
|
|
|
|
prefix: "levy"
|
|
|
|
prefix: "levy"
|
|
|
|
, prefixName: "부과"
|
|
|
|
, prefixName: "부과"
|
|
|
|
, keymapper: info => info ? info.LEVY_ID : ""
|
|
|
|
, keymapper: info => info ? info.LEVY_ID : ""
|
|
|
|
, dataGetter: obj => obj.levyInfo
|
|
|
|
, dataGetter: obj => obj.levyInfo
|
|
|
|
, formats: {
|
|
|
|
, formats: {
|
|
|
|
LEVY_YMD: dateFormat
|
|
|
|
LEVY_YMD: dateFormat
|
|
|
|
, FRST_DUDT_YMD: dateFormat
|
|
|
|
, FRST_DUDT_YMD: dateFormat
|
|
|
|
, DUDT_YMD: dateFormat
|
|
|
|
, DUDT_YMD: dateFormat
|
|
|
|
, FFNLG_AMT: numberFormat
|
|
|
|
, FFNLG_AMT: numberFormat
|
|
|
|
, LEVY_PCPTAX: numberFormat
|
|
|
|
, LEVY_PCPTAX: numberFormat
|
|
|
|
, LEVY_ADAMT: numberFormat
|
|
|
|
, LEVY_ADAMT: numberFormat
|
|
|
|
, ISPY_INT: numberFormat
|
|
|
|
, ISPY_INT: numberFormat
|
|
|
|
, RCVMT_PCPTAX: numberFormat
|
|
|
|
, RCVMT_PCPTAX: numberFormat
|
|
|
|
, RCVMT_ADAMT: numberFormat
|
|
|
|
, RCVMT_ADAMT: numberFormat
|
|
|
|
, RDAMT_PCPTAX: numberFormat
|
|
|
|
, RDAMT_PCPTAX: numberFormat
|
|
|
|
, RDAMT_ADAMT: numberFormat
|
|
|
|
, RDAMT_ADAMT: numberFormat
|
|
|
|
, SUM_AMT: numberFormat
|
|
|
|
, SUM_AMT: numberFormat
|
|
|
|
, RCVMT_YMD: dateFormat
|
|
|
|
, RCVMT_YMD: dateFormat
|
|
|
|
, SZR_YMD: dateFormat
|
|
|
|
, SZR_YMD: dateFormat
|
|
|
|
, SZR_RMV_YMD: dateFormat
|
|
|
|
, SZR_RMV_YMD: dateFormat
|
|
|
|
, REG_DT: datetimeFormat
|
|
|
|
, REG_DT: datetimeFormat
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
* DatasetControl 이벤트
|
|
|
|
* DatasetControl 이벤트
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
// 현재 선택 자료 변경 이벤트
|
|
|
|
// 현재 선택 자료 변경 이벤트
|
|
|
|
$P.control.onCurrentChange = (item) => {
|
|
|
|
$P.ctrlLevy.onCurrentChange = (item) => {
|
|
|
|
if (!item) return;
|
|
|
|
if (!item) return;
|
|
|
|
|
|
|
|
|
|
|
|
// Dataset 셋팅
|
|
|
|
// Dataset 셋팅
|
|
|
|
$P.formFields.set($P.control, item);
|
|
|
|
$P.formFields.set($P.ctrlLevy, item);
|
|
|
|
|
|
|
|
|
|
|
|
let key = item.data.LEVY_ID;
|
|
|
|
let key = item.data.LEVY_ID;
|
|
|
|
|
|
|
|
|
|
|
|
// 가상계좌번호
|
|
|
|
// 가상계좌번호
|
|
|
|
if (key != null) {
|
|
|
|
let vrActno = Array.from({length: 20}, (x, i) => {
|
|
|
|
let vrActno = "";
|
|
|
|
let no = i + 1
|
|
|
|
|
|
|
|
, bank = "BANK_NM" + (no > 1 ? no : "")
|
|
|
|
if (item.data.BANK_NM != null && item.data.BANK_NM != "") vrActno += item.data.BANK_NM + " " + item.data.VR_ACTNO + "\n"; // 가상 계좌번호
|
|
|
|
, account = "VR_ACTNO" + (no > 1 ? no : "");
|
|
|
|
if (item.data.BANK_NM2 != null && item.data.BANK_NM2 != "") vrActno += item.data.BANK_NM2 + " " + item.data.VR_ACTNO2 + "\n"; // 가상 계좌번호2
|
|
|
|
|
|
|
|
if (item.data.BANK_NM3 != null && item.data.BANK_NM3 != "") vrActno += item.data.BANK_NM3 + " " + item.data.VR_ACTNO3 + "\n"; // 가상 계좌번호3
|
|
|
|
return [bank, account]
|
|
|
|
if (item.data.BANK_NM4 != null && item.data.BANK_NM4 != "") vrActno += item.data.BANK_NM4 + " " + item.data.VR_ACTNO4 + "\n"; // 가상 계좌번호4
|
|
|
|
})
|
|
|
|
if (item.data.BANK_NM5 != null && item.data.BANK_NM5 != "") vrActno += item.data.BANK_NM5 + " " + item.data.VR_ACTNO5 + "\n"; // 가상 계좌번호5
|
|
|
|
.map(entry => {
|
|
|
|
if (item.data.BANK_NM6 != null && item.data.BANK_NM6 != "") vrActno += item.data.BANK_NM6 + " " + item.data.VR_ACTNO6 + "\n"; // 가상 계좌번호6
|
|
|
|
let bank = item.data[entry[0]]
|
|
|
|
if (item.data.BANK_NM7 != null && item.data.BANK_NM7 != "") vrActno += item.data.BANK_NM7 + " " + item.data.VR_ACTNO7 + "\n"; // 가상 계좌번호7
|
|
|
|
, account = item.data[entry[1]];
|
|
|
|
if (item.data.BANK_NM8 != null && item.data.BANK_NM8 != "") vrActno += item.data.BANK_NM8 + " " + item.data.VR_ACTNO8 + "\n"; // 가상 계좌번호8
|
|
|
|
|
|
|
|
if (item.data.BANK_NM9 != null && item.data.BANK_NM9 != "") vrActno += item.data.BANK_NM9 + " " + item.data.VR_ACTNO9 + "\n"; // 가상 계좌번호9
|
|
|
|
return bank ? bank + " " + account : null;
|
|
|
|
if (item.data.BANK_NM10 != null && item.data.BANK_NM10 != "") vrActno += item.data.BANK_NM10 + " " + item.data.VR_ACTNO10 + "\n"; // 가상 계좌번호10
|
|
|
|
})
|
|
|
|
if (item.data.BANK_NM11 != null && item.data.BANK_NM11 != "") vrActno += item.data.BANK_NM11 + " " + item.data.VR_ACTNO11 + "\n"; // 가상 계좌번호11
|
|
|
|
.filter(txt => txt != null)
|
|
|
|
if (item.data.BANK_NM12 != null && item.data.BANK_NM12 != "") vrActno += item.data.BANK_NM12 + " " + item.data.VR_ACTNO12 + "\n"; // 가상 계좌번호12
|
|
|
|
.join("\n");
|
|
|
|
if (item.data.BANK_NM13 != null && item.data.BANK_NM13 != "") vrActno += item.data.BANK_NM13 + " " + item.data.VR_ACTNO13 + "\n"; // 가상 계좌번호13
|
|
|
|
|
|
|
|
if (item.data.BANK_NM14 != null && item.data.BANK_NM14 != "") vrActno += item.data.BANK_NM14 + " " + item.data.VR_ACTNO14 + "\n"; // 가상 계좌번호14
|
|
|
|
$P.$find("vrActno").val(vrActno); // 가상 계좌번호
|
|
|
|
if (item.data.BANK_NM15 != null && item.data.BANK_NM15 != "") vrActno += item.data.BANK_NM15 + " " + item.data.VR_ACTNO15 + "\n"; // 가상 계좌번호15
|
|
|
|
}
|
|
|
|
if (item.data.BANK_NM16 != null && item.data.BANK_NM16 != "") vrActno += item.data.BANK_NM16 + " " + item.data.VR_ACTNO16 + "\n"; // 가상 계좌번호16
|
|
|
|
|
|
|
|
if (item.data.BANK_NM17 != null && item.data.BANK_NM17 != "") vrActno += item.data.BANK_NM17 + " " + item.data.VR_ACTNO17 + "\n"; // 가상 계좌번호17
|
|
|
|
/**************************************************************************
|
|
|
|
if (item.data.BANK_NM18 != null && item.data.BANK_NM18 != "") vrActno += item.data.BANK_NM18 + " " + item.data.VR_ACTNO18 + "\n"; // 가상 계좌번호18
|
|
|
|
* 사용자 함수(function)
|
|
|
|
if (item.data.BANK_NM19 != null && item.data.BANK_NM19 != "") vrActno += item.data.BANK_NM19 + " " + item.data.VR_ACTNO19 + "\n"; // 가상 계좌번호19
|
|
|
|
**************************************************************************/
|
|
|
|
if (item.data.BANK_NM20 != null && item.data.BANK_NM20 != "") vrActno += item.data.BANK_NM20 + " " + item.data.VR_ACTNO20 + "\n"; // 가상 계좌번호20
|
|
|
|
// 자료 재조회
|
|
|
|
|
|
|
|
$P.fnRefreshDataInfo = () => {
|
|
|
|
$("#vrActno--${pageName}").val(vrActno);
|
|
|
|
let crdnId = pageObject["${mainPageName}"].mainCtrl.getValue("CRDN_ID"); // 단속 ID
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
// 단속 ID 가 없다면.. return
|
|
|
|
|
|
|
|
if (!crdnId) return;
|
|
|
|
/**************************************************************************
|
|
|
|
|
|
|
|
* 사용자 함수(function)
|
|
|
|
let params = {
|
|
|
|
**************************************************************************/
|
|
|
|
callPurpose: "refresh"
|
|
|
|
// 자료 재조회
|
|
|
|
, sggCd: pageObject["${mainPageName}"].mainCtrl.getValue("SGG_CD")
|
|
|
|
$P.fnRefreshDataInfo = () => {
|
|
|
|
, taskSeCd: pageObject["${mainPageName}"].mainCtrl.getValue("TASK_SE_CD")
|
|
|
|
// 단속 ID
|
|
|
|
, crdnId: pageObject["${mainPageName}"].mainCtrl.getValue("CRDN_ID")
|
|
|
|
let crdnId = $("#crdnId--${pageNameMain}").val();
|
|
|
|
, delYn: "N"
|
|
|
|
// 단속 ID 가 없다면.. return
|
|
|
|
};
|
|
|
|
if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return;
|
|
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
let params = {
|
|
|
|
url: wctx.url("/" + params.taskSeCd + "/sprt/sprt02/060/info.do")
|
|
|
|
callPurpose: "refresh"
|
|
|
|
, headers: { Accept: "application/json; charset=utf-8" } // json
|
|
|
|
, sggCd: $("#sggCd--${pageNameMain}").val()
|
|
|
|
, data: params || {}
|
|
|
|
, taskSeCd: $("#taskSeCd--${pageNameMain}").val()
|
|
|
|
, success: (resp) => {
|
|
|
|
, crdnId: crdnId
|
|
|
|
// 초기화
|
|
|
|
, delYn: "N"
|
|
|
|
$P.find("frmEditLevy").reset(); // 화면 초기화
|
|
|
|
};
|
|
|
|
$P.ctrlLevy.dataset.clear(); // Dataset 초기화
|
|
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
// sprt02010-main 단속 정보
|
|
|
|
url: wctx.url("/" + params.taskSeCd + "/sprt/sprt02/060/info.do")
|
|
|
|
pageObject["${mainPageName}"].mainCtrl.setData([resp.totalInfo]);
|
|
|
|
, headers: { Accept: "application/json; charset=utf-8" } // json
|
|
|
|
|
|
|
|
, data: params || {}
|
|
|
|
// Dataset 셋팅
|
|
|
|
, success: resp => {
|
|
|
|
if (resp.levyInfo) {
|
|
|
|
// 초기화
|
|
|
|
$P.ctrlLevy.setData([resp.levyInfo]); // 부과 정보
|
|
|
|
$("#frmEdit--${pageName}")[0].reset(); // 화면 초기화
|
|
|
|
}
|
|
|
|
$P.control.dataset.clear(); // Dataset 초기화
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
// sprt02010-main 단속 정보
|
|
|
|
}
|
|
|
|
pageObject["${pageNameMain}"].mainControl.setData([resp.totalInfo]);
|
|
|
|
|
|
|
|
|
|
|
|
// 부과제외 dialog
|
|
|
|
// Dataset 셋팅
|
|
|
|
$P.createLevyExclInfo = (params) => {
|
|
|
|
if (resp.levyInfo) { $P.control.setData([resp.levyInfo]); } // 부과 정보
|
|
|
|
if (!params) return;
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
ajax.get({
|
|
|
|
}
|
|
|
|
url: wctx.url("/" + params.taskSeCd + "/excl/excl01/020/info.do")
|
|
|
|
|
|
|
|
, data: params || {}
|
|
|
|
// 부과제외 dialog
|
|
|
|
, success: resp => {
|
|
|
|
$P.createLevyExcl = (params) => {
|
|
|
|
if ((typeof resp) != "string") {
|
|
|
|
if (!params) return;
|
|
|
|
if (resp.rtnMsg != "") {
|
|
|
|
|
|
|
|
dialog.alert(resp.rtnMsg);
|
|
|
|
ajax.get({
|
|
|
|
}
|
|
|
|
url: wctx.url("/" + params.taskSeCd + "/excl/excl01/020/info.do") + "?openerPageName=${pageName}"
|
|
|
|
return;
|
|
|
|
, data: params || {}
|
|
|
|
} else {
|
|
|
|
, success: resp => {
|
|
|
|
let dialogName = "levyExclDialog";
|
|
|
|
if ((typeof resp) != "string") {
|
|
|
|
let dialogId = dialogName + "-" + uuid();
|
|
|
|
if (resp.rtnMsg != "") {
|
|
|
|
|
|
|
|
dialog.alert(resp.rtnMsg);
|
|
|
|
dialog.open({
|
|
|
|
}
|
|
|
|
id: dialogId
|
|
|
|
return;
|
|
|
|
, title: params.btnTitle
|
|
|
|
} else {
|
|
|
|
, size: "md"
|
|
|
|
dialog.open({
|
|
|
|
, content: resp
|
|
|
|
id: "levyExclDialog--${pageName}"
|
|
|
|
, init: () => {
|
|
|
|
, title: params.title
|
|
|
|
setDialogZindex();
|
|
|
|
, content: resp
|
|
|
|
|
|
|
|
, size: "md"
|
|
|
|
$("#" + dialogId).attr("name", dialogName);
|
|
|
|
, onClose: () => { $P.fnRefreshDataInfo(); } // 자료 재조회
|
|
|
|
$("#" + dialogId).attr("data-ref-doctx", "${pageName}");
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
, onClose: () => { $P.fnRefreshDataInfo(); } // 자료 재조회
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
/**************************************************************************
|
|
|
|
}
|
|
|
|
* 버튼 clickEvent
|
|
|
|
|
|
|
|
**************************************************************************/
|
|
|
|
/**************************************************************************
|
|
|
|
// 부과 등록
|
|
|
|
* 버튼 clickEvent
|
|
|
|
$P.fnCreateLevy = (title) => {
|
|
|
|
**************************************************************************/
|
|
|
|
|
|
|
|
// 부과 등록
|
|
|
|
}
|
|
|
|
$P.fnCreateLevy = (btnTitle) => {
|
|
|
|
|
|
|
|
//
|
|
|
|
// 부과 취소
|
|
|
|
}
|
|
|
|
$P.fnCreateLevyExcl = (title) => {
|
|
|
|
|
|
|
|
// 단속 ID
|
|
|
|
// 부과 취소
|
|
|
|
let crdnId = $("#crdnId--${pageNameMain}").val();
|
|
|
|
$P.fnCreateLevyExcl = (btnTitle) => {
|
|
|
|
// 단속 ID 가 없다면.. return
|
|
|
|
let crdnId = pageObject["${mainPageName}"].mainCtrl.getValue("CRDN_ID"); // 단속 ID
|
|
|
|
if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return;
|
|
|
|
|
|
|
|
|
|
|
|
// 단속 ID 가 없다면.. return
|
|
|
|
// 단속 상태 코드
|
|
|
|
if (!crdnId) return;
|
|
|
|
let crdnSttsCd = $("#crdnSttsCd--${pageNameMain}").val();
|
|
|
|
|
|
|
|
let crdnSttsNm = $("#crdnSttsNm--${pageNameMain}").val();
|
|
|
|
let params = {
|
|
|
|
// 단속 상태 코드 확인
|
|
|
|
callPurpose: "create"
|
|
|
|
if (Number(crdnSttsCd) < 51 || Number(crdnSttsCd) > 55) {
|
|
|
|
, btnTitle: btnTitle
|
|
|
|
dialog.alert({
|
|
|
|
, sggCd: pageObject["${mainPageName}"].mainCtrl.getValue("SGG_CD") // 시군구 코드
|
|
|
|
content: "[" + title + "]" + " 작업은 단속상태가 '본부과' 이후 '미수납' 자료만 처리 가능합니다."
|
|
|
|
, taskSeCd: pageObject["${mainPageName}"].mainCtrl.getValue("TASK_SE_CD") // 업무 구분 코드
|
|
|
|
+ "<br>" + "단속상태 : " + crdnSttsNm
|
|
|
|
, crdnId: pageObject["${mainPageName}"].mainCtrl.getValue("CRDN_ID") // 단속 ID
|
|
|
|
+ "<br><br>" + "[" + title + "]" + " 실행이 취소되었습니다."
|
|
|
|
, levyExclSeCd: "3"
|
|
|
|
, onOK: () => { }
|
|
|
|
, delYn: "N"
|
|
|
|
});
|
|
|
|
};
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
$P.createLevyExclInfo(params);
|
|
|
|
|
|
|
|
}
|
|
|
|
let params = {
|
|
|
|
|
|
|
|
callPurpose: "create"
|
|
|
|
/**************************************************************************
|
|
|
|
, title: title
|
|
|
|
* 초기 셋팅
|
|
|
|
, sggCd: $("#sggCd--${pageNameMain}").val()
|
|
|
|
**************************************************************************/
|
|
|
|
, taskSeCd: $("#taskSeCd--${pageNameMain}").val()
|
|
|
|
// 이벤트 설정
|
|
|
|
, crdnId: crdnId
|
|
|
|
$P.setEvent = () => {
|
|
|
|
, levyExclSeCd: "3"
|
|
|
|
// 업무 버튼 이벤트
|
|
|
|
, delYn: "N"
|
|
|
|
$P.$find("btnCreateLevy").on("click", function() {
|
|
|
|
};
|
|
|
|
$P.fnCreateLevy($P.$find("btnCreateLevy").attr("title")); // 부과 등록
|
|
|
|
|
|
|
|
});
|
|
|
|
$P.createLevyExcl(params);
|
|
|
|
$P.$find("btnCreateLevyExcl").on("click", function() {
|
|
|
|
}
|
|
|
|
$P.fnCreateLevyExcl($P.$find("btnCreateLevyExcl").attr("title")); // 부과 취소
|
|
|
|
|
|
|
|
});
|
|
|
|
/**************************************************************************
|
|
|
|
}
|
|
|
|
* 초기 셋팅
|
|
|
|
|
|
|
|
**************************************************************************/
|
|
|
|
// 초기 화면 설정
|
|
|
|
// 이벤트 설정
|
|
|
|
$P.initForm = () => {
|
|
|
|
$P.setEvent = () => {
|
|
|
|
// 초기화
|
|
|
|
// 업무 버튼 이벤트
|
|
|
|
$P.find("frmEditLevy").reset(); // 화면 초기화
|
|
|
|
$("#btnCreateLevy--${pageName}").on("click", function() {
|
|
|
|
$P.ctrlLevy.dataset.clear(); // Dataset 초기화
|
|
|
|
$P.fnCreateLevy($(this).attr("title")); // 부과 등록
|
|
|
|
|
|
|
|
});
|
|
|
|
// 화면 호출(callPurpose)이 view라면 버튼 비활성화 disabled = true
|
|
|
|
$("#btnCreateLevyExcl--${pageName}").on("click", function() {
|
|
|
|
if (pageObject['${mainPageName}'].callPurpose == "view") {
|
|
|
|
$P.fnCreateLevyExcl($(this).attr("title")); // 부과 취소
|
|
|
|
$P.$find("btnCreateLevy").prop("disabled", true);
|
|
|
|
});
|
|
|
|
$P.$find("btnCreateLevyExcl").prop("disabled", true);
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
|
|
|
|
$P.$find("btnCreateLevy").prop("disabled", false);
|
|
|
|
// 초기 화면 설정
|
|
|
|
$P.$find("btnCreateLevyExcl").prop("disabled", false);
|
|
|
|
$P.initForm = () => {
|
|
|
|
}
|
|
|
|
// button 요소들을 disabled = true
|
|
|
|
}
|
|
|
|
$("#btnCreateLevy--${pageName}").prop("disabled", true);
|
|
|
|
|
|
|
|
$("#btnCreateLevyExcl--${pageName}").prop("disabled", true);
|
|
|
|
/**************************************************************************
|
|
|
|
|
|
|
|
* 최초 실행 함수
|
|
|
|
// 화면 호출(callPurpose)이 view가 아니라면 버튼 비활성화 disabled = false
|
|
|
|
**************************************************************************/
|
|
|
|
if (pageObject['${pageNameMain}'].callPurpose != "view") {
|
|
|
|
// 1. 이벤트 설정
|
|
|
|
$("#btnCreateLevy--${pageName}").prop("disabled", false);
|
|
|
|
$P.setEvent();
|
|
|
|
$("#btnCreateLevyExcl--${pageName}").prop("disabled", false);
|
|
|
|
|
|
|
|
}
|
|
|
|
// 2. 초기 화면 설정
|
|
|
|
}
|
|
|
|
$P.initForm();
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
// 3. Dataset 설정
|
|
|
|
* 최초 실행 함수
|
|
|
|
let levyInfo = ${levyInfo}; // 부과 정보
|
|
|
|
**************************************************************************/
|
|
|
|
if (levyInfo) {
|
|
|
|
// 1. 이벤트 설정
|
|
|
|
$P.ctrlLevy.setData([levyInfo]);
|
|
|
|
$P.setEvent();
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
// 2. 초기 화면 설정
|
|
|
|
|
|
|
|
$P.initForm();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 3. Dataset 설정
|
|
|
|
|
|
|
|
let levyInfo = ${levyInfo}; // 부과 정보
|
|
|
|
|
|
|
|
if (levyInfo) { $P.control.setData([levyInfo]); }
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|