함수명 수정.

main
jjh 1 year ago
parent 63a00829f1
commit 013136186b

@ -27,7 +27,10 @@
<!-- 차량번호 -->
<div class="col-md-6">
<label for="vhrno--${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="vhrno--${pageName}" name="vhrno" data-map="VHRNO" />
<input type="text" class="form-control w-40" id="vhrno--${pageName}" name="vhrno" data-map="VHRNO" />
<button type="button" class="btn btn-sm btn-outline-dark" id="btnVehicle--${pageName}" title="우편번호 검색" onclick="fnVehicle${pageName}();">
조회
</button>
</div>
<!-- 위반 내용 -->
<div class="col-md-6">
@ -278,7 +281,7 @@
}
// 차적 조회
vehicleInfo${pageName} = () => {
getVehicle${pageName} = () => {
let crdnYmd = $("#crdnYmd--${pageName}").val().replaceAll("-", "");
let vhrno = this.value;
@ -381,7 +384,7 @@
$("#vhrno--${pageName}").on("keyup", function(e) {
if (e.key == "Enter") {
// 차적 조회
vehicleInfo${pageName}();
getVehicle${pageName}();
}
});
}
@ -389,6 +392,11 @@
/**************************************************************************
* function
**************************************************************************/
// 차적 조회
fnVehicle${pageName} = () => {
getVehicle${pageName}();
}
// 저장
fnSave${pageName} = () => {
// validate 확인

@ -53,7 +53,7 @@
<div class="col-md-4">
<label for="sttrNm--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end required">성명</label>
<input type="text" class="form-control w-40" id="sttrNm--${pageName}" name="sttrNm" data-map="STTR_NM" required />
<button type="button" class="btn btn-sm btn-outline-dark" id="btnPayer--${pageName}" title="납부자 정보 적용" onclick="fnBtnPayer${pageName}();">
<button type="button" class="btn btn-sm btn-outline-dark" id="btnPayer--${pageName}" title="납부자 정보 적용" onclick="fnPayer${pageName}();">
납부자
</button>
</div>
@ -77,7 +77,7 @@
<label for="sttrAddr--${pageName}" class="w-px-120 bg-lighter pe-2 col-form-label text-sm-end">주소</label>
<input type="text" class="form-control w-75" id="sttrAddr--${pageName}" name="sttrAddr" data-map="STTR_ADDR" />
<input type="text" class="form-control w-px-75" id="sttrZip--${pageName}" name="sttrZip" data-map="STTR_ZIP" />
<button type="button" class="btn btn-sm btn-outline-dark" id="btnZip--${pageName}" title="우편번호 검색" onclick="fnBtnZip${pageName}();">
<button type="button" class="btn btn-sm btn-outline-dark" id="btnZip--${pageName}" title="우편번호 검색" onclick="fnZip${pageName}();">
검색
</button>
</div>
@ -280,7 +280,7 @@
* function
**************************************************************************/
// 납부자 정보
fnBtnPayer${pageName} = () => {
fnPayer${pageName} = () => {
// 수정이라면 동작하지 않게 한다.
if (${pageName}Control.getValue("OPNN_ID") != "") {
return;
@ -302,7 +302,7 @@
}
// 우편번호 검색
fnBtnZip${pageName} = () => {
fnZip${pageName} = () => {
}

Loading…
Cancel
Save