구독 결제화면 설정 수정

This commit is contained in:
김현욱
2026-04-15 17:10:55 +09:00
parent 3fc2d38980
commit 45202b0006
3 changed files with 109 additions and 65 deletions

View File

@@ -414,7 +414,7 @@ public class OrdrController {
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();

View File

@@ -2342,49 +2342,64 @@
}
table += ' <tr>';
table += ' <th>발급정보</th>';
table += ' <th></th>';
table += ' <td>';
table += ' <div class="td-inner">';
table += ' <div style="display: none">';
table += ' <div class="custom-radio-container">';
table += ' <div class="custom-radio is-medium">';
table += ' <input type="radio" name="cshRciptIssuAt" id="cshRciptIssuAtN_' + id + '" value="" checked>';
table += ' <label for="cshRciptIssuAtN_' + id + '">발급안함</label>';
table += ' </div>';
table += ' <div class="custom-radio is-medium">';
table += ' <input type="radio" name="cshRciptIssuAt" id="cshRciptIssuAtY_' + id + '" value="01" >';
table += ' <label for="cshRciptIssuAtY_' + id + '">현금영수증</label>';
table += ' </div>';
table += ' </div>';
table += ' </div>';
table += ' </td>';
table += ' </tr>';
table += ' <tr>';
table += ' <th></th>';
table += ' <td>';
table += ' <div id="cshRciptIssu" style="display: none">';
table += ' <div>';
table += ' <span class="visually-hidden">발급안함</span>';
table += ' </div>';
table += ' <div class="td-inner vertical">';
table += ' <div class="custom-radio-container cashReceipt-borderTop">';
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 += ' <tr>';
// table += ' <th>발급정보</th>';
// table += ' <td>';
// table += ' <div class="td-inner">';
// table += ' <div class="custom-radio-container">';
// table += ' <div class="custom-radio is-medium">';
// table += ' <input type="radio" name="cshRciptIssuAt" id="cshRciptIssuAtN_' + id + '" value="" checked>';
// table += ' <label for="cshRciptIssuAtN_' + id + '">발급안함</label>';
// table += ' </div>';
// table += ' <div class="custom-radio is-medium">';
// table += ' <input type="radio" name="cshRciptIssuAt" id="cshRciptIssuAtY_' + id + '" value="01" >';
// table += ' <label for="cshRciptIssuAtY_' + id + '">현금영수증</label>';
// table += ' </div>';
// table += ' </div>';
// table += ' </div>';
// table += ' </td>';
// table += ' </tr>';
// table += ' <tr>';
// table += ' <th></th>';
// table += ' <td>';
// table += ' <div id="cshRciptIssu" style="display: none">';
// table += ' <div>';
// table += ' <span class="visually-hidden">발급안함</span>';
// table += ' </div>';
// table += ' <div class="td-inner vertical">';
// table += ' <div class="custom-radio-container cashReceipt-borderTop">';
// 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 += '</table>';
@@ -3252,7 +3267,14 @@
const setup = setupNbkDpstVOList[i];
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);
}

View File

@@ -2357,49 +2357,64 @@
}
table += ' <tr>';
table += ' <th>발급정보</th>';
table += ' <th></th>';
table += ' <td>';
table += ' <div class="td-inner">';
table += ' <div style="display: none">';
table += ' <div class="custom-radio-container">';
table += ' <div class="custom-radio is-medium">';
table += ' <input type="radio" name="cshRciptIssuAt" id="cshRciptIssuAtN_' + id + '" value="" checked>';
table += ' <label for="cshRciptIssuAtN_' + id + '">발급안함</label>';
table += ' </div>';
table += ' <div class="custom-radio is-medium">';
table += ' <input type="radio" name="cshRciptIssuAt" id="cshRciptIssuAtY_' + id + '" value="01" >';
table += ' <label for="cshRciptIssuAtY_' + id + '">현금영수증</label>';
table += ' </div>';
table += ' </div>';
table += ' </div>';
table += ' </td>';
table += ' </tr>';
table += ' <tr>';
table += ' <th></th>';
table += ' <td>';
table += ' <div id="cshRciptIssu" style="display: none">';
table += ' <div>';
table += ' <span class="visually-hidden">발급안함</span>';
table += ' </div>';
table += ' <div class="td-inner vertical">';
table += ' <div class="custom-radio-container cashReceipt-borderTop">';
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 += ' <tr>';
// table += ' <th>발급정보</th>';
// table += ' <td>';
// table += ' <div class="td-inner">';
// table += ' <div class="custom-radio-container">';
// table += ' <div class="custom-radio is-medium">';
// table += ' <input type="radio" name="cshRciptIssuAt" id="cshRciptIssuAtN_' + id + '" value="" checked>';
// table += ' <label for="cshRciptIssuAtN_' + id + '">발급안함</label>';
// table += ' </div>';
// table += ' <div class="custom-radio is-medium">';
// table += ' <input type="radio" name="cshRciptIssuAt" id="cshRciptIssuAtY_' + id + '" value="01" >';
// table += ' <label for="cshRciptIssuAtY_' + id + '">현금영수증</label>';
// table += ' </div>';
// table += ' </div>';
// table += ' </div>';
// table += ' </td>';
// table += ' </tr>';
// table += ' <tr>';
// table += ' <th></th>';
// table += ' <td>';
// table += ' <div id="cshRciptIssu" style="display: none">';
// table += ' <div>';
// table += ' <span class="visually-hidden">발급안함</span>';
// table += ' </div>';
// table += ' <div class="td-inner vertical">';
// table += ' <div class="custom-radio-container cashReceipt-borderTop">';
// 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 += '</table>';
@@ -3373,7 +3388,14 @@
const setup = setupNbkDpstVOList[i];
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);
}