contOutWarrPopupErp.jsp 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536
  1. <%--
  2. - FileName : conOutWarrPopup.jsp
  3. - Author(s) : ok
  4. - Date : 2014.07.24
  5. - Copyright : Copyright (c) 2013 www.udapsoft.co.kr, Inc.
  6. - Description: 협력업체포탈 보증증권정보 입력 팝업
  7. --%>
  8. <%@ page contentType="text/html; charset=utf-8" %>
  9. <%@ page import="com.udapsoft.waf.system.HandlerStorage" %>
  10. <%@ page import="com.udapsoft.waf.common.ui.*" %>
  11. <%@ page import="kr.co.hsnc.common.util.*"%>
  12. <%@ page import="kr.co.hsnc.common.sql.*" %>
  13. <%@ page import="kr.co.hsnc.common.util.Formatter"%>
  14. <%@ page import="kr.co.udapsoft.common.code.CommCodeManager" %>
  15. <%@ include file="/jsp/work/taglib.jsp" %>
  16. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  17. <%
  18. ctx.init(request, response);
  19. HandlerStorage storage = ctx.getHandlerStorage();
  20. ValueObject params = storage.getParams();
  21. String event = storage.getEvent();
  22. RowSet WarrGofficeComboList = CommCodeManager.getCodeRowsetStatic("GUARORGAN", "SUBSTR(CHG_CODE01,1,1)", "1");
  23. ValueObject contOutWarr = storage.getValueObject("WarrContInfo"); //보증정보
  24. ValueObject attFile = storage.getValueObject("attFileList"); //첨부파일
  25. String check1 = "";
  26. String check2 = "";
  27. if("Y".equals(contOutWarr.get("GUAR_ONOFF_YN"))){
  28. check1 = "checked";
  29. }else{
  30. check2 = "checked";
  31. }
  32. String sWarrGubun = params.get("warrGubun");
  33. String sWonWarr = params.get("wonWarr");
  34. String sLaborChk = params.get("laborChk"); //근재 때문에 계약이행 보증서를 발급받을때 근재가 있으면 전문건설을 선택하게 처리
  35. if(sLaborChk.isEmpty()){
  36. sLaborChk = "0";
  37. }
  38. %>
  39. <SCRIPT language="JavaScript">
  40. var sGuarOnoffYn = "<%=contOutWarr.get("GUAR_ONOFF_YN")%>";
  41. var sContStatus = "<%=contOutWarr.get("CONTSTATUS")%>";
  42. var sPreqStatusCd = "<%=params.get("PreqStatusCd")%>"; //하자이행 현재 상태 (10이 완료, 04결재중)
  43. var sPayStatusCd = "<%=contOutWarr.get("PAYSTATUS")%>"; //선급금 현재 상태 (10이 완료, 04결재중)
  44. function _onReady(){
  45. jQuery("#btnSave").click(function() {
  46. //필수 입력항목 check
  47. if(save()){
  48. var f = document.form1;
  49. jQuery("#fevent").val("FORM_SAVE");
  50. submitXmlRequest("/portal/guar/contOutWarrPopup_form.screen", "FORM_SAVE", f, "SUCCESS");
  51. }
  52. });
  53. jQuery("#btnTrans").click(function() {
  54. //필수 입력항목 check
  55. // alert(save());
  56. if(save()){
  57. var f = document.form1;
  58. jQuery("#fevent").val("FORM_SAVE");
  59. submitXmlRequest("/portal/guar/contOutWarrPopup_form.screen", "FORM_SAVE", f, "SUCCESS");
  60. }
  61. });
  62. jQuery("#btnAgain").click(function() {
  63. //필수 입력항목 check
  64. // alert(save());
  65. if(save()){
  66. var f = document.form1;
  67. jQuery("#fevent").val("FORM_SAVE");
  68. submitXmlRequest("/portal/guar/contOutWarrPopup_form.screen", "FORM_SAVE", f, "SUCCESS");
  69. }
  70. });
  71. jQuery("#btnDel").click(function() {
  72. if(confirm("정말로 보증정보를 삭제 하시겠습니까?")){
  73. // 보증정보 삭제
  74. var f = document.form1;
  75. jQuery("#fevent").val("FORM_DELETE");
  76. submitXmlRequest("/portal/guar/contOutWarrPopup_form.screen", "FORM_DELETE", f, "SUCCESS");
  77. }
  78. });
  79. }
  80. function doResult(resultObj) {
  81. try {
  82. if( resultObj.getRequestEvent() == "FORM_SAVE" ) {
  83. if( resultObj.getSuccess() ) {
  84. alert("저장되었습니다.");
  85. window.location.reload();
  86. }else {
  87. dlgErrorMsg(resultObj);
  88. }
  89. document.form1.isSubmit = false;
  90. }
  91. if( resultObj.getRequestEvent() == "GET_DATA" ) {
  92. if( resultObj.getSuccess() ) {
  93. }else {
  94. dlgErrorMsg(resultObj);
  95. }
  96. document.form1.isSubmit = false;
  97. }
  98. if( resultObj.getRequestEvent() == "FORM_DELETE" ) {
  99. if( resultObj.getSuccess() ) {
  100. alert("정상적으로 처리 되었습니다.");
  101. window.location.reload();
  102. }else {
  103. dlgErrorMsg(resultObj);
  104. }
  105. document.form1.isSubmit = false;
  106. }
  107. }
  108. catch(errorObject) {
  109. showErrorDlg("doResult()", errorObject);
  110. }
  111. }
  112. function calendar(thisDayObj){
  113. dlgCalendar(thisDayObj);
  114. }
  115. //첨부파일
  116. function doAttachFile(obj,No) {
  117. var editFile = "";
  118. if(obj==''){
  119. alert("After you have saved, you can attach a file.");
  120. }
  121. else if(obj != ''){
  122. if(document.form1.guarStatus.value != "02"){editFile="N";}else{editFile="Y";}
  123. viewFileListNew("GUARCONT_OUT_5_<%=params.get("warrSeq")%>", obj.value, document.form1.p_AttachFileGuar1, editFile, "cont/outside/<%=params.get("subContModId")%>/guar", "contOutWarrPopup");
  124. }
  125. }
  126. function searchData(){
  127. var f = document.form1;
  128. jQuery("#fevent").val("GET_DATA");
  129. submitXmlRequest("/portal/payment/ContOutWarrPopup_form.screen", "GET_DATA", f, "VALUEOBJECT");
  130. }
  131. function inputDataSet(){
  132. if(jQuery("#guarOrganCode option:selected").val() == "99"){ //기타
  133. document.getElementById("warrGofficeEtc").style.display = "";
  134. jQuery("#warrGofficeEtc").attr("readonly",false);
  135. jQuery("#warrGofficeEtc").css({'background-color' : '#ffffff'});
  136. jQuery("#warrGofficeEtc").css({'border' : '1px solid #595a5a'});
  137. }else{
  138. document.getElementById("warrGofficeEtc").style.display = "none";
  139. jQuery("#warrGofficeEtc").attr("readonly",true);
  140. jQuery("#warrGofficeEtc").css({'background-color' : '#dedede'});
  141. jQuery("#warrGofficeEtc").css({'border' : '1px solid #bcbcbc'});
  142. }
  143. }
  144. function checkOnOff(chk){
  145. if(chk=='Y'){
  146. document.getElementById("offTableInfo").style.display="none";
  147. sGuarOnoffYn = "Y";
  148. showHideTable(true);
  149. }else{
  150. document.getElementById("offTableInfo").style.display="";
  151. sGuarOnoffYn = "N";
  152. showHideTable(false);
  153. }
  154. }
  155. /**********************************************
  156. 발행구분에 따른 입력 내용 보이기, 안보이기
  157. **********************************************/
  158. function showHideTable(bShow)
  159. {
  160. var form = document.form1;
  161. var sWarrGubun = form.warrGubun.value; // 보증종류
  162. var sGuarStatus = form.guarStatus.value; // 보증상태
  163. var sGuarOrganCode = form.guarOrganCode.value; // 기관코드
  164. //title 및 변경구분 세팅
  165. var sTitle = "";
  166. var sTitle2 = "";
  167. var sText = "";
  168. if( '<%=params.get("validYn")%>' == 'Y' ){
  169. document.getElementById("offTableInfo").style.display = "";
  170. document.getElementById("btnSave").style.display = "";
  171. if(sGuarStatus == "02")
  172. {
  173. document.getElementById("btnDel").style.display = "none";
  174. }else
  175. {
  176. document.getElementById("btnDel").style.display = "";
  177. }
  178. if(sGuarOrganCode == "99")
  179. {
  180. document.getElementById("warrGofficeEtc").style.display = "";
  181. }else
  182. {
  183. document.getElementById("warrGofficeEtc").style.display = "none";
  184. }
  185. //계약 완료일 경우 버튼 안보이게 처리
  186. if((sContStatus == "50") || (sPreqStatusCd == "04") || (sPreqStatusCd == "10") || (sPayStatusCd == "04") || (sPayStatusCd == "10"))
  187. {
  188. document.getElementById("btnDel").style.display = "none";
  189. document.getElementById("btnSave").style.display = "none";
  190. }
  191. }
  192. sTitle = "오프라인 ";
  193. form.guarOrganCode.disabled = false;
  194. sTitle2 = "하자이행증권";
  195. sText = "하자이행보증서";
  196. // 제목 타이틀
  197. // document.getElementById("li_title").innerHTML = sTitle + sTitle2;
  198. /* 발행구분 radio 활성, 비활성 */
  199. /* 변경 구분이 단축/감액일경우는 오프라인 설청후 radio 비활성*/
  200. /* 변경 구분이 단축/감액일경우는 오프라인 설청후 radio 비활성 :: 조달에서 팝업 띄울때 오프라인 설정후 ]*/
  201. //sContStatus 향후 이부분은 수정 필요
  202. if((sGuarStatus == "08") || (sGuarStatus == "09"))
  203. {
  204. document.getElementById("dateStart").disabled = true;
  205. document.getElementById("dateEnd").disabled = true;
  206. document.getElementById("paperDate").disabled = true;
  207. document.getElementById("warrWgno").disabled = true;
  208. document.getElementById("guarOrganCode").disabled = true;
  209. document.getElementById("warrWamt").disabled = true;
  210. document.getElementById("btnCalendar1").style.display = "none";
  211. document.getElementById("btnCalendar2").style.display = "none";
  212. document.getElementById("btnCalendar3").style.display = "none";
  213. }else{
  214. document.getElementById("warrWgno").readOnly = false;
  215. document.getElementById("warrWamt").readOnly = false;
  216. }
  217. //2017.06.19 온라인 하자보증 제한
  218. }
  219. /********************************
  220. 보증정보 저장
  221. ********************************/
  222. function save()
  223. {
  224. var form = document.form1;
  225. if(form.guarOrganCode.value == ""){
  226. alert("보증기관을 선택하세요");
  227. form.guarOrganCode.focus();
  228. return false;
  229. }
  230. if(sGuarOnoffYn == "Y"){ // 온라인인 경우
  231. var wOldGuarOrganCode = form.OldGuarOrganCode;
  232. if(form.guarOrganCode.selectedIndex==3){
  233. alert("온라인 보증서 발급시 전문건설공제 조합 또는 서울보증보험을 선택해 주시기 바랍니다.")
  234. form.guarOrganCode.focus();
  235. return false;
  236. }
  237. if((form.guarOrganCode.selectedIndex==2) && (wOldGuarOrganCode.value=="") && (form.MOD_NO.value!="0")) {
  238. alert("온라인 보증서 발급을 서울 보증서로 발급시 변경계약에 대한 보증서는 당초 보증서를 온라인으로 서울 보증서로 발급 받은 상태에서만 가능합니다.\n\n아닐경우 오프란인으로 처리 해 주시기 바랍니다.")
  239. form.guarOrganCode.focus();
  240. return false;
  241. }
  242. if((wOldGuarOrganCode.value!="") && (wOldGuarOrganCode.value!=form.guarOrganCode.selectedIndex)){
  243. alert("온라인 보증에 대해서 변경 사항에 대해서는 당초 보증 기관과 동일하게 선택해 주세요.");
  244. return false;
  245. }
  246. form.guarStatus.value = "05";
  247. if(confirm("해당보증기관에 계약정보를 전송하시겠습니까?")) return true;
  248. }else{ // 오프라인인 경우
  249. if(form.guarOrganCode.value == "99"){
  250. if(!form.warrGofficeEtc.value){
  251. alert("보증기관명을 입력하세요");
  252. form.warrGofficeEtc.focus();
  253. return false;
  254. }
  255. }else{
  256. var iIndex = form.guarOrganCode.selectedIndex;
  257. var sText = form.guarOrganCode[iIndex].text;
  258. form.warrGofficeEtc.value = sText;
  259. }
  260. var wgno = form.warrWgno;
  261. var wamt = form.warrWamt;
  262. var wfrom = form.dateStart;
  263. var wto = form.dateEnd;
  264. var wppd = form.paperDate;
  265. var wsize = form.p_AttachFileGuar1;
  266. if(wgno.value == ""){
  267. alert('증권번호를 입력하세요.');
  268. wgno.focus();
  269. return false;
  270. }
  271. if(wfrom.value.length <8){
  272. alert('보증시작일을 입력하세요');
  273. wfrom.focus();
  274. return false;
  275. }
  276. if(wto.value.length <8){
  277. alert('보증종료일을 입력하세요');
  278. wto.focus();
  279. return false;
  280. }
  281. if(wfrom.value > wto.value){
  282. alert('보증종료일이 시작일보다 빠릅니다.');
  283. wto.focus();
  284. return false;
  285. }
  286. if(wamt.value == "0" || wamt.value == ""){
  287. alert('보증금액을 입력하세요.');
  288. wamt.focus();
  289. return false;
  290. }
  291. if(wppd.value.length <8){
  292. alert('발급일을 입력하세요');
  293. wppd.focus();
  294. return false;
  295. }
  296. if(wsize.value == null || wsize.value == "0" || wsize.value == ""){
  297. alert('첨부파일을 선택하세요.');
  298. return false;
  299. }
  300. form.guarStatus.value = "09";
  301. if(confirm("보증정보를 저장하시겠습니까?")) return true;
  302. }
  303. }
  304. </SCRIPT>
  305. <STYLE>
  306. BODY {
  307. padding : 0 0 0 0;
  308. }
  309. </STYLE>
  310. <modular:search id="form1">
  311. <modular:key id="fevent" />
  312. </modular:search>
  313. <form id="form1" name="form1" method="post" modular:type="search">
  314. <INPUT type="hidden" name="fevent" id="fevent" value="">
  315. <INPUT type="hidden" name="subContModId" id="subContModId" value="<%=params.get("subContModId") %>"> <!-- 보증증권 ID -->
  316. <INPUT type="hidden" name="warrGubun" id="warrGubun" value="<%=params.get("warrGubun") %>"> <!-- 보증증권 구분 -->
  317. <INPUT type="hidden" name="warrSeq" id="warrSeq" value="<%=params.get("warrSeq") %>"> <!-- 보증증권 일련번호 -->
  318. <INPUT type="hidden" name="viewDiv" id="viewDiv" value="ACMP"> <!-- 화면구분 -->
  319. <INPUT type="hidden" name="grtreqNo" id="grtreqNo" value="<%=contOutWarr.get("GRTREQNO") %>"> <!-- 원계약번호 -->
  320. <INPUT type="hidden" name="causeCode" id="causeCode" value="10"> <!--변경면구분 -->
  321. <INPUT type="hidden" name="guarStatus" id="guarStatus" value="<%=contOutWarr.get("GUAR_STATUS") %>"> <!--보증 상태 -->
  322. <INPUT type="hidden" name="SUB_CONT_ID" id="SUB_CONT_ID" value="<%=contOutWarr.get("SUB_CONT_ID") %>"> <!--계약서 ID -->
  323. <INPUT type="hidden" name="MOD_NO" id="MOD_NO" value="<%=contOutWarr.get("MOD_NO") %>"> <!--계약 변경차수 -->
  324. <INPUT type="hidden" name="OldGuarOrganCode" id="OldGuarOrganCode" value="<%=contOutWarr.get("OldGuarOrganCode") %>"> <!--이전 계약 기관 -->
  325. <INPUT type="hidden" name="prepayId" id="prepayId" value="<%=params.get("prepayId") %>"> <!-- 보증일련번호 -->
  326. <!-- 제목 및 버튼 -->
  327. <table id="t1" width="100%" border="0" cellspacing="0" cellpadding="0" class="ftit_table">
  328. <colgroup>
  329. <col width="200" />
  330. <col width="*" />
  331. </colgroup>
  332. <tr>
  333. <td align="right">
  334. <%
  335. if( params.get("validYn").equals("Y") ){
  336. %>
  337. <span class="btnSearch center" style="display:none" id="btnSave"><a>저장</a></span>
  338. <span class="btnSearch center" style="display:none" id="btnDel"><a>삭제</a></span>
  339. <%} %>
  340. </td>
  341. </tr>
  342. </table>
  343. <!-- 상세 정보 -->
  344. <TABLE cellspacing="1" cellpadding="0" class="search_table" style="margin-top:10px;">
  345. <colgroup>
  346. <col width="140" />
  347. <col width="*" />
  348. </colgroup>
  349. <TR height="25">
  350. <TH class="search_table_title required" style="text-align: left;">발행방법</TH>
  351. <TD class="search_table_data" style="text-align:left;padding-left:7px">
  352. 오프라인
  353. <input type="hidden" name="guarOnOffYn" value="N">
  354. </TD>
  355. </TR>
  356. <TR height="25">
  357. <TH class="search_table_title" style="text-align: left;">발행구분</TH>
  358. <TD class="search_table_data" style="margin-left:10px;text-align: left;">&nbsp;<%= InputText.get("warrGubunNm", contOutWarr.get("WARR_GUBUN_NM"), 50, 30, "class=input_blank, readOnly=white, string, left, tabIndex=-1", "string") %></TD>
  359. </TR>
  360. <TR height="25">
  361. <TH class="search_table_title required" style="text-align: left;">보증기관명</TH>
  362. <TD class="search_table_data" style="text-align: left;">&nbsp;<%= HTMLMaker.getSelectTag(WarrGofficeComboList, "DETAILCD", "DETAILNM", "guarOrganCode", "width:35%;height=18;' onChange='inputDataSet();", "<option value=''>선택</option>", contOutWarr.get("GUAR_ORGAN_CODE")) %>
  363. <%= InputText.get("warrGofficeEtc", contOutWarr.get("WARR_GOFFICE"), 30, 40, "string, left, readOnly", "string") %>
  364. </TD>
  365. </TR>
  366. <TR height="25">
  367. <TH class="search_table_title" style="text-align: left;">변경구분</TH>
  368. <TD class="search_table_data" style="text-align: left;">&nbsp;<%= InputText.get("xxxxxxxx", contOutWarr.get("CAUSECODE_NM"), 50, 30, "class=input_blank, readOnly=white, string, left, tabIndex=-1", "string") %></TD>
  369. </TR>
  370. </TABLE>
  371. <TABLE cellspacing="1" cellpadding="0" class="search_table" id="offTableInfo" name="offTableInfo" style="margin-top:10px;display:none">
  372. <colgroup>
  373. <col width="140" />
  374. <col width="*" />
  375. </colgroup>
  376. <TR height="25">
  377. <TH class="search_table_title" style="text-align: left;">증권번호</TH>
  378. <TD class="search_table_data" style="text-align: left;">&nbsp;<%= InputText.get("warrWgno", contOutWarr.get("WARR_WGNO"), 55, 38, "string, readonly, left", "string") %></TD>
  379. </TR>
  380. <TR height="25">
  381. <TH class="search_table_title" style="text-align: left;">보증기간</TH>
  382. <TD class="search_table_data" style="text-align: left;">&nbsp;<%= InputText.get("dateStart", Formatter.formatDate(contOutWarr.get("WARR_SDATE"), "-"), 20, 10, "Center, date, PerSize, readonly", "date", "") %>
  383. <A href="JavaScript:calendar('dateStart');"><IMG src="/img/buyer/btn/bt_calender.gif" alt="달력" border="0" align="absmiddle" id="btnCalendar1"></A>
  384. ~
  385. <%= InputText.get("dateEnd", Formatter.formatDate(contOutWarr.get("WARR_EDATE"), "-"), 20, 10, "Center, date, PerSize, readonly", "date", "") %>
  386. <A href="JavaScript:calendar('dateEnd');"><IMG src="/img/buyer/btn/bt_calender.gif" alt="달력" border="0" align="absmiddle" id="btnCalendar2"></A>
  387. </TD>
  388. </TR>
  389. <TR height="25">
  390. <TH class="search_table_title" style="text-align: left;">보증금액</TH>
  391. <TD class="search_table_data" style="text-align: left;">&nbsp;<%= InputText.get("warrWamt", Formatter.formatCurrency(contOutWarr.get("WARR_WAMT")), 55, 14, "class=input byteChk, readonly ,number, right", "number") %>
  392. <INPUT type="hidden" name="warrWrate" id="warrWrate" value="<%=contOutWarr.get("WARR_WRATE") %>"> <!-- 보증율 -->
  393. </TD>
  394. </TR>
  395. <TR height="25">
  396. <TH class="search_table_title" style="text-align: left;">발급일</TH>
  397. <TD class="search_table_data" style="text-align: left;">&nbsp;<%= InputText.get("paperDate", Formatter.formatDate(contOutWarr.get("PAPERDATE"), "-"), 29, 10, "Center, date, PerSize, readonly", "date", "") %>
  398. <A href="JavaScript:calendar('paperDate');"><IMG src="/img/buyer/btn/bt_calender.gif" alt="달력" border="0" align="absmiddle" id="btnCalendar3"></A>
  399. </TD>
  400. </TR>
  401. <TR height="25" <%=params.get("validYn").equals("N")?"style='display:none;'":"" %> >
  402. <TH class="search_table_title" style="text-align: left;">첨부파일</TH>
  403. <TD class="search_table_data" style="text-align: left;">&nbsp;<TEXTAREA name="p_AttachFileGuar1" id="p_AttachFileGuar1" style="width:85%;height:80px" rows="1" class="input" readOnly><%=attFile.get("fileRow") %></TEXTAREA>
  404. <IMG id='search_spot_button' onClick="doAttachFile(document.form1.subContModId,1);" src='/img/buyer/button/bt_change.gif' border='0' align="top" align='absmiddle' alt='[Attach File]' style='cursor:pointer;'>
  405. </TD>
  406. </TR>
  407. </TABLE>
  408. <%
  409. //서울 보증 온라인일경우 신청 번호를 보여준다.
  410. if((contOutWarr.get("GUAR_ONOFF_YN").equals("Y")) && (contOutWarr.get("GUAR_ORGAN_CODE").equals("2"))){
  411. //신청 대기일경웅에는 안보여준다.
  412. if(!contOutWarr.get("GUAR_STATUS").equals("04")){
  413. String I_CONTSEQ = contOutWarr.get("MOD_NO");
  414. String I_GRTSEQ = params.get("warrSeq");
  415. if(I_CONTSEQ.length()==1){
  416. I_CONTSEQ = "0" + contOutWarr.get("MOD_NO");
  417. }
  418. if(I_GRTSEQ.length()==1){
  419. I_GRTSEQ = "0" + I_GRTSEQ;
  420. }
  421. %>
  422. <TABLE cellspacing="1" cellpadding="0" class="search_table" style="margin-top:10px;">
  423. <colgroup>
  424. <col width="140" />
  425. <col width="*" />
  426. </colgroup>
  427. <TR height="25">
  428. <TH class="search_table_title" style="text-align: left;">서울보증신청번호</TH>
  429. <TD class="search_table_data" style="text-align:left;padding-left:5px">&nbsp;<%= contOutWarr.get("GRTREQNO") +"-"+ I_CONTSEQ + contOutWarr.get("GRTTYPE")+ I_GRTSEQ%></TD>
  430. </TR>
  431. </TABLE>
  432. <%
  433. }
  434. }
  435. //반송일 경우 반송 사유를 보여준다.
  436. if(contOutWarr.get("GUAR_STATUS").equals("10")){
  437. %>
  438. <TABLE cellspacing="1" cellpadding="0" class="search_table" style="margin-top:10px;">
  439. <colgroup>
  440. <col width="140" />
  441. <col width="*" />
  442. </colgroup>
  443. <TR height="25">
  444. <TH class="search_table_title" style="text-align: left;">보증상태</TH>
  445. <TD class="search_table_data" style="text-align:left;padding-left:5px">&nbsp;<%= contOutWarr.get("GUAR_STATUS_NM")%></TD>
  446. </TR>
  447. <TR height="25">
  448. <TH class="search_table_title" style="text-align: left;">반송사유</TH>
  449. <TD class="search_table_data" style="text-align:left;padding-left:5px">&nbsp;<%= contOutWarr.get("REJECTMENT")%></TD>
  450. </TR>
  451. <TR height="25">
  452. <TH class="search_table_title" style="text-align: left;">처리방법</TH>
  453. <TD class="search_table_data" style="text-align:left;padding-left:5px">&nbsp;해당 보증사에 확인을 해주시기 바랍니다.</TD>
  454. </TR>
  455. </TABLE>
  456. <%
  457. }
  458. //반송사유 끝
  459. %>
  460. </FORM>
  461. <script>
  462. checkOnOff('<%=contOutWarr.get("GUAR_ONOFF_YN")%>');
  463. if( '<%=params.get("validYn")%>' != 'Y' ){
  464. alert('유효하지 않은 접근입니다. 팝업창을 다시 띄워주시기 바랍니다.');
  465. }
  466. </script>