구독 결제화면 설정 수정
This commit is contained in:
@@ -414,7 +414,7 @@ public class OrdrController {
|
|||||||
AnonymousUser user = MemberJwtContextHolder.getMemberInfo();
|
AnonymousUser user = MemberJwtContextHolder.getMemberInfo();
|
||||||
|
|
||||||
//결재 플랫폼 구분 코드
|
//결재 플랫폼 구분 코드
|
||||||
ordrVO.setSetlePltfomTyCd("PC".equals(request.getAttribute("env"))?"01":"02");
|
ordrVO.setSetlePltfomTyCd("PC".equals(request.getAttribute("env"))?"03":"04");
|
||||||
|
|
||||||
//약관정보 세팅
|
//약관정보 세팅
|
||||||
BOStplatVO stplatVO = new BOStplatVO();
|
BOStplatVO stplatVO = new BOStplatVO();
|
||||||
|
|||||||
@@ -2342,49 +2342,64 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
table += ' <tr>';
|
table += ' <tr>';
|
||||||
table += ' <th>발급정보</th>';
|
table += ' <th></th>';
|
||||||
table += ' <td>';
|
table += ' <td>';
|
||||||
table += ' <div class="td-inner">';
|
table += ' <div style="display: none">';
|
||||||
table += ' <div class="custom-radio-container">';
|
table += ' <div class="custom-radio-container">';
|
||||||
table += ' <div class="custom-radio is-medium">';
|
table += ' <div class="custom-radio is-medium">';
|
||||||
table += ' <input type="radio" name="cshRciptIssuAt" id="cshRciptIssuAtN_' + id + '" value="" checked>';
|
table += ' <input type="radio" name="cshRciptIssuAt" id="cshRciptIssuAtN_' + id + '" value="" checked>';
|
||||||
table += ' <label for="cshRciptIssuAtN_' + id + '">발급안함</label>';
|
|
||||||
table += ' </div>';
|
table += ' </div>';
|
||||||
table += ' <div class="custom-radio is-medium">';
|
table += ' <div class="custom-radio is-medium">';
|
||||||
table += ' <input type="radio" name="cshRciptIssuAt" id="cshRciptIssuAtY_' + id + '" value="01" >';
|
table += ' <input type="radio" name="cshRciptIssuAt" id="cshRciptIssuAtY_' + id + '" value="01" >';
|
||||||
table += ' <label for="cshRciptIssuAtY_' + id + '">현금영수증</label>';
|
|
||||||
table += ' </div>';
|
table += ' </div>';
|
||||||
table += ' </div>';
|
table += ' </div>';
|
||||||
table += ' </div>';
|
table += ' </div>';
|
||||||
table += ' </td>';
|
table += ' </td>';
|
||||||
table += ' </tr>';
|
table += ' </tr>';
|
||||||
table += ' <tr>';
|
// table += ' <tr>';
|
||||||
table += ' <th></th>';
|
// table += ' <th>발급정보</th>';
|
||||||
table += ' <td>';
|
// table += ' <td>';
|
||||||
table += ' <div id="cshRciptIssu" style="display: none">';
|
// table += ' <div class="td-inner">';
|
||||||
table += ' <div>';
|
// table += ' <div class="custom-radio-container">';
|
||||||
table += ' <span class="visually-hidden">발급안함</span>';
|
// table += ' <div class="custom-radio is-medium">';
|
||||||
table += ' </div>';
|
// table += ' <input type="radio" name="cshRciptIssuAt" id="cshRciptIssuAtN_' + id + '" value="" checked>';
|
||||||
table += ' <div class="td-inner vertical">';
|
// table += ' <label for="cshRciptIssuAtN_' + id + '">발급안함</label>';
|
||||||
table += ' <div class="custom-radio-container cashReceipt-borderTop">';
|
// table += ' </div>';
|
||||||
table += ' <div class="custom-radio is-medium">';
|
// table += ' <div class="custom-radio is-medium">';
|
||||||
table += ' <input type="radio" name="issuTrgetDvCd" id="issuTrgetDvCd0_' + id + '" value="01" checked>';
|
// table += ' <input type="radio" name="cshRciptIssuAt" id="cshRciptIssuAtY_' + id + '" value="01" >';
|
||||||
table += ' <label for="issuTrgetDvCd0_' + id + '">개인 소득공제</label>';
|
// table += ' <label for="cshRciptIssuAtY_' + id + '">현금영수증</label>';
|
||||||
table += ' </div>';
|
// table += ' </div>';
|
||||||
table += ' <div class="custom-radio is-medium">';
|
// table += ' </div>';
|
||||||
table += ' <input type="radio" name="issuTrgetDvCd" id="issuTrgetDvCd1_' + id + '" value="02">';
|
// table += ' </div>';
|
||||||
table += ' <label for="issuTrgetDvCd1_' + id + '">사업자 지출증빙</label>';
|
// table += ' </td>';
|
||||||
table += ' </div>';
|
// table += ' </tr>';
|
||||||
table += ' </div>';
|
// table += ' <tr>';
|
||||||
table += ' <div class="w-full">';
|
// table += ' <th></th>';
|
||||||
table += ' <input type="text" name="issuTrgetMbtlnb" id="issuTrgetMbtlnb" oninput="fn_set_event(this, \'keyup\', fn_fmt_telno);" class="input-text md csh-rcipt-issu" maxlength="13" title="휴대폰번호" placeholder="휴대폰번호(\' - \'없이 입력)">';
|
// table += ' <td>';
|
||||||
table += ' <input type="text" name="issuTrgetBsnmNb" id="issuTrgetBsnmNb" class="number-only input-text md csh-rcipt-issu" maxlength="10" title="사업자번호" placeholder="사업자번호(\' - \'없이 입력)" style="display: none">';
|
// table += ' <div id="cshRciptIssu" style="display: none">';
|
||||||
table += ' </div>';
|
// table += ' <div>';
|
||||||
table += ' <p class="fyi gray-7 mt-10 ml-10">결제창에서 다시 현금영수증을 신청하지 마세요. 중복발행 됩니다.</p>';
|
// table += ' <span class="visually-hidden">발급안함</span>';
|
||||||
table += ' </div>';
|
// table += ' </div>';
|
||||||
table += ' </div>';
|
// table += ' <div class="td-inner vertical">';
|
||||||
table += ' </td>';
|
// table += ' <div class="custom-radio-container cashReceipt-borderTop">';
|
||||||
table += ' </tr>';
|
// table += ' <div class="custom-radio is-medium">';
|
||||||
|
// table += ' <input type="radio" name="issuTrgetDvCd" id="issuTrgetDvCd0_' + id + '" value="01" checked>';
|
||||||
|
// table += ' <label for="issuTrgetDvCd0_' + id + '">개인 소득공제</label>';
|
||||||
|
// table += ' </div>';
|
||||||
|
// table += ' <div class="custom-radio is-medium">';
|
||||||
|
// table += ' <input type="radio" name="issuTrgetDvCd" id="issuTrgetDvCd1_' + id + '" value="02">';
|
||||||
|
// table += ' <label for="issuTrgetDvCd1_' + id + '">사업자 지출증빙</label>';
|
||||||
|
// table += ' </div>';
|
||||||
|
// table += ' </div>';
|
||||||
|
// table += ' <div class="w-full">';
|
||||||
|
// table += ' <input type="text" name="issuTrgetMbtlnb" id="issuTrgetMbtlnb" oninput="fn_set_event(this, \'keyup\', fn_fmt_telno);" class="input-text md csh-rcipt-issu" maxlength="13" title="휴대폰번호" placeholder="휴대폰번호(\' - \'없이 입력)">';
|
||||||
|
// table += ' <input type="text" name="issuTrgetBsnmNb" id="issuTrgetBsnmNb" class="number-only input-text md csh-rcipt-issu" maxlength="10" title="사업자번호" placeholder="사업자번호(\' - \'없이 입력)" style="display: none">';
|
||||||
|
// table += ' </div>';
|
||||||
|
// table += ' <p class="fyi gray-7 mt-10 ml-10">결제창에서 다시 현금영수증을 신청하지 마세요. 중복발행 됩니다.</p>';
|
||||||
|
// table += ' </div>';
|
||||||
|
// table += ' </div>';
|
||||||
|
// table += ' </td>';
|
||||||
|
// table += ' </tr>';
|
||||||
table += ' </tbody>';
|
table += ' </tbody>';
|
||||||
table += '</table>';
|
table += '</table>';
|
||||||
|
|
||||||
@@ -3252,7 +3267,14 @@
|
|||||||
const setup = setupNbkDpstVOList[i];
|
const setup = setupNbkDpstVOList[i];
|
||||||
const title = setup.bankNm + ' ' + setup.acntnb + ' ' + setup.dpstrNm;
|
const title = setup.bankNm + ' ' + setup.acntnb + ' ' + setup.dpstrNm;
|
||||||
|
|
||||||
const option = '<option value="' + setup.acntnb + '" bnnk-nm="' + setup.bankNm + '" dpstr-nm="' + setup.dpstrNm + '">' + title + '</option>';
|
let option = '<option value="' + setup.acntnb + '" bnnk-nm="' + setup.bankNm + '" dpstr-nm="' + setup.dpstrNm + '">' + title + '</option>';
|
||||||
|
|
||||||
|
if(i === 0) {
|
||||||
|
// 첫번째만 selected 되게 설정
|
||||||
|
option = '<option value="' + setup.acntnb + '" bnnk-nm="' + setup.bankNm + '" dpstr-nm="' + setup.dpstrNm + '" selected>' + title + '</option>';
|
||||||
|
} else {
|
||||||
|
option = '<option value="' + setup.acntnb + '" bnnk-nm="' + setup.bankNm + '" dpstr-nm="' + setup.dpstrNm + '">' + title + '</option>';
|
||||||
|
}
|
||||||
|
|
||||||
$(div).find('table tr #rcpmnyAcntnb').append(option);
|
$(div).find('table tr #rcpmnyAcntnb').append(option);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2357,49 +2357,64 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
table += ' <tr>';
|
table += ' <tr>';
|
||||||
table += ' <th>발급정보</th>';
|
table += ' <th></th>';
|
||||||
table += ' <td>';
|
table += ' <td>';
|
||||||
table += ' <div class="td-inner">';
|
table += ' <div style="display: none">';
|
||||||
table += ' <div class="custom-radio-container">';
|
table += ' <div class="custom-radio-container">';
|
||||||
table += ' <div class="custom-radio is-medium">';
|
table += ' <div class="custom-radio is-medium">';
|
||||||
table += ' <input type="radio" name="cshRciptIssuAt" id="cshRciptIssuAtN_' + id + '" value="" checked>';
|
table += ' <input type="radio" name="cshRciptIssuAt" id="cshRciptIssuAtN_' + id + '" value="" checked>';
|
||||||
table += ' <label for="cshRciptIssuAtN_' + id + '">발급안함</label>';
|
|
||||||
table += ' </div>';
|
table += ' </div>';
|
||||||
table += ' <div class="custom-radio is-medium">';
|
table += ' <div class="custom-radio is-medium">';
|
||||||
table += ' <input type="radio" name="cshRciptIssuAt" id="cshRciptIssuAtY_' + id + '" value="01" >';
|
table += ' <input type="radio" name="cshRciptIssuAt" id="cshRciptIssuAtY_' + id + '" value="01" >';
|
||||||
table += ' <label for="cshRciptIssuAtY_' + id + '">현금영수증</label>';
|
|
||||||
table += ' </div>';
|
table += ' </div>';
|
||||||
table += ' </div>';
|
table += ' </div>';
|
||||||
table += ' </div>';
|
table += ' </div>';
|
||||||
table += ' </td>';
|
table += ' </td>';
|
||||||
table += ' </tr>';
|
table += ' </tr>';
|
||||||
table += ' <tr>';
|
// table += ' <tr>';
|
||||||
table += ' <th></th>';
|
// table += ' <th>발급정보</th>';
|
||||||
table += ' <td>';
|
// table += ' <td>';
|
||||||
table += ' <div id="cshRciptIssu" style="display: none">';
|
// table += ' <div class="td-inner">';
|
||||||
table += ' <div>';
|
// table += ' <div class="custom-radio-container">';
|
||||||
table += ' <span class="visually-hidden">발급안함</span>';
|
// table += ' <div class="custom-radio is-medium">';
|
||||||
table += ' </div>';
|
// table += ' <input type="radio" name="cshRciptIssuAt" id="cshRciptIssuAtN_' + id + '" value="" checked>';
|
||||||
table += ' <div class="td-inner vertical">';
|
// table += ' <label for="cshRciptIssuAtN_' + id + '">발급안함</label>';
|
||||||
table += ' <div class="custom-radio-container cashReceipt-borderTop">';
|
// table += ' </div>';
|
||||||
table += ' <div class="custom-radio is-medium">';
|
// table += ' <div class="custom-radio is-medium">';
|
||||||
table += ' <input type="radio" name="issuTrgetDvCd" id="issuTrgetDvCd0_' + id + '" value="01" checked>';
|
// table += ' <input type="radio" name="cshRciptIssuAt" id="cshRciptIssuAtY_' + id + '" value="01" >';
|
||||||
table += ' <label for="issuTrgetDvCd0_' + id + '">개인 소득공제</label>';
|
// table += ' <label for="cshRciptIssuAtY_' + id + '">현금영수증</label>';
|
||||||
table += ' </div>';
|
// table += ' </div>';
|
||||||
table += ' <div class="custom-radio is-medium">';
|
// table += ' </div>';
|
||||||
table += ' <input type="radio" name="issuTrgetDvCd" id="issuTrgetDvCd1_' + id + '" value="02">';
|
// table += ' </div>';
|
||||||
table += ' <label for="issuTrgetDvCd1_' + id + '">사업자 지출증빙</label>';
|
// table += ' </td>';
|
||||||
table += ' </div>';
|
// table += ' </tr>';
|
||||||
table += ' </div>';
|
// table += ' <tr>';
|
||||||
table += ' <div class="w-full">';
|
// table += ' <th></th>';
|
||||||
table += ' <input type="text" name="issuTrgetMbtlnb" id="issuTrgetMbtlnb" oninput="fn_set_event(this, \'keyup\', fn_fmt_telno);" class="input-text md csh-rcipt-issu" maxlength="13" title="휴대폰번호" placeholder="휴대폰번호(\' - \'없이 입력)">';
|
// table += ' <td>';
|
||||||
table += ' <input type="text" name="issuTrgetBsnmNb" id="issuTrgetBsnmNb" class="number-only input-text md csh-rcipt-issu" maxlength="10" title="사업자번호" placeholder="사업자번호(\' - \'없이 입력)" style="display: none">';
|
// table += ' <div id="cshRciptIssu" style="display: none">';
|
||||||
table += ' </div>';
|
// table += ' <div>';
|
||||||
table += ' <p class="fyi gray-7 mt-10 ml-10">결제창에서 다시 현금영수증을 신청하지 마세요. 중복발행 됩니다.</p>';
|
// table += ' <span class="visually-hidden">발급안함</span>';
|
||||||
table += ' </div>';
|
// table += ' </div>';
|
||||||
table += ' </div>';
|
// table += ' <div class="td-inner vertical">';
|
||||||
table += ' </td>';
|
// table += ' <div class="custom-radio-container cashReceipt-borderTop">';
|
||||||
table += ' </tr>';
|
// table += ' <div class="custom-radio is-medium">';
|
||||||
|
// table += ' <input type="radio" name="issuTrgetDvCd" id="issuTrgetDvCd0_' + id + '" value="01" checked>';
|
||||||
|
// table += ' <label for="issuTrgetDvCd0_' + id + '">개인 소득공제</label>';
|
||||||
|
// table += ' </div>';
|
||||||
|
// table += ' <div class="custom-radio is-medium">';
|
||||||
|
// table += ' <input type="radio" name="issuTrgetDvCd" id="issuTrgetDvCd1_' + id + '" value="02">';
|
||||||
|
// table += ' <label for="issuTrgetDvCd1_' + id + '">사업자 지출증빙</label>';
|
||||||
|
// table += ' </div>';
|
||||||
|
// table += ' </div>';
|
||||||
|
// table += ' <div class="w-full">';
|
||||||
|
// table += ' <input type="text" name="issuTrgetMbtlnb" id="issuTrgetMbtlnb" oninput="fn_set_event(this, \'keyup\', fn_fmt_telno);" class="input-text md csh-rcipt-issu" maxlength="13" title="휴대폰번호" placeholder="휴대폰번호(\' - \'없이 입력)">';
|
||||||
|
// table += ' <input type="text" name="issuTrgetBsnmNb" id="issuTrgetBsnmNb" class="number-only input-text md csh-rcipt-issu" maxlength="10" title="사업자번호" placeholder="사업자번호(\' - \'없이 입력)" style="display: none">';
|
||||||
|
// table += ' </div>';
|
||||||
|
// table += ' <p class="fyi gray-7 mt-10 ml-10">결제창에서 다시 현금영수증을 신청하지 마세요. 중복발행 됩니다.</p>';
|
||||||
|
// table += ' </div>';
|
||||||
|
// table += ' </div>';
|
||||||
|
// table += ' </td>';
|
||||||
|
// table += ' </tr>';
|
||||||
table += ' </tbody>';
|
table += ' </tbody>';
|
||||||
table += '</table>';
|
table += '</table>';
|
||||||
|
|
||||||
@@ -3373,7 +3388,14 @@
|
|||||||
const setup = setupNbkDpstVOList[i];
|
const setup = setupNbkDpstVOList[i];
|
||||||
const title = setup.bankNm + ' ' + setup.acntnb + ' ' + setup.dpstrNm;
|
const title = setup.bankNm + ' ' + setup.acntnb + ' ' + setup.dpstrNm;
|
||||||
|
|
||||||
const option = '<option value="' + setup.acntnb + '" bnnk-nm="' + setup.bankNm + '" dpstr-nm="' + setup.dpstrNm + '">' + title + '</option>';
|
let option = '<option value="' + setup.acntnb + '" bnnk-nm="' + setup.bankNm + '" dpstr-nm="' + setup.dpstrNm + '">' + title + '</option>';
|
||||||
|
|
||||||
|
if(i === 0) {
|
||||||
|
// 첫번째만 selected 되게 설정
|
||||||
|
option = '<option value="' + setup.acntnb + '" bnnk-nm="' + setup.bankNm + '" dpstr-nm="' + setup.dpstrNm + '" selected>' + title + '</option>';
|
||||||
|
} else {
|
||||||
|
option = '<option value="' + setup.acntnb + '" bnnk-nm="' + setup.bankNm + '" dpstr-nm="' + setup.dpstrNm + '">' + title + '</option>';
|
||||||
|
}
|
||||||
|
|
||||||
$(div).find('table tr #rcpmnyAcntnb').append(option);
|
$(div).find('table tr #rcpmnyAcntnb').append(option);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user