|
|
@ -30,86 +30,94 @@
|
|
|
|
<div class="row g-1">
|
|
|
|
<div class="row g-1">
|
|
|
|
<!-- 회계 연도 -->
|
|
|
|
<!-- 회계 연도 -->
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<label for="fyr--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">회계 연도</label>
|
|
|
|
<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-15" id="fyr--${pageName}" name="fyr" data-map="FYR" readonly />
|
|
|
|
<input type="text" class="form-control w-15" id="fyr--${pageName}" name="fyr" data-map="FYR" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 회계 구분 -->
|
|
|
|
<!-- 회계 구분 -->
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<label for="acntgSeCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">회계 구분</label>
|
|
|
|
<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-15" id="acntgSeCd--${pageName}" name="acntgSeCd" data-map="ACNTG_SE_CD" readonly />
|
|
|
|
<input type="text" class="form-control w-25" id="acntgSeNm--${pageName}" name="acntgSeNm" data-map="ACNTG_SE_NM" readonly />
|
|
|
|
<input type="text" class="form-control w-50" id="acntgSeNm--${pageName}" name="acntgSeNm" data-map="ACNTG_SE_NM" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 세목 코드 -->
|
|
|
|
<!-- 세목 코드 -->
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<label for="txitmCd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">세목 코드</label>
|
|
|
|
<label for="txitmCd--${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-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 />
|
|
|
|
<input type="text" class="form-control w-45" id="txitmNm--${pageName}" name="txitmNm" data-map="TXITM_NM" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 부과 번호 -->
|
|
|
|
<!-- 부과 번호 -->
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<label for="levyNo--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">부과 번호</label>
|
|
|
|
<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 />
|
|
|
|
<input type="text" class="form-control w-20" id="levyNo--${pageName}" name="levyNo" data-map="LEVY_NO" readonly />
|
|
|
|
<input type="text" class="form-control w-10" id="inspySn--${pageName}" name="inspySn" data-map="INSPY_SN" readonly />
|
|
|
|
<input type="text" class="form-control w-10" id="inspySn--${pageName}" name="inspySn" data-map="INSPY_SN" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 수납 순번 -->
|
|
|
|
<!-- 수납 순번 -->
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<label for="rcvmtSn--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">수납 순번</label>
|
|
|
|
<label for="rcvmtSn--${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="rcvmtSn--${pageName}" name="rcvmtSn" data-map="RCVMT_SN" readonly />
|
|
|
|
<input type="text" class="form-control w-15" id="rcvmtSn--${pageName}" name="rcvmtSn" data-map="RCVMT_SN" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 수납 일자 -->
|
|
|
|
<!-- 수납 일자 -->
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<label for="rcvmtYmd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">수납 일자</label>
|
|
|
|
<label for="rcvmtYmd--${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="rcvmtYmd--${pageName}" name="rcvmtYmd" data-map="RCVMT_YMD" readonly />
|
|
|
|
<input type="text" class="form-control w-30" id="rcvmtYmd--${pageName}" name="rcvmtYmd" data-map="RCVMT_YMD" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 소인 일자 -->
|
|
|
|
<!-- 소인 일자 -->
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<label for="pstmrkYmd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">소인 일자</label>
|
|
|
|
<label for="pstmrkYmd--${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="pstmrkYmd--${pageName}" name="pstmrkYmd" data-map="PSTMRK_YMD" readonly />
|
|
|
|
<input type="text" class="form-control w-30" id="pstmrkYmd--${pageName}" name="pstmrkYmd" data-map="PSTMRK_YMD" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 회계 일자 -->
|
|
|
|
<!-- 회계 일자 -->
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<label for="acntgYmd--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">회계 일자</label>
|
|
|
|
<label for="acntgYmd--${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="acntgYmd--${pageName}" name="acntgYmd" data-map="ACNTG_YMD" readonly />
|
|
|
|
<input type="text" class="form-control w-30" id="acntgYmd--${pageName}" name="acntgYmd" data-map="ACNTG_YMD" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 수납 구분 -->
|
|
|
|
<!-- 수납 금액 -->
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<label for="rcvmtSeNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">수납 구분</label>
|
|
|
|
<label for="rcvmtAmt--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">수납금액</label>
|
|
|
|
<input type="text" class="form-control w-25" id="rcvmtSeNm--${pageName}" name="rcvmtSeNm" data-map="RCVMT_SE_NM" readonly />
|
|
|
|
<input type="text" class="form-control w-30 text-end" id="rcvmtAmt--${pageName}" name="rcvmtAmt" data-map="RCVMT_AMT" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 수납 본세 -->
|
|
|
|
<!-- 수납 본세 -->
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<label for="rcvmtPcptax--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">수납 본세</label>
|
|
|
|
<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 />
|
|
|
|
<input type="text" class="form-control w-30 text-end" id="rcvmtPcptax--${pageName}" name="rcvmtPcptax" data-map="RCVMT_PCPTAX" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 수납 가산금 -->
|
|
|
|
<!-- 수납 가산금 -->
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<label for="rcvmtAdamt--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">수납 가산금</label>
|
|
|
|
<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 />
|
|
|
|
<input type="text" class="form-control w-30 text-end" id="rcvmtAdamt--${pageName}" name="rcvmtAdamt" data-map="RCVMT_ADAMT" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 수납 이자 -->
|
|
|
|
<!-- 수납 이자 -->
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<label for="rcvmtInt--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">수납 이자</label>
|
|
|
|
<label for="rcvmtInt--${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="rcvmtInt--${pageName}" name="rcvmtInt" data-map="RCVMT_INT" readonly />
|
|
|
|
<input type="text" class="form-control w-30 text-end" id="rcvmtInt--${pageName}" name="rcvmtInt" data-map="RCVMT_INT" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- 수납 구분 -->
|
|
|
|
|
|
|
|
<div class="col-md-3">
|
|
|
|
|
|
|
|
<label for="rcvmtSeNm--${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="rcvmtSeNm--${pageName}" name="rcvmtSeNm" data-map="RCVMT_SE_NM" readonly />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<!-- 수납 은행 -->
|
|
|
|
<!-- 수납 은행 -->
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<label for="rcvmtBankNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">수납 은행</label>
|
|
|
|
<label for="rcvmtBankNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">수납은행</label>
|
|
|
|
<input type="text" class="form-control w-50" id="rcvmtBankNm--${pageName}" name="rcvmtBankNm" data-map="RCVMT_BANK_NM" readonly />
|
|
|
|
<input type="text" class="form-control w-50" id="rcvmtBankNm--${pageName}" name="rcvmtBankNm" data-map="RCVMT_BANK_NM" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 납부 방식 -->
|
|
|
|
<!-- 납부 방식 -->
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<label for="payMthdSeNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">납부 방식</label>
|
|
|
|
<label for="payMthdSeNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">납부방식</label>
|
|
|
|
<input type="text" class="form-control w-50" id="payMthdSeNm--${pageName}" name="payMthdSeNm" data-map="PAY_MTHD_SE_NM" readonly />
|
|
|
|
<input type="text" class="form-control w-50" id="payMthdSeNm--${pageName}" name="payMthdSeNm" data-map="PAY_MTHD_SE_NM" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- -->
|
|
|
|
|
|
|
|
<div class="col-md-3">
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<!-- 등록 일시 -->
|
|
|
|
<!-- 등록 일시 -->
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<label for="regDt--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">등록 일시</label>
|
|
|
|
<label for="regDt--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">등록일시</label>
|
|
|
|
<input type="text" class="form-control w-45" id="regDt--${pageName}" name="regDt" data-map="REG_DT" readonly />
|
|
|
|
<input type="text" class="form-control w-45" id="regDt--${pageName}" name="regDt" data-map="REG_DT" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 등록자 -->
|
|
|
|
<!-- 등록자 -->
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<label for="rgtrNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">등록자</label>
|
|
|
|
<label for="rgtrNm--${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="rgtrNm--${pageName}" name="rgtrNm" data-map="RGTR_NM" readonly />
|
|
|
|
<input type="text" class="form-control w-40" id="rgtrNm--${pageName}" name="rgtrNm" data-map="RGTR_NM" readonly />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div> <!-- <div class="row g-1"> -->
|
|
|
|
</div> <!-- <div class="row g-1"> -->
|
|
|
|
</form>
|
|
|
|
</form>
|
|
|
@ -132,8 +140,9 @@
|
|
|
|
<th>회계구분</th>
|
|
|
|
<th>회계구분</th>
|
|
|
|
<th>세목코드</th>
|
|
|
|
<th>세목코드</th>
|
|
|
|
<th>부과번호</th>
|
|
|
|
<th>부과번호</th>
|
|
|
|
<th>분납일련번호</th>
|
|
|
|
<th>분납번호</th>
|
|
|
|
<th>수납일자</th>
|
|
|
|
<th>수납일자</th>
|
|
|
|
|
|
|
|
<th>수납금액</th>
|
|
|
|
<th>수납본세</th>
|
|
|
|
<th>수납본세</th>
|
|
|
|
<th>수납가산금</th>
|
|
|
|
<th>수납가산금</th>
|
|
|
|
<th>수납이자</th>
|
|
|
|
<th>수납이자</th>
|
|
|
@ -164,11 +173,12 @@
|
|
|
|
<td class="text-center" onclick="{onclick}">{LEVY_NO}</td>
|
|
|
|
<td class="text-center" onclick="{onclick}">{LEVY_NO}</td>
|
|
|
|
<td class="text-center" onclick="{onclick}">{INSPY_SN}</td>
|
|
|
|
<td class="text-center" onclick="{onclick}">{INSPY_SN}</td>
|
|
|
|
<td class="text-center" onclick="{onclick}">{RCVMT_YMD}</td>
|
|
|
|
<td class="text-center" onclick="{onclick}">{RCVMT_YMD}</td>
|
|
|
|
|
|
|
|
<td class="text-end" onclick="{onclick}">{RCVMT_AMT}</td>
|
|
|
|
<td class="text-end" onclick="{onclick}">{RCVMT_PCPTAX}</td>
|
|
|
|
<td class="text-end" onclick="{onclick}">{RCVMT_PCPTAX}</td>
|
|
|
|
<td class="text-end" onclick="{onclick}">{RCVMT_ADAMT}</td>
|
|
|
|
<td class="text-end" onclick="{onclick}">{RCVMT_ADAMT}</td>
|
|
|
|
<td class="text-end" onclick="{onclick}">{RCVMT_INT}</td>
|
|
|
|
<td class="text-end" onclick="{onclick}">{RCVMT_INT}</td>
|
|
|
|
<td class="text-center" onclick="{onclick}">{RCVMT_BANK_NM}</td>
|
|
|
|
<td class="text-start" onclick="{onclick}">{RCVMT_BANK_NM}</td>
|
|
|
|
<td class="text-center" onclick="{onclick}">{PAY_MTHD_SE_NM}</td>
|
|
|
|
<td class="text-start" onclick="{onclick}">{PAY_MTHD_SE_NM}</td>
|
|
|
|
<td class="text-center" onclick="{onclick}">{PSTMRK_YMD}</td>
|
|
|
|
<td class="text-center" onclick="{onclick}">{PSTMRK_YMD}</td>
|
|
|
|
<td class="text-center" onclick="{onclick}">{ACNTG_YMD}</td>
|
|
|
|
<td class="text-center" onclick="{onclick}">{ACNTG_YMD}</td>
|
|
|
|
<td class="text-center" onclick="{onclick}">{VRACTNO}</td>
|
|
|
|
<td class="text-center" onclick="{onclick}">{VRACTNO}</td>
|
|
|
@ -184,7 +194,7 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<template id="${infoPrefix}NotFound--${pageName}">
|
|
|
|
<template id="${infoPrefix}NotFound--${pageName}">
|
|
|
|
<tr class="odd">
|
|
|
|
<tr class="odd">
|
|
|
|
<td valign="top" colspan="24" class="dataTables_empty text-center">수납정보 이력 정보를 찾지 못했습니다.</td>
|
|
|
|
<td valign="top" colspan="25" class="dataTables_empty text-center">수납정보 이력 정보를 찾지 못했습니다.</td>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</table>
|
|
|
|
</table>
|
|
|
@ -218,6 +228,7 @@
|
|
|
|
RCVMT_YMD : dateFormat
|
|
|
|
RCVMT_YMD : dateFormat
|
|
|
|
, ACNTG_YMD : dateFormat
|
|
|
|
, ACNTG_YMD : dateFormat
|
|
|
|
, PSTMRK_YMD : dateFormat
|
|
|
|
, PSTMRK_YMD : dateFormat
|
|
|
|
|
|
|
|
, RCVMT_AMT : numberFormat
|
|
|
|
, RCVMT_PCPTAX : numberFormat
|
|
|
|
, RCVMT_PCPTAX : numberFormat
|
|
|
|
, RCVMT_ADAMT : numberFormat
|
|
|
|
, RCVMT_ADAMT : numberFormat
|
|
|
|
, RCVMT_INT : numberFormat
|
|
|
|
, RCVMT_INT : numberFormat
|
|
|
@ -253,7 +264,7 @@
|
|
|
|
${pageName}Fields.set(item); // 화면에 자료 셋팅
|
|
|
|
${pageName}Fields.set(item); // 화면에 자료 셋팅
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// 민원 상담 내용 Dialog
|
|
|
|
// 등록
|
|
|
|
${pageName}Control.getInfo = (params) => {
|
|
|
|
${pageName}Control.getInfo = (params) => {
|
|
|
|
let dialogTitle = "";
|
|
|
|
let dialogTitle = "";
|
|
|
|
|
|
|
|
|
|
|
@ -281,26 +292,32 @@
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 삭제 callback
|
|
|
|
// 삭제
|
|
|
|
${pageName}Control.onRemove = (resp) => {
|
|
|
|
callbackRemoveRcvmt${pageName} = () => {
|
|
|
|
let btnTitle = $("#btnRemove--${pageName}").attr("title");
|
|
|
|
// 서버에 전송할 data(파라미터) 생성
|
|
|
|
|
|
|
|
let params = {
|
|
|
|
|
|
|
|
callPurpose : "remove"
|
|
|
|
|
|
|
|
, rcvmtId : ${pageName}Control.dataset.getValue("RCVMT_ID") // 수납 ID
|
|
|
|
|
|
|
|
, delYn : "Y" // 삭제 여부
|
|
|
|
|
|
|
|
, delRsn : obj.reason // 삭제 사유
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 삭제 url
|
|
|
|
|
|
|
|
${pageName}Control.urls.remove = wctx.url(${pageName}Control.dataset.getValue("TASK_SE_CD") + ${pageName}PrefixUrl + "/010/removeRcvmt.do");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ajax.post({
|
|
|
|
|
|
|
|
url : ${pageName}Control.urls.remove
|
|
|
|
|
|
|
|
, data : params
|
|
|
|
|
|
|
|
, success : resp => {
|
|
|
|
|
|
|
|
let btnTitle = $("#btnRemoveRcvmt--${pageName}").attr("title");
|
|
|
|
let showMessage = resp.retMessage.replace(/[S]|[F]/g, btnTitle);
|
|
|
|
let showMessage = resp.retMessage.replace(/[S]|[F]/g, btnTitle);
|
|
|
|
|
|
|
|
|
|
|
|
dialog.alert(showMessage);
|
|
|
|
dialog.alert(showMessage); // 메시지 출력
|
|
|
|
|
|
|
|
|
|
|
|
if (resp.saved) {
|
|
|
|
if (resp.saved) {
|
|
|
|
$("#dscsnCn--${pageName}").val(""); // 상담내용 초기화
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
refreshDataInfo${pageName}(); // 자료 재조회
|
|
|
|
refreshDataInfo${pageName}(); // 자료 재조회
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// 삭제
|
|
|
|
|
|
|
|
${pageName}Control.remove = (params) => {
|
|
|
|
|
|
|
|
ajax.post({
|
|
|
|
|
|
|
|
url : wctx.url(params.taskSeCd + ${pageName}PrefixUrl + "/010/remove.do")
|
|
|
|
|
|
|
|
, data : params || {}
|
|
|
|
|
|
|
|
, success : resp => ${pageName}Control.onRemove(resp) // 삭제 callback
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -323,6 +340,32 @@
|
|
|
|
$("#tbody--${pageName}").html(trs.join());
|
|
|
|
$("#tbody--${pageName}").html(trs.join());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 자료 재조회
|
|
|
|
|
|
|
|
refreshDataInfo${pageName} = () => {
|
|
|
|
|
|
|
|
let crdnId = $("#crdnId--${pageNameMain}").val();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 단속 ID 가 없다면.. return
|
|
|
|
|
|
|
|
if (typeof crdnId == "undefined" || crdnId == null || crdnId == "") return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let params = {
|
|
|
|
|
|
|
|
callPurpose : "refresh"
|
|
|
|
|
|
|
|
, crdnId : crdnId
|
|
|
|
|
|
|
|
, sggCd : sggCd = $("#sggCd--${pageNameMain}").val()
|
|
|
|
|
|
|
|
, taskSeCd : taskSeCd = $("#taskSeCd--${pageNameMain}").val()
|
|
|
|
|
|
|
|
, delYn : "N"
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ajax.get({
|
|
|
|
|
|
|
|
url : wctx.url(taskSeCd + "/sprt/sprt02/070/info.do")
|
|
|
|
|
|
|
|
, headers: { Accept: "application/json; charset=utf-8" } // json
|
|
|
|
|
|
|
|
, data : params || {}
|
|
|
|
|
|
|
|
, success : resp => {
|
|
|
|
|
|
|
|
${pageName}Control.dataset.clear();
|
|
|
|
|
|
|
|
${pageName}Control.setData(resp.rcvmt); // Dataset 셋팅
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|
* 초기 셋팅
|
|
|
|
* 초기 셋팅
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
@ -346,19 +389,17 @@
|
|
|
|
**************************************************************************/
|
|
|
|
**************************************************************************/
|
|
|
|
// 수기 수납 등록
|
|
|
|
// 수기 수납 등록
|
|
|
|
fnCreateRcvmt${pageName} = () => {
|
|
|
|
fnCreateRcvmt${pageName} = () => {
|
|
|
|
let sggCd = $("#sggCd--${pageNameMain}").val();
|
|
|
|
let crdnId = $("#crdnId--${pageNameMain}").val();
|
|
|
|
let taskSeCd = $("#taskSeCd--${pageNameMain}").val();
|
|
|
|
|
|
|
|
let levyId = $("#levyId--${pageName}").val();
|
|
|
|
let levyId = $("#levyId--${pageName}").val();
|
|
|
|
|
|
|
|
|
|
|
|
// 부과 ID 가 없다면.. return
|
|
|
|
// 부과 ID 가 없다면.. return
|
|
|
|
if (levyId == undefined || levyId == "") {
|
|
|
|
if (typeof levyId == "undefined" || levyId == null || levyId == "") return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let params = {
|
|
|
|
let params = {
|
|
|
|
callPurpose : "create"
|
|
|
|
callPurpose : "create"
|
|
|
|
, sggCd : sggCd
|
|
|
|
, crdnId : crdnId
|
|
|
|
, taskSeCd : taskSeCd
|
|
|
|
, sggCd : $("#sggCd--${pageNameMain}").val()
|
|
|
|
|
|
|
|
, taskSeCd : $("#taskSeCd--${pageNameMain}").val()
|
|
|
|
, levyId : levyId
|
|
|
|
, levyId : levyId
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
@ -367,7 +408,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
// 수기 수납 삭제
|
|
|
|
// 수기 수납 삭제
|
|
|
|
fnRemoveRcvmt${pageName} = () => {
|
|
|
|
fnRemoveRcvmt${pageName} = () => {
|
|
|
|
alert("수기 수납 삭제");
|
|
|
|
// 수납 ID
|
|
|
|
|
|
|
|
let rcvmtId = ${pageName}Control.dataset.getValue("RCVMT_ID");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 수납 ID 가 없다면.. return
|
|
|
|
|
|
|
|
if (typeof rcvmtId == "undefined" || rcvmtId == null || rcvmtId == "") return;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 수납 입력 구분이 03(수기) 일때만 삭제 가능
|
|
|
|
|
|
|
|
if (${pageName}Control.dataset.getValue("RCVMT_INPT_SE_CD") != "03") {
|
|
|
|
|
|
|
|
dialog.alert({
|
|
|
|
|
|
|
|
content : "수납입력구분이 수기로 등록된 자료만 삭제 가능합니다."
|
|
|
|
|
|
|
|
, onOK : () => { }
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let callbackFuncName = "callbackRemoveRcvmt${pageName}";
|
|
|
|
|
|
|
|
let popupWidth = 640;
|
|
|
|
|
|
|
|
let popupHeight = 360;
|
|
|
|
|
|
|
|
let popupX = (window.screen.width / 2) - (popupWidth / 2);
|
|
|
|
|
|
|
|
let popupY= (window.screen.height / 2) - (popupHeight / 2);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
window.open(
|
|
|
|
|
|
|
|
wctx.url("/resources/html/inputRsnDialog.html"
|
|
|
|
|
|
|
|
+ "?callbackFuncName=" + callbackFuncName
|
|
|
|
|
|
|
|
+ "&CALL_PURPOSE=" + "remove"
|
|
|
|
|
|
|
|
)
|
|
|
|
|
|
|
|
, "inputDelRsnDialog"
|
|
|
|
|
|
|
|
, 'status=no, height=' + popupHeight + ', width=' + popupWidth + ', left='+ popupX + ', top='+ popupY
|
|
|
|
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
/**************************************************************************
|
|
|
|