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