contPurWarrPopupErp.jsp 20 KB

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