요금결제내역 등급제 적용
This commit is contained in:
parent
ee9dc2af25
commit
717c62b217
@ -89,6 +89,8 @@ $(document).ready(function(){
|
||||
$(this).val($(this).val().replace(/[^\.0-9]/g,""))
|
||||
})
|
||||
|
||||
// 등급제 대상 여부
|
||||
//getMberGrdChk();
|
||||
});
|
||||
|
||||
|
||||
@ -307,6 +309,46 @@ $(document).on("click", "#chkAll", function(e) {
|
||||
var isChecked = $(this).is(":checked");
|
||||
$("input[name=eachChk]:checkbox").prop("checked", isChecked);
|
||||
});
|
||||
|
||||
|
||||
//등급제 누적결제액 세부내역
|
||||
function mberGrdHistListAjax(pageNo){
|
||||
document.levelForm.pageIndex.value = pageNo;
|
||||
|
||||
var sendData= $(document.levelForm).serializeArray();
|
||||
$("#mberGrdHistListLoad").load("/web/member/grd/mberGrdHistListAjax.do", sendData ,function(response, status, xhr){
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
// 등급제 대상 여부
|
||||
function getMberGrdChk() {
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "/web/grd/mberGrdChkAjax.do",
|
||||
data: {},
|
||||
dataType:'json',
|
||||
async: false,
|
||||
success: function (data) {
|
||||
if (data.isSuccess) {
|
||||
// 등급제 누적결제액 세부내역
|
||||
$("#levelSubTitle").html("(" + data.rtnMberGrdVO.grdDate + " ~ 현재)");
|
||||
document.levelForm.grdSetNm.value = data.rtnMberGrdVO.grdSetNm;
|
||||
document.levelForm.totAmt.value = data.rtnMberGrdVO.totAmt;
|
||||
mberGrdHistListAjax(1);
|
||||
|
||||
$("#levelIconBtn").show();
|
||||
}
|
||||
else {
|
||||
//alert("Msg : " + data.msg);
|
||||
}
|
||||
},
|
||||
error: function (e) {
|
||||
//alert("ERROR : " + JSON.stringify(e));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
</script>
|
||||
<form id="listForm" name="listForm" action="<c:url value='/web/member/pay/PayList.do'/>" method="post">
|
||||
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
|
||||
@ -351,6 +393,9 @@ $(document).on("click", "#chkAll", function(e) {
|
||||
-->
|
||||
</div>
|
||||
<div>
|
||||
<button type="button" class="level_btn" data-tooltip="level_check_popup01" id="levelIconBtn" style="display: none;">
|
||||
<img src="/publish/images/level/level_btn_icon.png" alt="등급 및 누적결제액 확인 버튼">등급 및 누적결제액 확인
|
||||
</button>
|
||||
<button type="button" class="excel_btn" onclick="javascript:payExcelDownload();">
|
||||
<i class="downroad"></i>엑셀 다운로드
|
||||
</button>
|
||||
@ -852,3 +897,28 @@ $(document).on("click", "#chkAll", function(e) {
|
||||
</form>
|
||||
</div>
|
||||
<!--// 세금계산서 팝업 -->
|
||||
|
||||
<form id="levelForm" name="levelForm" method="post">
|
||||
<input type="hidden" id="pageType" name="pageType" value=""/>
|
||||
<input type="hidden" id="pageIndex" name="pageIndex" value=""/>
|
||||
<input type="hidden" id="grdSetNm" name="grdSetNm" value=""/>
|
||||
<input type="hidden" id="totAmt" name="totAmt" value=""/>
|
||||
</form>
|
||||
<!-- 등급 및 누적결제액 확인 팝업 data-tooltip:level_check_popup01 시작 -->
|
||||
<div class="tooltip-wrap level_popup">
|
||||
<div class="popup-com candidate_layer level_check_popup01" tabindex="0" data-tooltip-con="level_check_popup01"
|
||||
data-focus="level_check_popup01" data-focus-prev="level_check_popup01-close" style="width: 680px;">
|
||||
<div class="popup_heading">
|
||||
<p>누적결제액 세부내역<span id="levelSubTitle"></span></p>
|
||||
<button type="button" class="tooltip-close" data-focus="level_check_popup01-close"><img
|
||||
src="/publish/images/content/layerPopup_close.png" alt="팝업 닫기"></button>
|
||||
</div>
|
||||
<div class="layer_in" id="mberGrdHistListLoad" style="padding-bottom: 0px;">
|
||||
</div>
|
||||
|
||||
<div class="popup_btn_wrap2" style="margin-bottom: 30px;">
|
||||
<button type="button" class="tooltip-close" data-focus="level_check_popup01-close">닫기</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 등급 및 누적결제액 확인 팝업 data-tooltip:level_check_popup01 끝 -->
|
||||
|
||||
@ -121,7 +121,7 @@ function getMberGrdChk() {
|
||||
$("#levelSubTitle").html("(" + data.rtnMberGrdVO.grdDate + " ~ 현재)");
|
||||
document.levelForm.grdSetNm.value = data.rtnMberGrdVO.grdSetNm;
|
||||
document.levelForm.totAmt.value = data.rtnMberGrdVO.totAmt;
|
||||
mberGrdHistListAjax(1, data.rtnMberGrdVO.grdSetNm, data.rtnMberGrdVO.totAmt);
|
||||
mberGrdHistListAjax(1);
|
||||
|
||||
// 등급제 아이콘 버튼 노출여부
|
||||
var sHtml = "";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user