버튼 종류별 구분 표시 추가(단건 처리 버튼, 다건 처리 버튼, 신규 팝업호출버튼)

main
이범준 2 months ago
parent d8428b7459
commit 2d9d648ccf

@ -59,10 +59,10 @@
<!-- 업무 버튼 -->
<span class="container-window-btn-right">
<button type="button" class="btn btn-primary w-px-120" name="btnCreate" title="임대기업 매핑 등록">
매핑 등록
&#x1F5D4; 매핑 등록
</button>
<button type="button" class="btn btn-danger w-px-120" name="btnRemove" title="임대기업 매핑 삭제">
매핑 삭제
&#x2611; 매핑 삭제
</button>
</span>
</div>

@ -18,7 +18,7 @@
검색
</button>
<button type="button" class="btn btn-info w-px-120" name="btnOK" title="임대기업 선택 확인">
선택 확인
&#x2611; 선택 확인
</button>
</span>
</div>
@ -57,13 +57,13 @@
<!-- 업무 버튼 -->
<span class="container-window-btn-right">
<button type="button" class="btn btn-primary w-px-120" name="btnCreate" title="임대기업 등록">
기업 등록
&#x1F5D4; 기업 등록
</button>
<button type="button" class="btn btn-primary w-px-120" name="btnUpdate" title="임대기업 수정">
기업 수정
&#x25C9; 기업 수정
</button>
<button type="button" class="btn btn-danger w-px-120" name="btnRemove" title="임대기업 삭제">
기업 삭제
&#x2611; 기업 삭제
</button>
</span>
</div>

@ -80,10 +80,10 @@
<!-- 업무 버튼 -->
<span class="container-window-btn-right">
<button type="button" class="btn btn-primary w-px-120" name="btnCreate" title="차량 등록">
차량 등록
&#x1F5D4; 차량 등록
</button>
<button type="button" class="btn btn-danger w-px-120" name="btnRemove" title="차량 삭제">
차량 삭제
&#x2611; 차량 삭제
</button>
</span>
</div>

@ -79,10 +79,10 @@
<!-- 업무 버튼 -->
<span class="container-window-btn-right">
<button type="button" class="btn btn-primary w-px-120" name="btnCreate" title="임대차계약 매핑 등록">
임대차계약 등록
&#x25C9; 임대차계약 등록
</button>
<button type="button" class="btn btn-danger w-px-120" name="btnRemove" title="임대차계약 매핑 삭제">
임대차계약 삭제
&#x2611; 임대차계약 삭제
</button>
</span>
</div>

@ -18,7 +18,7 @@
검색
</button>
<button type="button" class="btn btn-info w-px-120" name="btnOK" title="임차차계약 선택 확인">
선택 확인
&#x25C9; 선택 확인
</button>
</span>
</div>
@ -73,13 +73,13 @@
<!-- 업무 버튼 -->
<span class="container-window-btn-right">
<button type="button" class="btn btn-primary w-px-120" name="btnCreate" title="임차인 등록">
임차인 등록
&#x1F5D4; 임차인 등록
</button>
<button type="button" class="btn btn-primary w-px-120" name="btnUpdate" title="임차인 수정">
임차인 수정
&#x25C9; 임차인 수정
</button>
<button type="button" class="btn btn-danger w-px-120" name="btnRemove" title="임차인 삭제">
임차인 삭제
&#x2611; 임차인 삭제
</button>
</span>
</div>

@ -103,10 +103,10 @@
<!-- 업무 버튼 -->
<span class="container-window-btn-right">
<button type="button" class="btn btn-primary w-px-120" name="btnCreate" title="임대차계약 승인 요청">
승인 요청
&#x2611; 승인 요청
</button>
<button type="button" class="btn btn-danger w-px-120" name="btnRemove" title="임대차계약 승인 요청 취소">
승인 요청 취소
&#x2611; 승인 요청 취소
</button>
</span>
</div>

@ -70,6 +70,14 @@ function newRent02030Control(pageName, doctx="[data-doctx='rent02030']") {
// 현재 선택 자료 변경 이벤트
ctrl.onCurrentChange = (item) => {
Apply.fromDataset.currentRow(ctrl.dataset, item, ctrl.find("[name='tbodyList']"));
if(item == null){
$(ctrl.find("[name='btnOK']")).prop("disabled", true);
$(ctrl.find("[name='btnUpdate']")).prop("disabled", true);
} else {
$(ctrl.find("[name='btnOK']")).prop("disabled", false);
$(ctrl.find("[name='btnUpdate']")).prop("disabled", false);
}
};
// 선택(체크) 변경 이벤트

Loading…
Cancel
Save