환불신청 가능금액 체크 스크립트 수정
=> 콤마 제거
This commit is contained in:
parent
bfcc5a0755
commit
7d32430968
@ -170,7 +170,7 @@ $(document).ready(function() {
|
||||
});
|
||||
|
||||
$('#refundMoney').focusout(function(){
|
||||
if($(this).val() > mberRefundMaxMoney){
|
||||
if(parseInt($(this).val().replace(/,/gi, ""), 10) > parseInt(mberRefundMaxMoney.replace(/,/gi, ""), 10)){
|
||||
alert("환불 신청 금액은 환불 가능 금액보다 작아야 합니다.");
|
||||
$(this).val('');
|
||||
}
|
||||
|
||||
@ -76,7 +76,8 @@ $(document).ready(function() {
|
||||
}
|
||||
});
|
||||
$('#refundMoney').focusout(function(){
|
||||
if($(this).val() > <c:out value='${resultRefundVO.mberMoney}'/>){
|
||||
var mberRefundMaxMoney = "<c:out value='${resultRefundVO.mberMoney}'/>";
|
||||
if(parseInt($(this).val().replace(/,/gi, ""), 10) > parseInt(mberRefundMaxMoney.replace(/,/gi, ""), 10)){
|
||||
alert("환불 신청 금액은 환불 가능 금액보다 작아야 합니다.");
|
||||
$(this).val('');
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user