rlxk tnwjd.

main
JoJH 3 days ago
parent bb8338c0ff
commit d880c6573b

@ -45,13 +45,6 @@
<button type="button" class="bx bx-lg bx-calendar bg-white"></button>
</span>
</div>
<div class="col-6">
<label is="name-label" class="form-label form-search-title w-px-120 text-end fw-bold" for="schRtpyrNm">납부자명</label>
<input is="id-input" type="text" class="form-control w-px-160" name="schRtpyrNm" autocomplete="off" />
</div>
<!-- -->
<div class="col-6">
</div>
<div class="col-6">
<label is="name-label" class="form-label form-search-title w-px-120 text-end fw-bold" for="schEntRegNo">임대기업번호</label>
<select is="id-select" class="form-select w-px-160" name="schEntRegNo">
@ -61,6 +54,13 @@
</c:forEach>
</select>
</div>
<div class="col-6">
<label is="name-label" class="form-label form-search-title w-px-120 text-end fw-bold" for="schRtpyrNm">납부자명</label>
<input is="id-input" type="text" class="form-control w-px-160" name="schRtpyrNm" autocomplete="off" />
</div>
<!-- -->
<div class="col-6">
</div>
<!-- 동적검색 -->
<div class="col-6">
<input type="hidden" name="by" />
@ -137,7 +137,6 @@
<th class="cmn" style="width: 140px;">수정사용자</th>
<th class="cmn dummy-th"></th>
</template>
<tbody name="tbodyList">
</tbody>
<template is="curly-brackets" name="tmpltRows">
@ -319,6 +318,25 @@
$P.ctrl.query.ffnlgSysInqYn = "Y"; // 과태료 시스템 조회 여부
$P.ctrl.query.delYn = "N"; // 삭제 여부
// 임대기업번호가 전체라면..
if ($P.ctrl.query.schEntRegNo == "" ) {
// entRegNoList 의 option을 전체를 배열로 담는다.
let arrEntRegNo = $.map($P.$findn("schEntRegNo").find("option"), function(e) { return e.value; });
if (arrEntRegNo.length == 1) {
dialog.alert({
content: "등록되어 있는 임대기업 정보가 없습니다."
+ "<br>" + "'임대기업관리' 메뉴에서 임대기업 정보를 먼저 등록하시기 바랍니다."
, init: () => { AppSupport.setDialogZindex(); }
, onOK: () => { }
});
return;
}
// 빈 값(전체)을 제외하고 "," 로 구분하여 entIds 에 담는다.
$P.ctrl.query.schEntRegNos = arrEntRegNo.filter((element) => element !== "").join(',');
}
$P.ctrl.load(1);
}

Loading…
Cancel
Save