|
|
@ -3,13 +3,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
<c:set var="pageKorName" scope="request">출력대상-교부청구서,채권신고서</c:set>
|
|
|
|
<c:set var="pageKorName" scope="request">출력대상-교부청구서,채권신고서</c:set>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="d-flex flex-row justify-content-evenly">
|
|
|
|
<div class="d-flex flex-row justify-content-evenly" data-doctx="${pageName}">
|
|
|
|
<div class="card p-3">
|
|
|
|
<div class="card p-3">
|
|
|
|
<div class="row mb-3 justify-content-start">
|
|
|
|
<div class="row mb-3 justify-content-start">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="float-start">
|
|
|
|
<div class="float-start">
|
|
|
|
<button type="button" id="btnPrintRequestForDelivery--${pageName}" class="btn btn-info">교부청구서출력</button>
|
|
|
|
<button type="button" name="btnPrintRequestForDelivery" class="btn btn-info">교부청구서출력</button>
|
|
|
|
<button type="button" id="btnPrintReportOnClaims--${pageName}" class="btn btn-info">채권신고서출력</button>
|
|
|
|
<button type="button" name="btnPrintReportOnClaims" class="btn btn-info">채권신고서출력</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -17,10 +17,10 @@
|
|
|
|
<div class="card-datatable text-nowrap mb-3">
|
|
|
|
<div class="card-datatable text-nowrap mb-3">
|
|
|
|
<div class="dataTables_wrapper dt-bootstrap5 no-footer">
|
|
|
|
<div class="dataTables_wrapper dt-bootstrap5 no-footer">
|
|
|
|
<div class="table-responsive ox-scroll oy-scroll h-px-300">
|
|
|
|
<div class="table-responsive ox-scroll oy-scroll h-px-300">
|
|
|
|
<table class="table-layout-fixed dataTable datatables-ajax table table-bordered no-footer"
|
|
|
|
<table name="table"
|
|
|
|
id="table--${pageName}" aria-describedby="DataTables_Table_0_info">
|
|
|
|
class="table-layout-fixed dataTable datatables-ajax table table-bordered no-footer">
|
|
|
|
<thead class="sticky-thead" >
|
|
|
|
<thead class="sticky-thead" >
|
|
|
|
<tr id="theadTr--${pageName}">
|
|
|
|
<tr name="theadTr">
|
|
|
|
<th style="width:120px">시군구명</th>
|
|
|
|
<th style="width:120px">시군구명</th>
|
|
|
|
<th style="width:180px">과태료명</th>
|
|
|
|
<th style="width:180px">과태료명</th>
|
|
|
|
<th style="width:120px">대체차량번호</th>
|
|
|
|
<th style="width:120px">대체차량번호</th>
|
|
|
@ -38,9 +38,9 @@
|
|
|
|
<th style="width:400px">번지</th>
|
|
|
|
<th style="width:400px">번지</th>
|
|
|
|
</tr>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
</thead>
|
|
|
|
<tbody id="tbody--${pageName}">
|
|
|
|
<tbody name="tbody">
|
|
|
|
</tbody>
|
|
|
|
</tbody>
|
|
|
|
<template id="found--${pageName}">
|
|
|
|
<template name="found">
|
|
|
|
<tr data-key="{CRDN_ID}" onclick="pageObject['${pageName}'].clickGrid(this);">
|
|
|
|
<tr data-key="{CRDN_ID}" onclick="pageObject['${pageName}'].clickGrid(this);">
|
|
|
|
<td>{SGG_NM}</td>
|
|
|
|
<td>{SGG_NM}</td>
|
|
|
|
<td>{TASK_SE_NM}</td>
|
|
|
|
<td>{TASK_SE_NM}</td>
|
|
|
@ -64,98 +64,98 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<form id="frmEdit--${pageName}">
|
|
|
|
<form name="frmEdit">
|
|
|
|
<input type="text" name="dialogId" hidden />
|
|
|
|
<input type="text" name="dialogId" hidden />
|
|
|
|
<div class="row g-1">
|
|
|
|
<div class="row g-1">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="docNo--${pageName}"
|
|
|
|
<label is="name-label" for="docNo"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end required">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end required">
|
|
|
|
문서번호
|
|
|
|
문서번호
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<input type="text" id="docNo--${pageName}" name="docNo"
|
|
|
|
<input type="text" is="id-input" name="docNo"
|
|
|
|
class="form-control" maxlength="100" required />
|
|
|
|
class="form-control" maxlength="100" required />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="caseNo--${pageName}"
|
|
|
|
<label is="name-label" for="caseNo"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end required">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end required">
|
|
|
|
사건번호
|
|
|
|
사건번호
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<input type="text" id="caseNo--${pageName}" name="caseNo"
|
|
|
|
<input type="text" is="id-input" name="caseNo"
|
|
|
|
class="form-control" maxlength="100" required />
|
|
|
|
class="form-control" maxlength="100" required />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-4">
|
|
|
|
<div class="col-md-4">
|
|
|
|
<label for="receiver--${pageName}"
|
|
|
|
<label is="name-label" for="receiver"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end required">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end required">
|
|
|
|
수신처 지정
|
|
|
|
수신처 지정
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<input type="text" id="receiver--${pageName}" name="receiver"
|
|
|
|
<input type="text" is="id-input" name="receiver"
|
|
|
|
class="form-control" maxlength="100" required />
|
|
|
|
class="form-control" maxlength="100" required />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<label for="rtpyrNm--${pageName}"
|
|
|
|
<label is="name-label" for="rtpyrNm"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
납부자명
|
|
|
|
납부자명
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<input type="text" id="rtpyrNm--${pageName}" name="rtpyrNm"
|
|
|
|
<input type="text" is="id-input" name="rtpyrNm"
|
|
|
|
class="form-control" data-map="RTPYR_NM" maxlength="100" />
|
|
|
|
class="form-control" data-map="RTPYR_NM" maxlength="100" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<label for="rtpyrNo--${pageName}"
|
|
|
|
<label is="name-label" for="rtpyrNo"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
납부자번호
|
|
|
|
납부자번호
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<input type="text" id="rtpyrNo--${pageName}" name="rtpyrNo"
|
|
|
|
<input type="text" is="id-input" name="rtpyrNo"
|
|
|
|
class="form-control privacy" data-map="RTPYR_NO" maxlength="100" />
|
|
|
|
class="form-control privacy" data-map="RTPYR_NO" maxlength="100" />
|
|
|
|
<input type="text" id="mask-rtpyrNo--${pageName}"
|
|
|
|
<input type="text" is="id-input" name="mask-rtpyrNo"
|
|
|
|
class="form-control privacy-mask" disabled value="******"/>
|
|
|
|
class="form-control privacy-mask" disabled value="******"/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<label for="vhrno--${pageName}"
|
|
|
|
<label is="name-label" for="vhrno"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
물건
|
|
|
|
물건
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<input type="text" id="vhrno--${pageName}" name="vhrno"
|
|
|
|
<input type="text" is="id-input" name="vhrno"
|
|
|
|
class="form-control w-px-500" data-map="VHRNO" maxlength="100" />
|
|
|
|
class="form-control w-px-500" data-map="VHRNO" maxlength="100" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<label for="rtpyrFullAddr--${pageName}"
|
|
|
|
<label is="name-label" for="rtpyrFullAddr"
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
class="w-px-130 bg-lighter pe-2 col-form-label text-sm-end">
|
|
|
|
주소(소재지)
|
|
|
|
주소(소재지)
|
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<input type="text" id="rtpyrFullAddr--${pageName}" name="rtpyrFullAddr"
|
|
|
|
<input type="text" is="id-input" name="rtpyrFullAddr"
|
|
|
|
class="form-control w-px-500" data-map="RTPYR_FULL_ADDR" maxlength="300" />
|
|
|
|
class="form-control w-px-500" data-map="RTPYR_FULL_ADDR" maxlength="300" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
|
|
<span id="tempArea--${pageName}" hidden></span>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<template id="checkActnoTemplate--${pageName}">
|
|
|
|
<template name="checkActnoTemplate">
|
|
|
|
<form id="frmDialog--${pageName}">
|
|
|
|
<form name="frm">
|
|
|
|
<div class="card">
|
|
|
|
<div class="card">
|
|
|
|
<div class="row g-1">
|
|
|
|
<div class="row g-1">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<label for="dtbnBankNm--${pageName}"
|
|
|
|
<label is="name-label" for="dtbnBankNm" data-ref-doctx="${pageName}"
|
|
|
|
class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">은행형</label>
|
|
|
|
class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">은행형</label>
|
|
|
|
<input type="text" id="dtbnBankNm--${pageName}" name="dtbnBankNm" class="form-control" />
|
|
|
|
<input type="text" is="id-input" name="dtbnBankNm" class="form-control"
|
|
|
|
|
|
|
|
data-ref-doctx="${pageName}" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<label for="dtbnActno--${pageName}"
|
|
|
|
<label is="name-label" for="dtbnActno" data-ref-doctx="${pageName}"
|
|
|
|
class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">계좌번호</label>
|
|
|
|
class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">계좌번호</label>
|
|
|
|
<input type="text" id="dtbnActno--${pageName}" name="dtbnActno" class="form-control" />
|
|
|
|
<input type="text" is="id-input" name="dtbnActno" class="form-control"
|
|
|
|
|
|
|
|
data-ref-doctx="${pageName}" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
<span class="container-page-btn">
|
|
|
|
<span class="container-page-btn">
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
<span class="container-window-btn-right">
|
|
|
|
<button type="button" class="btn btn-primary" id="btnChangeActno--${pageName}"
|
|
|
|
<button type="button" class="btn btn-primary" name="btnChangeActno"
|
|
|
|
title="변경">
|
|
|
|
title="변경">
|
|
|
|
변경
|
|
|
|
변경
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
|
<button type="button" class="btn btn-primary" id="btnConfirmActno--${pageName}"
|
|
|
|
<button type="button" class="btn btn-primary" name="btnConfirmActno"
|
|
|
|
title="확인">
|
|
|
|
title="확인">
|
|
|
|
확인
|
|
|
|
확인
|
|
|
|
</button>
|
|
|
|
</button>
|
|
|
@ -163,11 +163,14 @@
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</form>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
|
|
|
|
|
|
|
|
|
pageObject["${pageName}"] = {};
|
|
|
|
pageObject["${pageName}"] = newDoctxFinder("${pageName}");
|
|
|
|
pageObject["${pageName}"].provided = {};
|
|
|
|
pageObject["${pageName}"].provided = {};
|
|
|
|
|
|
|
|
|
|
|
|
pageObject.childReq = [];
|
|
|
|
pageObject.childReq = [];
|
|
|
@ -191,17 +194,17 @@ $(document).ready(function(){
|
|
|
|
$P.clickGrid = (element) => {
|
|
|
|
$P.clickGrid = (element) => {
|
|
|
|
var key = element.dataset.key;
|
|
|
|
var key = element.dataset.key;
|
|
|
|
|
|
|
|
|
|
|
|
$("#tbody--${pageName}").setCurrentRow(key);
|
|
|
|
$P.$find("tbody").setCurrentRow(key);
|
|
|
|
|
|
|
|
|
|
|
|
var info = $P.provided.getInfo(key);
|
|
|
|
var info = $P.provided.getInfo(key);
|
|
|
|
var formFields = new FimsFormFields("#frmEdit--${pageName}");
|
|
|
|
var formFields = new FimsFormFields($P.selector("frmEdit"));
|
|
|
|
formFields.set(null,info);
|
|
|
|
formFields.set(null,info);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//교부청구서 파일 생성
|
|
|
|
//교부청구서 파일 생성
|
|
|
|
$P.fnMakeRequestForDeliveryFile = () => {
|
|
|
|
$P.fnMakeRequestForDeliveryFile = () => {
|
|
|
|
|
|
|
|
|
|
|
|
if(!customValidate($("#frmEdit--${pageName} input"))) return;
|
|
|
|
if(!customValidate($P.$find("frmEdit").find("input"))) return;
|
|
|
|
|
|
|
|
|
|
|
|
$P.checkActno();
|
|
|
|
$P.checkActno();
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -219,15 +222,19 @@ $(document).ready(function(){
|
|
|
|
dialog.open({
|
|
|
|
dialog.open({
|
|
|
|
id : checkActnoDialogId,
|
|
|
|
id : checkActnoDialogId,
|
|
|
|
title : "계좌번호 확인",
|
|
|
|
title : "계좌번호 확인",
|
|
|
|
content : document.getElementById("checkActnoTemplate--${pageName}").innerHTML,
|
|
|
|
content : $P.find("checkActnoTemplate").innerHTML,
|
|
|
|
size : "md",
|
|
|
|
size : "md",
|
|
|
|
init : () => {
|
|
|
|
init : () => {
|
|
|
|
$("#btnChangeActno--${pageName}").on("click", function(){ $P.checkActnoCallback(true,checkActnoDialogId); });
|
|
|
|
$("#"+checkActnoDialogId).find("[name='btnChangeActno']").on("click", function(){
|
|
|
|
$("#btnConfirmActno--${pageName}").on("click", function(){ $P.checkActnoCallback(false,checkActnoDialogId); });
|
|
|
|
$P.checkActnoCallback(true,checkActnoDialogId);
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
$("#"+checkActnoDialogId).find("[name='btnConfirmActno']").on("click", function(){ $
|
|
|
|
|
|
|
|
P.checkActnoCallback(false,checkActnoDialogId);
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
if(resp.stngInfo != null){
|
|
|
|
if(resp.stngInfo != null){
|
|
|
|
$("#dtbnBankNm--${pageName}").val(resp.stngInfo.DTBN_BANK_NM);
|
|
|
|
$("#"+checkActnoDialogId).find("[name='dtbnBankNm']").val(resp.stngInfo.DTBN_BANK_NM);
|
|
|
|
$("#dtbnActno--${pageName}").val(resp.stngInfo.DTBN_ACTNO);
|
|
|
|
$("#"+checkActnoDialogId).find("[name='dtbnActno']").val(resp.stngInfo.DTBN_ACTNO);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
onClose : () => {}
|
|
|
|
onClose : () => {}
|
|
|
@ -241,14 +248,14 @@ $(document).ready(function(){
|
|
|
|
$P.checkActnoCallback = (change, checkActnoDialogId) => {
|
|
|
|
$P.checkActnoCallback = (change, checkActnoDialogId) => {
|
|
|
|
|
|
|
|
|
|
|
|
var url = wctx.url("/sprt/sprt01/120/makeRequestForDeliveryFileFromHwpFormat.do");
|
|
|
|
var url = wctx.url("/sprt/sprt01/120/makeRequestForDeliveryFileFromHwpFormat.do");
|
|
|
|
var formFields = new FimsFormFields("#frmEdit--${pageName}");
|
|
|
|
var formFields = new FimsFormFields($P.selector("frmEdit"));
|
|
|
|
var globalVariable = formFields.get();
|
|
|
|
var globalVariable = formFields.get();
|
|
|
|
|
|
|
|
|
|
|
|
var changed = false;
|
|
|
|
var changed = false;
|
|
|
|
if(change){
|
|
|
|
if(change){
|
|
|
|
|
|
|
|
|
|
|
|
var dtbnBankNm = $("#dtbnBankNm--${pageName}").val();
|
|
|
|
var dtbnBankNm = $("#"+checkActnoDialogId).find("[name='dtbnBankNm']").val();
|
|
|
|
var dtbnActno = $("#dtbnActno--${pageName}").val();
|
|
|
|
var dtbnActno = $("#"+checkActnoDialogId).find("[name='dtbnActno']").val();
|
|
|
|
|
|
|
|
|
|
|
|
$.ajax({
|
|
|
|
$.ajax({
|
|
|
|
type: 'GET',
|
|
|
|
type: 'GET',
|
|
|
@ -277,10 +284,10 @@ $(document).ready(function(){
|
|
|
|
//채권신고서 파일 생성
|
|
|
|
//채권신고서 파일 생성
|
|
|
|
$P.fnMakeReportOnClaimsFile = () => {
|
|
|
|
$P.fnMakeReportOnClaimsFile = () => {
|
|
|
|
|
|
|
|
|
|
|
|
if(!customValidate($("#frmEdit--${pageName} input"))) return;
|
|
|
|
if(!customValidate($P.$find("frmEdit").find("input"))) return;
|
|
|
|
|
|
|
|
|
|
|
|
var url = wctx.url("/sprt/sprt01/120/makeReportOnClaimsFileFromHwpFormat.do");
|
|
|
|
var url = wctx.url("/sprt/sprt01/120/makeReportOnClaimsFileFromHwpFormat.do");
|
|
|
|
var formFields = new FimsFormFields("#frmEdit--${pageName}");
|
|
|
|
var formFields = new FimsFormFields($P.selector("frmEdit"));
|
|
|
|
var globalVariable = formFields.get();
|
|
|
|
var globalVariable = formFields.get();
|
|
|
|
|
|
|
|
|
|
|
|
$P.fnMakeFile(url, globalVariable);
|
|
|
|
$P.fnMakeFile(url, globalVariable);
|
|
|
@ -298,11 +305,11 @@ $(document).ready(function(){
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//버튼이벤트
|
|
|
|
//버튼이벤트
|
|
|
|
$("#btnPrintRequestForDelivery--${pageName}").on("click", () => $P.fnMakeRequestForDeliveryFile() );
|
|
|
|
$P.$find("btnPrintRequestForDelivery").on("click", () => $P.fnMakeRequestForDeliveryFile() );
|
|
|
|
$("#btnPrintReportOnClaims--${pageName}").on("click", () => $P.fnMakeReportOnClaimsFile() );
|
|
|
|
$P.$find("btnPrintReportOnClaims").on("click", () => $P.fnMakeReportOnClaimsFile() );
|
|
|
|
|
|
|
|
|
|
|
|
//첫번째 줄 클릭
|
|
|
|
//첫번째 줄 클릭
|
|
|
|
$("#tbody--${pageName}").find("tr:eq(0)").click();
|
|
|
|
$P.$find("tbody").find("tr:eq(0)").click();
|
|
|
|
|
|
|
|
|
|
|
|
//보안모드
|
|
|
|
//보안모드
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|
fn_securityModeToggle($("#securityMode--top").is(":checked"));
|
|
|
|