fix: 개인결제관리 > 개인결제 등록/수정 - 결제수단 체크박스
(cherry picked from commit 6ea1568800)
This commit is contained in:
@@ -408,13 +408,7 @@
|
|||||||
|
|
||||||
/* 관리자 주문 > 에누리 > 결제수단 선택 이벤트 */
|
/* 관리자 주문 > 에누리 > 결제수단 선택 이벤트 */
|
||||||
$('.setleMnCds').on('click', function() {
|
$('.setleMnCds').on('click', function() {
|
||||||
const td = $(this).closest('td');
|
fn_chk_steleChkbox(this);
|
||||||
let checkbox = $(table).find('input[name="setleMnCds"]').length;
|
|
||||||
let checkedbox = $(table).find('input[name="setleMnCds"]:checked').length;
|
|
||||||
|
|
||||||
if (checkbox !== checkedbox) {
|
|
||||||
$(td).find('#setleChkAll').prop('checked', false);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
/* 관리자 주문 > 에누리 > 유효기간 체인지 이벤트 */
|
/* 관리자 주문 > 에누리 > 유효기간 체인지 이벤트 */
|
||||||
@@ -1670,6 +1664,19 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 개인결제 결제수단 체크박스 처리 */
|
||||||
|
const fn_chk_steleChkbox = function(target) {
|
||||||
|
const td = $(target).closest('td');
|
||||||
|
let checkbox = $(table).find('input[name="setleMnCds"]').length;
|
||||||
|
let checkedbox = $(table).find('input[name="setleMnCds"]:checked').length;
|
||||||
|
|
||||||
|
if (checkbox !== checkedbox) {
|
||||||
|
$(td).find('#setleChkAll').prop('checked', false);
|
||||||
|
} else {
|
||||||
|
$(td).find('#setleChkAll').prop('checked', true);
|
||||||
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
<body>
|
<body>
|
||||||
<%@ include file="/WEB-INF/views/comm/mngr/Header.jsp"%>
|
<%@ include file="/WEB-INF/views/comm/mngr/Header.jsp"%>
|
||||||
|
|||||||
@@ -124,13 +124,7 @@
|
|||||||
|
|
||||||
/* 관리자 주문 > 에누리 > 결제수단 선택 이벤트 */
|
/* 관리자 주문 > 에누리 > 결제수단 선택 이벤트 */
|
||||||
$('.setleMnCds').on('click', function() {
|
$('.setleMnCds').on('click', function() {
|
||||||
const td = $(this).closest('td');
|
fn_chk_steleChkbox(this);
|
||||||
let checkbox = $(table).find('input[name="setleMnCds"]').length;
|
|
||||||
let checkedbox = $(table).find('input[name="setleMnCds"]:checked').length;
|
|
||||||
|
|
||||||
if (checkbox !== checkedbox) {
|
|
||||||
$(td).find('#setleChkAll').prop('checked', false);
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
/* 관리자 주문 > 에누리 > 유효기간 체인지 이벤트 */
|
/* 관리자 주문 > 에누리 > 유효기간 체인지 이벤트 */
|
||||||
@@ -779,6 +773,19 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 개인결제 결제수단 체크박스 처리 */
|
||||||
|
const fn_chk_steleChkbox = function(target) {
|
||||||
|
const td = $(target).closest('td');
|
||||||
|
let checkbox = $(table).find('input[name="setleMnCds"]').length;
|
||||||
|
let checkedbox = $(table).find('input[name="setleMnCds"]:checked').length;
|
||||||
|
|
||||||
|
if (checkbox !== checkedbox) {
|
||||||
|
$(td).find('#setleChkAll').prop('checked', false);
|
||||||
|
} else {
|
||||||
|
$(td).find('#setleChkAll').prop('checked', true);
|
||||||
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
<body>
|
<body>
|
||||||
<%@ include file="/WEB-INF/views/comm/mngr/Header.jsp"%>
|
<%@ include file="/WEB-INF/views/comm/mngr/Header.jsp"%>
|
||||||
|
|||||||
Reference in New Issue
Block a user