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