|
|
|
@ -7,13 +7,62 @@
|
|
|
|
|
<div class="content-pop" data-doctx="${pageName}">
|
|
|
|
|
<!-- Content -->
|
|
|
|
|
<div class="container flex-grow-1 px-0">
|
|
|
|
|
<div class="card">
|
|
|
|
|
<!-- 입력 영역 -->
|
|
|
|
|
<form name="frmEdit">
|
|
|
|
|
<!-- hidden -->
|
|
|
|
|
<input type="hidden" name="lsctId" data-map="LSCT_ID" />
|
|
|
|
|
<!-- 입력 영역 -->
|
|
|
|
|
<form name="frmEdit">
|
|
|
|
|
<!-- hidden -->
|
|
|
|
|
<input type="hidden" name="lsctId" data-map="LSCT_ID" />
|
|
|
|
|
<input type="hidden" name="entId" data-map="ENT_ID" />
|
|
|
|
|
<input type="hidden" name="crdnId" data-map="CRDN_ID" />
|
|
|
|
|
|
|
|
|
|
<div class="card">
|
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
|
<div class="container-page-btn">
|
|
|
|
|
<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-6">
|
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="crdnDt">단속일시</label>
|
|
|
|
|
<input is="id-input" type="text" class="form-control w-35" name="crdnDt" data-map="CRDN_DT" data-fmt-type="dt" readonly />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 차량번호 -->
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="crdnVhrno">차량번호</label>
|
|
|
|
|
<input is="id-input" type="text" class="form-control w-30" name="crdnVhrno" data-map="CRDN_VHRNO" readonly />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 법정동 -->
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="crdnStdgNm">법정동</label>
|
|
|
|
|
<input is="id-input" type="text" class="form-control w-30" name="crdnStdgNm" data-map="CRDN_STDG_NM" readonly />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 단속 장소 -->
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end" for="crdnPlc">단속장소</label>
|
|
|
|
|
<input is="id-input" type="text" class="form-control w-50" name="crdnPlc" data-map="CRDN_PLC" readonly />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<p></p>
|
|
|
|
|
|
|
|
|
|
<div class="card">
|
|
|
|
|
<!-- 업무 버튼 -->
|
|
|
|
|
<div class="container-page-btn">
|
|
|
|
|
<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-6">
|
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end required" for="entRegNo">법인(사업자)번호</label>
|
|
|
|
|
<input is="id-input" type="text" class="form-control w-30" name="entRegNo" data-map="ENT_REG_NO" required readonly />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 기업 명 -->
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end required" for="entRegNo">법인(사업자)명</label>
|
|
|
|
|
<input is="id-input" type="text" class="form-control w-30" name="entNm" data-map="ENT_NM" required readonly />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 계약 시작 일시 -->
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end required" for="ctrtBgngYmd">계약시작일시</label>
|
|
|
|
@ -48,7 +97,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 임차인 등록 번호 -->
|
|
|
|
|
<div class="col-md-6">
|
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end required" for="hirerRegNo">등록번호</label>
|
|
|
|
|
<label is="name-label" class="col-form-label bg-lighter pe-2 w-px-120 text-sm-end required" for="hirerRegNo">면허번호</label>
|
|
|
|
|
<input is="id-input" type="text" class="form-control w-30" name="hirerRegNo" data-map="HIRER_REG_NO" required autocomplete="off" />
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 임차인 명 -->
|
|
|
|
@ -162,8 +211,8 @@
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
// URL 설정
|
|
|
|
|
$P.setUrl = (prefixUrl) => {
|
|
|
|
|
$P.ctrl.urls.create = wctx.url(prefixUrl + "/040/createHirer.do") // 등록
|
|
|
|
|
$P.ctrl.urls.update = wctx.url(prefixUrl + "/040/updateHirer.do") // 수정
|
|
|
|
|
$P.ctrl.urls.create = wctx.url(prefixUrl + "/040/createLsct.do") // 등록
|
|
|
|
|
$P.ctrl.urls.update = wctx.url(prefixUrl + "/040/updateLsct.do") // 수정
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 우편번호 검색 결과
|
|
|
|
@ -311,6 +360,9 @@
|
|
|
|
|
$P.setUrl("${prefixUrl}");
|
|
|
|
|
|
|
|
|
|
// 기본 데이터 설정
|
|
|
|
|
$P.$findn("entId").val("${entId}");
|
|
|
|
|
$P.$findn("crdnId").val("${crdnId}");
|
|
|
|
|
|
|
|
|
|
AppSupport.initDatepicker($P.findn("frmEdit")); // 달력 초기화
|
|
|
|
|
$P.$findn("ctrtBgngYmd").datepicker("setDate", TODAY()); // 계약 시작 일자
|
|
|
|
|
$P.$findn("ctrtEndYmd").datepicker("setDate", TODAY()); // 계약 종료 일자
|
|
|
|
@ -386,6 +438,19 @@
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
|
$P.$findn("hirerSeCd").on("change", function() {
|
|
|
|
|
if (this.value == "01") {
|
|
|
|
|
$($P.ctrl.find("label[for='hirerRegNo--${pageName}']")).text("면허번호");
|
|
|
|
|
} else if (this.value == "02") {
|
|
|
|
|
$($P.ctrl.find("label[for='hirerRegNo--${pageName}']")).text("법인등록번호");
|
|
|
|
|
} else if (this.value == "03") {
|
|
|
|
|
$($P.ctrl.find("label[for='hirerRegNo--${pageName}']")).text("사업자등록번호");
|
|
|
|
|
} else {
|
|
|
|
|
$($P.ctrl.find("label[for='hirerRegNo--${pageName}']")).text("등록번호");
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
// 기본 버튼 이벤트
|
|
|
|
|
$P.$findn("btnZipCode").on("click", () => { $P.fnZipCode() }); // 우편번호 검색 버튼 클릭 이벤트
|
|
|
|
|
// 버튼 이벤트
|
|
|
|
|