File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
<%--
Class Name : RefundReRegist.jsp
Description : Refund 재등록 페이지
Modification Information
수정일 수정자 수정내용
------- -------- ---------------------------
2022.07.05 이준호 최초 생성
author : 이준호
since : 2022.07.05
--%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="ec" uri="/WEB-INF/tld/ecnet_tld.tld"%>
<!DOCTYPE html>
<html lang="ko">
<head>
<title>환불요청 재등록</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<%-- <script type="text/javascript" src="<c:url value='/js/web_common.js' />"></script> --%>
<script type="text/javascript" src="<c:url value='/js/EgovMultiFile.js'/>"></script>
<script type="text/javascript" src="<c:url value='/js/EgovCalPopup.js'/>"></script>
<script type="text/javaScript" language="javascript">
var _fileIdx = 0;
var _fileForm2 = new Array();
$(document).ready(function(){
//파일업로드 드래그앤 드롭
/* var objDragAndDrop = $(".upload_area"); */
$(document).on("dragenter",".upload_area.bankArea",function(e){
e.stopPropagation();
e.preventDefault();
});
$(document).on("dragenter",".upload_area.docuArea",function(e){
e.stopPropagation();
e.preventDefault();
});
$(document).on("dragover",".upload_area.bankArea",function(e){
e.stopPropagation();
e.preventDefault();
});
$(document).on("dragover",".upload_area.docuArea",function(e){
e.stopPropagation();
e.preventDefault();
});
$(document).on("drop",".upload_area.bankArea",function(e){
e.preventDefault();
var objDragAndDrop = $(".upload_area .bankArea");
var files = e.originalEvent.dataTransfer.files;
handleFileUpload(files,objDragAndDrop, 'bank'); //파일업로드
});
$(document).on("drop",".upload_area.docuArea",function(e){
e.preventDefault();
var objDragAndDrop = $(".upload_area .docuArea");
var files = e.originalEvent.dataTransfer.files;
handleFileUpload(files,objDragAndDrop, 'docu'); //파일업로드
});
$(document).on('dragenter', function (e){
e.stopPropagation();
e.preventDefault();
});
$(document).on('dragover', function (e){
e.stopPropagation();
e.preventDefault();
});
$(document).on('drop', function (e){
e.stopPropagation();
e.preventDefault();
});
//통장사본 파일 업로드
$(function(){ //단일 파일업로드
$('#bank').change(function(e){
var objUpload = $(".upload_area .bankArea");
var files = $('#bank')[0].files;
handleFileUpload(files,objUpload,'bank'); //파일업로드
});
});
//증빙서류 파일 업로드
$(function(){ //단일 파일업로드
$('#docu').change(function(e){
var objUpload = $(".upload_area .docuArea");
var files = $('#docu')[0].files;
handleFileUpload(files,objUpload, 'docu'); //파일업로드
});
});
$('.no_img_box').show(); //list 박스 형식 변경
$('.file_list_div').hide();
});
function golist(pageNo){
var searchForm = document.searchForm;
searchForm.action = "<c:url value='/uss/ion/pay/RefundList.do'/>";
searchForm.submit();
}
//기존 환불요청 사용자페이지 등록 Ajax_참고용
function changeValue(obj){
$('#atFileBasicWrite').val(obj.value);
}
function changeValue2(obj){
$('#atFileBasicWrite2').val(obj.value);
}
var testCnt = 1;
function handleFileUpload(files,obj,pram) //업로드 function
{
var limitsize = 50*1024*1024; //파일 제한 체크(50개, 50MB)
var limitcount = $("input[name=limitcount]").val()*1 ;
if(pram == 'bank' && $('.bankArea #tbody_fiielist').find('tr').length + files.length > limitcount ){
alert("통장사본 업로드 파일은 최대 "+limitcount+"개 입니다.");
return ;
}
if(pram == 'docu' && $('.docuArea #tbody_fiielist').find('tr').length + files.length > limitcount ){
alert("증빙서류 파일은 최대 "+limitcount+"개 입니다.");
return ;
}
for (var i = 0; i < files.length; i++){
if(files[i].size > limitsize){
alert(files[i].name+"파일 사이즈가"+getStrFileSize(files[i].size)+"로 50MB이하만 업로드 가능합니다.");
return ;
}
}
for (var i = 0; i < files.length; i++)
{
var fd = new FormData();
fd.append('file', files[i]);
var tmpObj = new Object();
tmpObj.name = pram;
tmpObj.fileObj = files[i];
_fileForm2.push(tmpObj);
sendFileToServer(fd, obj, files[i], _fileIdx, pram);
_fileIdx++;
var totalfileSizeBank = 0;
var totalfileSizeDocu = 0;
if(pram == 'bank'){
$('.bankArea .totalfileCount').text($('.bankArea .item_file_size').length) ;
$('.bankArea .item_file_size').each(function(){
totalfileSizeBank += $(this).val()*1 ;
});
$('.bankArea .totalfileSize').text(getStrFileSize(totalfileSizeBank)) ;
}
if(pram == 'docu'){
$('.docuArea .totalfileCount').text($('.docuArea .item_file_size').length) ;
$('.docuArea .item_file_size').each(function(){
totalfileSizeDocu += $(this).val()*1 ;
});
$('.docuArea .totalfileSize').text(getStrFileSize(totalfileSizeDocu)) ;
}
}
}
function sendFileToServer(formData, obj , fileObj, _fileIdx, pram)
{
$('.'+ pram +'Area .no_img_box').hide(); //list 박스 형식 변경
$('.'+ pram +'Area .file_list_div').show();
var list_html = "";
var tt = "";
list_html += '<tr class="item_'+tt+' uploaded_obj">';
list_html += '<td class="file_name"><img src="'+getfile_img(fileObj.name)+'" alt=""><span class="file_name_text">'+fileObj.name+'</span></td>';
list_html += '<td class="file_size"><span class="file_size_text" value='+fileObj.size+'>'+getStrFileSize(fileObj.size)+'</span></td>';
list_html += '<td class="file_date">'+getDate()+'</td>';
list_html += '<td class="file_del"><input type="button" class="delBtn" alt="" onclick="delete_item(this, '+_fileIdx+', \''+pram+'Area\')" ></td>';
list_html += '<input type="hidden" name="fileSize" class="item_file_size" value="'+fileObj.size+'">';
list_html += '<input type="hidden" name="atchFileIds" class="imsi" value="'+tt+'">';
list_html += '</tr>';
$('.'+ pram +'Area #tbody_fiielist').append(list_html);
}
/* 등록시 값 확인 */
function fn_checkForm() {
var formchk = document.writeForm;
if(formchk.refundMoney.value == '') {
alert("환불 신청 금액을 입력해 주세요");
return false;
}
/* if(formchk.dpsitNm.value == '') {
alert("예금주를 입력해 주세요");
return false;
}
if(formchk.dpsitBank.value == '') {
alert("계좌정보의 은행을 선택해 주세요");
return false;
}
if(formchk.dpsitAccount.value == '') {
alert("계좌번호를 입력해 주세요");
return false;
} */
if($("input[name=reason]:checked").val() == "5" && formchk.reasonEtc.value == '') {
alert("환불사유를 입력해 주세요");
return false;
}
if(formchk.mberPw.value == '') {
alert("비밀번호를 입력해 주세요");
return false;
}
return true;
}
/* 임시파일 삭제버튼 클릭시 */
function delete_item(obj, fileIdx, pram){
$(obj).closest("tr").remove();
if(pram == 'bankArea'){
_fileForm2.forEach(function(fobj, idx) {
if (fobj.name == ("bank")){
_fileForm2[idx] = "";
alert("bank idx"+idx);
}
});
}
if(pram == 'docuArea'){
_fileForm2.forEach(function(fobj, idx) {
if (fobj.name == ("docu")){
_fileForm2[idx] = "";
alert("docu idx"+idx);
}
});
}
/* _fileForm2.forEach(function(fobj, idx) {
if (fobj.name == ("docu")){
_fileForm2[idx] = "";
alert("docu idx"+idx);
}
if (fobj.name == ("bank")){
_fileForm2[idx] = "";
alert("bank idx"+idx);
}
}); */
if($('.'+pram+' .item_file_size').length == 0){
$('.'+pram+' .file_upload_box ').show();
$('.'+pram+' .upload_box_text').show();
$('.'+pram+' .fileAfter').hide();
}else{
var totalfileSize = 0;
$('.'+pram+' .totalfileCount').text($('.item_file_size').length) ;
$('.'+pram+' .item_file_size').each(function(){
totalfileSize += $(this).val()*1 ;
});
$('.'+pram+' .totalfileSize').text(getStrFileSize(totalfileSize)) ;
}
}
function drawUploadArea(pram){
$('.'+pram+' .no_img_box').hide(); //list 박스 형식 변경
$('.'+pram+' .file_list_div').show();
$('.'+pram+' .file_name_text').each(function(index, item){
$(this).parent().find('img').attr('src', getfile_img($(this).text())) ; //이미지 변경
});
$('.'+pram+' .file_size_text').each(function(index, item){
$(this).text(getStrFileSize($(this).attr('value')))
});
var totalfileSize = 0;
$('.'+pram+' .totalfileCount').text($('.'+pram+' .item_file_size').length) ;
$('.'+pram+' .item_file_size').each(function(){
totalfileSize += $(this).val()*1 ;
});
$('.'+pram+' .totalfileSize').text(getStrFileSize(totalfileSize)) ;
//if( $("#tbody_fiielist > [class^=item]").length == 0 && $("#tbody_fiielist > [class^=item]").length > 0 ){
if( $('.'+pram+' #tbody_fiielist > [class^=item]').length == 0 ){
$('.'+pram+' .no_img_box').show();
$('.'+pram+' .file_list_div ').hide();
}
}
/* 파일사이즈 가져오기 */
function getStrFileSize(filesize){
var sizeStr="";
var sizeKB = filesize/1024;
if(parseInt(sizeKB) > 1024){
var sizeMB = sizeKB/1024;
sizeStr = sizeMB.toFixed(2)+" MB";
}else{
sizeStr = sizeKB.toFixed(2)+" KB";
}
return sizeStr;
}
/* 파일 이미지 가져오기 */
function getfile_img(file_name){
var img_type = file_name.split('.')[file_name.split('.').length-1].toLowerCase();
if(img_type == "xlsx"){
img_type = "xls";
}else if(img_type == "jpeg" || img_type == "png" || img_type == "bmp"){
img_type = "jpg";
}else if(img_type == "doc"){
img_type = "hwp";
}
var img_url = "";
switch (img_type) {
case "pdf" :
img_url = "/direct/img/enroll_pdf_file.png" ;
break;
case "xls" :
img_url = "/direct/img/enroll_exel_file.png" ;
break;
case "hwp" :
img_url = "/direct/img/enroll_hwp_file.png" ;
break;
case "jpg" :
img_url = "/direct/img/enroll_jpg_file.png" ;
break;
case "mp4" :
img_url = "/direct/img/enroll_mp4_file.png" ;
break;
case "ppt" :
img_url = "/direct/img/enroll_ppt_file.png" ;
break;
case "zip" :
img_url = "/direct/img/enroll_zip_file.png" ;
break;
default :
img_url = "/direct/img/enroll_jpg_file.png" ;
}
return img_url ;
}
/*등록 시간 가져오기 */
function getDate(){
var d = new Date();
var year = d.getFullYear();
var month = d.getMonth() + 1 ; month.toString().length < 2 ? month = "0"+month : month;
var date = d.getDate() ; date.toString().length < 2 ? date = "0"+date : date;
var currentDate = year+"-"+month+"-"+date+" ";
var hour = d.getHours(); hour.toString().length < 2 ? hour = "0"+hour : hour;
var minutes = d.getMinutes() ; minutes.toString().length < 2 ? minutes = "0"+minutes : minutes;
var seconds = d.getSeconds() ; seconds.toString().length < 2 ? seconds = "0"+seconds : hour;
currentTime = hour+"-"+minutes+"-"+seconds ;
return currentDate + currentTime ;
}
function RefundRegist(){
//환불금액 컴마제거
var refundMoney = document.writeForm.refundMoney.value;
document.writeForm.refundMoney.value = refundMoney.replace(",","");
var data = new FormData(document.writeForm);
console.log('_fileForm2 : ', _fileForm2);
_fileForm2.forEach(function(obj, idx) {
if(obj)
{
data.append(obj.name, obj.fileObj);
}
});
$.ajax({
type: "POST",
enctype: 'multipart/form-data',
url: "<c:url value='/uss/ion/pay/insertRefundReRegistAjax.do'/>",
data: data,
dataType:'json',
async: false,
processData: false,
contentType: false,
cache: false,
//timeout: 600000,
success: function (returnData, status) {
if(returnData.msg != null){
alert(returnData.msg);
}
else if(returnData.status == 'success'){
alert("저장 되었습니다.");
golist('1');
} else if(returnData.status == 'fail'){
alert("저장에 실패하였습니다. !!");
}
},
error: function (e) {
alert("저장에 실패하였습니다.");
console.log("ERROR : ", e);
}
});
}
</script>
</head>
<body>
<form name="writeForm" method="post">
<input type="hidden" id="refundId" name="refundId" value="<c:out value='${refundVO.refundId}'/>">
<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>"/>
<input type="hidden" name="searchSortCnd" value="<c:out value="${searchVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${searchVO.searchSortOrd}" />" />
<input type="hidden" name="searchCondition" value="<c:out value="${searchVO.searchCondition}" />" />
<input type="hidden" name=searchKeyword value="<c:out value="${searchVO.searchKeyword}" />" />
<input type="hidden" name="pageUnit" value="<c:out value="${searchVO.pageUnit}" />" />
<input type="hidden" name="limitcount" value="<c:out value='2'/>" />
<input type="hidden" name="atchFileNece" id="atchFileNece" value="N" /> <!-- 첨부파일 필수체크 -->
<input type="hidden" name="mberId" id="mberId" value="<c:out value='${refundVO.mberId}'/>" />
<input type="hidden" name="mberNm" id="mberNm" value="<c:out value='${refundVO.mberNm}'/>" />
<input type="hidden" name="mberPhoneNo" id="mberPhoneNo" value="<c:out value='${refundVO.mberPhoneNo}'/>" />
<input type="hidden" name="refundReason" id="refundReason" value="<c:out value='${refundVO.refundReason}'/>" />
<input type="hidden" name="refundReasonEtc" id="refundReasonEtc" value="<c:out value='${refundVO.refundReasonEtc}'/>" />
<div class="contWrap">
<div class="pageTitle">
<div class="pageIcon"><img src="/pb/img/pageTitIcon4.png" alt=""></div>
<h2 class="titType1 c_222222 fwBold">환불요청 상세</h2>
<p class="tType6 c_999999">환불요청 상세 페이지 입니다.</p>
</div>
<div class="pageCont">
<table class="tbType2">
<colgroup>
<col style="width: 20%">
<col style="width: 80%">
</colgroup>
<tbody>
<tr>
<th><span >회원 아이디</span></th>
<td colspan="3">
<c:out value='${refundVO.mberId}'/>
</td>
</tr>
<tr>
<th><span >회원 이름</span></th>
<td colspan="3">
<c:out value='${refundVO.mberNm}'/>
</td>
</tr>
<tr>
<th><span >회원 전화번호</span></th>
<td colspan="3">
<c:out value='${mberInfoVO.mberPhoneNo}'/>
</td>
</tr>
<tr>
<th><span >환불 받을 연락처</span></th>
<td colspan="3">
<input type="text" id="dpsitPhoneNo" name="dpsitPhoneNo" value="<c:out value='${refundVO.dpsitPhoneNo}'/>"/>
</td>
</tr>
<tr>
<th><span >환불요청 금액</span></th>
<td colspan="3">
<input type="text" id="refundMoney" name="refundMoney" value="<fmt:formatNumber value="${refundVO.refundMoney}" type="number" />"/>
</td>
</tr>
<tr>
<th><span>최종 결제방식</span></th>
<td colspan="3">
<c:out value='${refundVO.payMethodTxt}'/>
</td>
</tr>
<%-- <tr>
<th><span >환불요청 일시</span></th>
<td colspan="3">
<c:out value='${refundVO.frstRegisterPnttm}'/>
</td>
</tr> --%>
<tr>
<th><span >환불 사유</span></th>
<td colspan="3">
<ec:code code="${refundVO.refundReason}" codeId="ITN050"/>
<c:if test="${refundVO.refundReason eq '5'}">
환불사유 직접 입력
<br/>
${refundVO.refundReasonEtc}
</c:if>
</td>
</tr>
<%-- <tr>
<th><span >환불 상태</span></th>
<td colspan="3">
<c:forEach var="code" items="${refundStatuscode}" varStatus="status">
<c:if test="${code.code eq refundVO.refundStatus}">
<c:out value="${code.codeNm}"/>
<input type="hidden" name="refundStatus" value="${code.code}"/>
</c:if>
</c:forEach>
</td>
</tr> --%>
<tr>
<th><span >통장사본 첨부파일</span></th>
<td class="upload_area bankArea" colspan="3">
<%-- <c:if test="${refundVO.bankAtchFileId ne ''}">
<c:import url="/cmm/fms/selectBBSFileInfs.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${refundVO.bankAtchFileId}" />
</c:import>
</c:if> --%>
<div class="file_upload_box no_img_box fileWrap">
<table>
<colgroup>
<col style="width: 60%">
<col style="width: 10%">
<col style="width: 20%">
<col style="width: 10%">
</colgroup>
<thead>
<tr>
<th>파일명</th>
<th>크기</th>
<th>등록일시</th>
<th>삭제</th>
</tr>
</thead>
</table>
</div>
<div class="fileWrap fileAfter file_list_div">
<table>
<colgroup>
<col style="width: 60%">
<col style="width: 10%">
<col style="width: 20%">
<col style="width: 10%">
</colgroup>
<thead>
<tr>
<th>파일명</th>
<th>크기</th>
<th>등록일시</th>
<th>삭제</th>
</tr>
</thead>
<tbody id="tbody_fiielist">
<c:forEach var="fileList" items="${fileList}" varStatus="status">
<tr class="item_${fileList.fmsImageFile}_${fileList.fileSn} uploaded_obj">
<input type="hidden" name="fileSize" class="item_file_size" value="${fileList.fileSize}">
<td class="file_name">
<img src="/direct/img/upload_hwp_img.png" alt="" />
<span class="file_name_text">${fileList.orignlFileNm}</span>
</td>
<td>
<span class="file_size_text" value="<c:out value="${fileList.fileSize}"/>"></span>
</td>
<td>
<c:out value="${fileList.regdt}"/>
</td>
<td>
<input type="button" class="delBtn" onclick="delAtchFile('${fileList.fmsImageFile}', '${fileList.fileSn}'); return false;">
</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
<div class="fileInfo file_list_div">
<ul class="inline">
<li>
<p>최대 <span class="c_e40000 fwBold limitcount_li">${bdMstr.posblAtchFileNumber}</span>개 | <span class="c_e40000 fwBold upload_number">50MB</span>제한</p>
</li>
<li>
<p><span class="c_456ded fwBold totalfileCount">1</span>개 | <span class="c_456ded fwBold totalfileSize">72.01KB</span></p>
</li>
</ul>
</div>
<div class="uploadBtm">
<!-- <input type="file" id="file_temp" name="file_temp" class="uploadFile"> -->
<input type="file" id="bank" class="uploadFile">
</div>
</td>
</tr>
<tr>
<th><span >증빙서류 첨부파일</span></th>
<td class="upload_area docuArea" colspan="3">
<%-- <c:if test="${refundVO.docuAtchFileId ne ''}">
<c:import url="/cmm/fms/selectBBSFileInfs.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${refundVO.docuAtchFileId}" />
</c:import>
</c:if> --%>
<div class="file_upload_box no_img_box fileWrap">
<table>
<colgroup>
<col style="width: 60%">
<col style="width: 10%">
<col style="width: 20%">
<col style="width: 10%">
</colgroup>
<thead>
<tr>
<th>파일명</th>
<th>크기</th>
<th>등록일시</th>
<th>삭제</th>
</tr>
</thead>
</table>
</div>
<div class="fileWrap fileAfter file_list_div">
<table>
<colgroup>
<col style="width: 60%">
<col style="width: 10%">
<col style="width: 20%">
<col style="width: 10%">
</colgroup>
<thead>
<tr>
<th>파일명</th>
<th>크기</th>
<th>등록일시</th>
<th>삭제</th>
</tr>
</thead>
<tbody id="tbody_fiielist">
<c:forEach var="fileList" items="${fileList}" varStatus="status">
<tr class="item_${fileList.fmsImageFile}_${fileList.fileSn} uploaded_obj">
<input type="hidden" name="fileSize" class="item_file_size" value="${fileList.fileSize}">
<td class="file_name">
<img src="/direct/img/upload_hwp_img.png" alt="" />
<span class="file_name_text">${fileList.orignlFileNm}</span>
</td>
<td>
<span class="file_size_text" value="<c:out value="${fileList.fileSize}"/>"></span>
</td>
<td>
<c:out value="${fileList.regdt}"/>
</td>
<td>
<input type="button" class="delBtn" onclick="delAtchFile('${fileList.fmsImageFile}', '${fileList.fileSn}'); return false;">
</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
<div class="fileInfo file_list_div">
<ul class="inline">
<li>
<p>최대 <span class="c_e40000 fwBold limitcount_li">${bdMstr.posblAtchFileNumber}</span>개 | <span class="c_e40000 fwBold upload_number">50MB</span>제한</p>
</li>
<li>
<p><span class="c_456ded fwBold totalfileCount">1</span>개 | <span class="c_456ded fwBold totalfileSize">72.01KB</span></p>
</li>
</ul>
</div>
<div class="uploadBtm">
<!-- <input type="file" id="file_temp" name="file_temp" class="uploadFile"> -->
<input type="file" id="docu" class="uploadFile">
</div>
</td>
</tr>
<tr>
<th><span >회원 보유 금액</span></th>
<td colspan="3">
<fmt:formatNumber value="${mberInfoVO.mberMoney}" type="number" />
</td>
</tr>
<tr>
<th><span >회원 보유 포인트</span></th>
<td colspan="3">
<fmt:formatNumber value="${mberInfoVO.mberPoint}" type="number" />
</td>
</tr>
<%-- <c:if test="${refundVO.refundHandleId ne '' && refundVO.refundHandleId ne null}"> --%>
<%-- <tr>
<th><span >환불 처리자</span></th>
<td colspan="3">
<c:out value='${refundVO.refundHandleId}'/>
</td>
</tr>
<tr>
<th><span >환불 처리일시</span></th>
<td colspan="3">
<c:out value='${refundVO.refundHandlePnttm}'/>
</td>
</tr> --%>
<%-- </c:if> --%>
<tr>
<th><span >취소가능 기간 여부</span></th>
<td colspan="3">
<input type="radio" id="radio1" name="canclePossibleDiv" value="cancleIn" checked="checked"><label for="radio1">취소가능기간 내</label>
<input type="radio" id="radio2" name="canclePossibleDiv" value="cancleOut"><label for="radio2">취소가능기간 경과</label>
</td>
</tr>
</tbody>
</table>
<!-- 메모영역 -->
<%-- <div class="">
<span>환불 메모</span>
<textarea name="refundMemo" id="refundMemo">${refundVO.refundMemo}</textarea>
<input type="button" class="btnType1 bg_88888" value="저장" onclick="fn_memoSave(); return false;">
</div> --%>
<div class="btnWrap">
<input type="button" class="btnType1 bg_888888" value="목 록" onclick="golist('1'); return false;">
<!-- 환불요청상태가 환불처리중 일때만 -->
<%-- <c:if test="${refundVO.refundStatus == '1'}">
<input type="button" class="btnType1 bg_888888" value="환불 처리완료" onclick="RefundAjax('<c:url value="/uss/ion/pay/updateCompleteRefundAjax.do"/>'); return false;">
</c:if>
<c:if test="${refundVO.refundStatus == '1'}">
<ec:select codeId="ITN051" name="refundReject" id="refundReject"/>
<input type="button" class="btnType1 bg_888888" value="환불 처리불가" onclick="RefundAjax('<c:url value="/uss/ion/pay/updateCancelRefundAjax.do"/>'); return false;">
</c:if>
<c:if test="${refundVO.refundStatus == '4'}">
<input type="button" class="btnType1 bg_888888" value="재등록" onclick="RefundReRegist(); return false;"/>
</c:if> --%>
<input type="button" class="btnType1 bg_888888" value="등록" onclick="RefundRegist(); return false;"/>
</div>
</div>
</div>
</form>
<form name="searchForm" id="searchForm" method="post" action="<c:out value='/refund/refund/RefundList.do'/>">
<input type="hidden" name="refundId" value=""/>
<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>"/>
<input type="hidden" name="searchSortCnd" value="<c:out value="${searchVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${searchVO.searchSortOrd}" />" />
<input type="hidden" name="searchCondition" value="<c:out value="${searchVO.searchCondition}" />" />
<input type="hidden" name="searchKeyword" value="<c:out value="${searchVO.searchKeyword}" />" />
<input type="hidden" name="pageUnit" value="<c:out value="${searchVO.pageUnit}" />" />
</form>
<form name="payCancelForm" id="payCancelForm" method="post" action="">
<input type="hidden" name="refundId" value="<c:out value='${refundVO.refundId}'/>"/>
<input type="hidden" name="moid" value=""/>
<input type="hidden" name="payCancleDiv" value=""/>
</form>
</body>
</html>