subconPayPurOffPopup.jsp 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556
  1. <%--
  2. - FileName : subconPayOutOffPopup.jsp
  3. - Author(s) : ok
  4. - Date : 2014.09.10
  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. <%@ include file="/jsp/work/taglib.jsp" %>
  15. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  16. <%
  17. ctx.init(request, response);
  18. HandlerStorage storage = ctx.getHandlerStorage();
  19. ValueObject params = storage.getParams();
  20. ValueObject user = storage.getUser();
  21. String event = storage.getEvent();
  22. //System.out.println("Outside params : " + event);
  23. RowSet WarrGofficeComboList = storage.getRowSet("WarrGofficeComboList"); //보증기관 ComboList Data
  24. ValueObject contOutWarr = storage.getValueObject("WarrContInfo"); //보증정보
  25. ValueObject attFile = storage.getValueObject("attFileList"); //첨부파일
  26. ValueObject attFile1 = storage.getValueObject("attFileList1"); //첨부파일
  27. String sWarrGubun = params.get("warrGubun");
  28. %>
  29. <SCRIPT language="JavaScript">
  30. var sGuarOnoffYn = "<%=contOutWarr.get("GUAR_ONOFF_YN")%>";
  31. function _onReady(){
  32. jQuery("#btnSave").click(function() {
  33. //필수 입력항목 check
  34. // alert(save());
  35. if(save()){
  36. var f = document.form1;
  37. jQuery("#fevent").val("FORM_SAVE");
  38. submitXmlRequest("/portal/guar/subconPayPurPopup_form.screen", "FORM_SAVE", f, "SUCCESS");
  39. }
  40. });
  41. jQuery("#btnTrans").click(function() {
  42. //필수 입력항목 check
  43. // alert(save());
  44. if(save()){
  45. var f = document.form1;
  46. jQuery("#fevent").val("FORM_SAVE");
  47. submitXmlRequest("/portal/guar/subconPayPurPopup_form.screen", "FORM_SAVE", f, "SUCCESS");
  48. }
  49. });
  50. jQuery("#btnAgain").click(function() {
  51. //필수 입력항목 check
  52. // alert(save());
  53. if(save()){
  54. var f = document.form1;
  55. jQuery("#fevent").val("FORM_SAVE");
  56. submitXmlRequest("/portal/guar/subconPayPurPopup_form.screen", "FORM_SAVE", f, "SUCCESS");
  57. }
  58. });
  59. }
  60. function doResult(resultObj) {
  61. try {
  62. if( resultObj.getRequestEvent() == "FORM_SAVE" ) {
  63. if( resultObj.getSuccess() ) {
  64. alert("저장되었습니다.");
  65. returnValue = new Array(0,"OK",<%=params.get("purContModId")%>);
  66. parent.popContWarrClose(returnValue);
  67. }else {
  68. dlgErrorMsg(resultObj);
  69. }
  70. document.form1.isSubmit = false;
  71. }
  72. }
  73. catch(errorObject) {
  74. showErrorDlg("doResult()", errorObject);
  75. }
  76. }
  77. function calendar(thisDayObj){
  78. dlgCalendar(thisDayObj);
  79. }
  80. //첨부파일
  81. function doAttachFile(obj,No,gwSeqNM) {
  82. parent.doAttachFilePop(obj, No, document.form1, gwSeqNM, "cont/purchase/<%=params.get("purContModId")%>/guar");
  83. }
  84. function inputDataSet(){
  85. if(jQuery("#guarOrganCode option:selected").val() == "99"){ //기타
  86. document.getElementById("warrGofficeEtc").style.display = "";
  87. jQuery("#warrGofficeEtc").attr("readonly",false);
  88. jQuery("#warrGofficeEtc").css({'background-color' : '#ffffff'});
  89. jQuery("#warrGofficeEtc").css({'border' : '1px solid #595a5a'});
  90. }else{
  91. document.getElementById("warrGofficeEtc").style.display = "none";
  92. jQuery("#warrGofficeEtc").attr("readonly",true);
  93. jQuery("#warrGofficeEtc").css({'background-color' : '#dedede'});
  94. jQuery("#warrGofficeEtc").css({'border' : '1px solid #bcbcbc'});
  95. }
  96. }
  97. /**********************************************
  98. 발행구분에 따른 입력 내용 보이기, 안보이기
  99. **********************************************/
  100. function showHideTable(bShow)
  101. {
  102. var form = document.form1;
  103. var sWarrGubun = form.warrGubun.value; // 보증종류
  104. var sGuarStatus = form.guarStatus.value; // 보증상태
  105. var sGuarOrganCode = form.guarOrganCode.value; // 기관코드
  106. //title 및 변경구분 세팅
  107. var sTitle = "";
  108. var sTitle2 = "";
  109. var sText = "";
  110. document.getElementById("offTableInfo").style.display = "";
  111. if("<%=params.get("USER")%>" == "CORP")
  112. document.getElementById("btnSave").style.display = "NONE"; //2015.9.17
  113. else
  114. document.getElementById("btnSave").style.display = "";
  115. document.getElementById("btnTrans").style.display = "none";
  116. document.getElementById("btnAgain").style.display = "none";
  117. if(sGuarStatus == "")
  118. {
  119. document.getElementById("btnDel").style.display = "none";
  120. }else
  121. {
  122. document.getElementById("btnDel").style.display = "none";
  123. }
  124. document.getElementById("btnCancel").style.display = "none";
  125. if(sGuarOrganCode == "99")
  126. {
  127. document.getElementById("warrGofficeEtc").style.display = "";
  128. }else
  129. {
  130. document.getElementById("warrGofficeEtc").style.display = "none";
  131. }
  132. sTitle = "오프라인 ";
  133. form.guarOrganCode.disabled = false;
  134. if(<%=sWarrGubun%> == 1)
  135. {
  136. sTitle2 = "계약이행증권";
  137. sText = "계약이행보증서";
  138. }else if(<%=sWarrGubun%> == 5)
  139. {
  140. sTitle2 = "하자이행증권";
  141. sText = "하자이행보증서";
  142. }else if(<%=sWarrGubun%> == 3)
  143. {
  144. sTitle2 = "선급금이행증권";
  145. sText = "선급금이행보증서";
  146. }else
  147. {
  148. sTitle2 = "근재책임보험증권";
  149. sText = "근로자재해보상책임보험";
  150. }
  151. // 제목 타이틀
  152. // document.getElementById("li_title").innerHTML = sTitle + sTitle2;
  153. }
  154. /********************************
  155. 보증정보 저장
  156. ********************************/
  157. function save()
  158. {
  159. var form = document.form1;
  160. if(form.guarOrganCode.value == ""){
  161. alert("보증기관을 선택하세요");
  162. form.guarOrganCode.focus();
  163. return false;
  164. }
  165. // 오프라인인 경우
  166. if(form.guarOrganCode.value == "99"){
  167. if(!form.warrGofficeEtc.value){
  168. alert("보증기관명을 입력하세요");
  169. form.warrGofficeEtc.focus();
  170. return false;
  171. }
  172. }else{
  173. var iIndex = form.guarOrganCode.selectedIndex;
  174. var sText = form.guarOrganCode[iIndex].text;
  175. form.warrGofficeEtc.value = sText;
  176. }
  177. var wgno = form.warrWgno1;
  178. var wamt = form.warrWamt1;
  179. var wcsn = form.warrCommsn1;
  180. var wfrom = form.dateStart1;
  181. var wto = form.dateEnd1;
  182. var wppd = form.paperDate1;
  183. var wsize = form.p_AttachFileGuar1;
  184. if(wgno.value == ""){
  185. alert('증권번호를 입력하세요.');
  186. wgno.focus();
  187. return false;
  188. }
  189. if(wfrom.value.length <8){
  190. alert('보증시작일을 입력하세요');
  191. wfrom.focus();
  192. return false;
  193. }
  194. if(wto.value.length <8){
  195. alert('보증종료일을 입력하세요');
  196. wto.focus();
  197. return false;
  198. }
  199. if(wfrom.value > wto.value){
  200. alert('보증종료일이 시작일보다 빠릅니다.');
  201. wfrom.focus();
  202. return false;
  203. }
  204. if(wamt.value == "0" || wamt.value == ""){
  205. alert('보증금액을 입력하세요.');
  206. wamt.focus();
  207. return false;
  208. }
  209. if(wcsn.value == "0" || wcsn.value == ""){
  210. alert('수수료를 입력하세요.');
  211. wcsn.focus();
  212. return false;
  213. }
  214. if(wppd.value.length <8){
  215. alert('발급일을 입력하세요');
  216. wppd.focus();
  217. return false;
  218. }
  219. if(wsize.value == null || wsize.value == "0" || wsize.value == ""){
  220. alert('첨부파일을 선택하세요.');
  221. return false;
  222. }
  223. <%
  224. if (params.get("CAUSECODE").equals("04")){
  225. %>
  226. var wgno2 = form.warrWgno2;
  227. var wamt2 = form.warrWamt2;
  228. var wcsn2 = form.warrCommsn2;
  229. var wfrom2 = form.dateStart2;
  230. var wto2 = form.dateEnd2;
  231. var wppd2 = form.paperDate2;
  232. var wsize2 = form.p_AttachFileGuar2;
  233. if(wgno2.value == ""){
  234. alert('증권번호를 입력하세요.');
  235. wgno2.focus();
  236. return false;
  237. }
  238. if(wfrom2.value.length <8){
  239. alert('보증시작일을 입력하세요');
  240. wfrom2.focus();
  241. return false;
  242. }
  243. if(wto2.value.length <8){
  244. alert('보증종료일을 입력하세요');
  245. wto2.focus();
  246. return false;
  247. }
  248. if(wfrom2.value > wto.value){
  249. alert('보증종료일이 시작일보다 빠릅니다.');
  250. wfrom2.focus();
  251. return false;
  252. }
  253. if(wamt2.value == "0" || wamt2.value == ""){
  254. alert('보증금액을 입력하세요.');
  255. wamt2.focus();
  256. return false;
  257. }
  258. if(wcsn2.value == "0" || wcsn.value == ""){
  259. alert('수수료를 입력하세요.');
  260. wcsn2.focus();
  261. return false;
  262. }
  263. if(wppd2.value.length <8){
  264. alert('발급일을 입력하세요');
  265. wppd2.focus();
  266. return false;
  267. }
  268. if(wsize2.value == null || wsize2.value == "0" || wsize2.value == ""){
  269. alert('첨부파일을 선택하세요.');
  270. return false;
  271. }
  272. <%
  273. }
  274. %>
  275. form.guarStatus.value = "09";
  276. if(confirm("보증정보를 저장하시겠습니까?")) return true;
  277. }
  278. function doClose()
  279. {
  280. returnValue = null;
  281. parent.popContWarrClose(returnValue);
  282. }
  283. </SCRIPT>
  284. <STYLE>
  285. BODY {
  286. padding : 0 0 0 0;
  287. }
  288. </STYLE>
  289. <modular:search id="form1">
  290. <modular:key id="fevent" />
  291. </modular:search>
  292. <form id="form1" name="form1" method="post" modular:type="search">
  293. <INPUT type="hidden" name="fevent" id="fevent" value="<%= params.get("fevent") %>">
  294. <INPUT type="hidden" name="purContModId" id="purContModId" value="<%=params.get("purContModId") %>"> <!-- 보증증권 ID -->
  295. <INPUT type="hidden" name="warrGubun" id="warrGubun" value="<%=params.get("warrGubun") %>"> <!-- 보증증권 구분 -->
  296. <INPUT type="hidden" name="viewDiv" id="viewDiv" value="<%=params.get("viewDiv") %>"> <!-- 화면구분 -->
  297. <INPUT type="hidden" name="grtreqNo" id="grtreqNo" value="<%=contOutWarr.get("GRTREQNO") %>"> <!-- 원계약번호 -->
  298. <INPUT type="hidden" name="guarStatus" id="guarStatus" value="<%=contOutWarr.get("GUAR_STATUS") %>"> <!--보증 상태 -->
  299. <INPUT type="hidden" name="PUR_CONT_ID" id="PUR_CONT_ID" value="<%=contOutWarr.get("PUR_CONT_ID") %>"> <!--계약서 ID -->
  300. <INPUT type="hidden" name="MOD_NO" id="MOD_NO" value="<%=contOutWarr.get("MOD_NO") %>"> <!--계약 변경차수 -->
  301. <INPUT type="hidden" name="prepayId" id="prepayId" value="<%=params.get("prepayId") %>"> <!-- 보증일련번호 -->
  302. <INPUT type="hidden" name="guarOnOffYn" id="guarOnOffYn" value="<%=contOutWarr.get("GUAR_ONOFF_YN") %>"> <!-- 발행방법 -->
  303. <!-- 제목 및 버튼 -->
  304. <table id="t1" width="100%" border="0" cellspacing="0" cellpadding="0" class="ftit_table">
  305. <colgroup>
  306. <col width="200" />
  307. <col width="*" />
  308. </colgroup>
  309. <tr>
  310. <td align="right">
  311. <span class="btnSearch center" style="display:none" id="btnSave"><a>저장</a></span>
  312. <span class="btnSearch center" style="display:none" id="btnDel"><a href="javascript:void();del('정말로 보증정보를 삭제 하시겠습니까?');">삭제</a></span>
  313. <span class="btnSearch center" style="display:none" id="btnTrans"><a>전송</a></span>
  314. <span class="btnSearch center" style="display:none" id="btnAgain"><a>재전송</a></span>
  315. <span class="btnSearch center" style="display:none" id="btnCancel"><a href="javascript:void();del('해당기관에 전송한 계약정보가 삭제됩니다.\n\n취소 신청하시겠습니까?');">취소</a></span>
  316. </td>
  317. </tr>
  318. </table>
  319. <!-- 상세 정보 -->
  320. <TABLE cellspacing="1" cellpadding="0" class="search_table" style="margin-top:10px;">
  321. <colgroup>
  322. <col width="140" />
  323. <col width="*" />
  324. </colgroup>
  325. <TR height="25">
  326. <TH class="search_table_title" style="text-align: left;">현장명</TH>
  327. <TD class="search_table_data" style="margin-left:10px;text-align: left;">&nbsp;<%= InputText.get("deptName", contOutWarr.get("DEPT_NAME"), 50, 30, "class=input_blank, readOnly=white, string, left, tabIndex=-1", "string") %></TD>
  328. </TR>
  329. <TR height="25">
  330. <TH class="search_table_title" style="text-align: left;">하도공사명</TH>
  331. <TD class="search_table_data" style="margin-left:10px;text-align: left;">&nbsp;<%= InputText.get("buildName", contOutWarr.get("CST_DOC_NAME"), 50, 30, "class=input_blank, readOnly=white, string, left, tabIndex=-1", "string") %></TD>
  332. </TR>
  333. <TR height="25">
  334. <TH class="search_table_title" style="text-align: left;">계약번호</TH>
  335. <TD class="search_table_data" style="margin-left:10px;text-align: left;">&nbsp;<%= InputText.get("conDocNo", contOutWarr.get("ORD_DOC_NO"), 50, 30, "class=input_blank, readOnly=white, string, left, tabIndex=-1", "string") %></TD>
  336. </TR>
  337. <TR height="25">
  338. <TH class="search_table_title" style="text-align: left;">협력회사명</TH>
  339. <TD class="search_table_data" style="margin-left:10px;text-align: left;">&nbsp;<%= InputText.get("memberName", contOutWarr.get("MEMBER_NAME"), 50, 30, "class=input_blank, readOnly=white, string, left, tabIndex=-1", "string") %></TD>
  340. </TR>
  341. <!-- TR height="25">
  342. <TH class="search_table_title" style="text-align: left;">발행구분</TH>
  343. <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>
  344. </TR -->
  345. <TR height="25">
  346. <TH class="search_table_title required" style="text-align: left;">보증기관명</TH>
  347. <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")) %>
  348. <%= InputText.get("warrGofficeEtc", contOutWarr.get("WARR_GOFFICE"), 30, 40, "string, left, readOnly", "string") %>
  349. </TD>
  350. </TR>
  351. </TABLE>
  352. <%
  353. if (params.get("CAUSECODE").equals("04")){
  354. %>
  355. <TABLE cellspacing="1" cellpadding="0" class="search_table" id="offTableInfo" name="offTableInfo" style="margin-top:10px;display:">
  356. <colgroup>
  357. <col width="140" />
  358. <col width="*" />
  359. </colgroup>
  360. <TR height="25">
  361. <TH class="search_table_title" style="text-align: left;">변경구분</TH>
  362. <TD class="search_table_data" style="text-align: left;">&nbsp;<%= InputText.get("xxxxxxxx", "연장", 50, 30, "class=input_blank, readOnly=white, string, left, tabIndex=-1", "string") %>
  363. <INPUT type="hidden" name="warrSeq1" id="warrSeq1" value="<%=params.get("warrSeq") %>"> <!-- 보증증권 일련번호 -->
  364. <INPUT type="hidden" name="CAUSECODE1" id="CAUSECODE1" value="02">
  365. <INPUT type="hidden" name="CAUSECOUNT" id="CAUSECOUNT" value="2">
  366. </TD>
  367. </TR>
  368. <TR height="25">
  369. <TH class="search_table_title" style="text-align: left;">증권번호</TH>
  370. <TD class="search_table_data" style="text-align: left;">&nbsp;<%= InputText.get("warrWgno1", contOutWarr.get("WARR_WGNO"), 55, 38, "string, left", "string") %></TD>
  371. </TR>
  372. <TR height="25">
  373. <TH class="search_table_title" style="text-align: left;">보증기간</TH>
  374. <TD class="search_table_data" style="text-align: left;">&nbsp;<%= InputText.get("dateStart1", Formatter.formatDate(contOutWarr.get("WARR_SDATE"), "-"), 20, 10, "Center, date, PerSize, readonly", "date", "") %>
  375. <A href="JavaScript:calendar('dateStart1');"><IMG src="/img/buyer/btn/bt_calender.gif" alt="달력" border="0" align="absmiddle"></A>
  376. ~
  377. <%= InputText.get("dateEnd1", Formatter.formatDate(contOutWarr.get("WARR_EDATE"), "-"), 20, 10, "Center, date, PerSize, readonly", "date", "") %>
  378. <A href="JavaScript:calendar('dateEnd1');"><IMG src="/img/buyer/btn/bt_calender.gif" alt="달력" border="0" align="absmiddle"></A>
  379. </TD>
  380. </TR>
  381. <TR height="25">
  382. <TH class="search_table_title" style="text-align: left;">발급일</TH>
  383. <TD class="search_table_data" style="text-align: left;">&nbsp;<%= InputText.get("paperDate1", Formatter.formatDate(contOutWarr.get("PAPERDATE"), "-"), 29, 10, "Center, date, PerSize, readonly", "date", "") %>
  384. <A href="JavaScript:calendar('paperDate1');"><IMG src="/img/buyer/btn/bt_calender.gif" alt="달력" border="0" align="absmiddle"></A>
  385. </TD>
  386. </TR>
  387. <TR height="25">
  388. <TH class="search_table_title" style="text-align: left;">보증금액</TH>
  389. <TD class="search_table_data" style="text-align: left;">&nbsp;<%= InputText.get("warrWamt1", Formatter.formatCurrency(contOutWarr.get("WARR_WAMT")), 55, 14, "class=input byteChk ,number, right", "number") %>
  390. </TD>
  391. </TR>
  392. <TR height="25">
  393. <TH class="search_table_title" style="text-align: left;">수수료</TH>
  394. <TD class="search_table_data" style="text-align: left;">&nbsp;<%= InputText.get("warrCommsn1", Formatter.formatCurrency(contOutWarr.get("WARR_COMMSN")), 55, 14, "class=input byteChk ,number, right", "number") %>
  395. </TD>
  396. </TR>
  397. <TR height="25">
  398. <TH class="search_table_title" style="text-align: left;">첨부파일</TH>
  399. <TD class="search_table_data" style="text-align: left;">&nbsp;<TEXTAREA name="p_AttachFileGuar1" id="p_AttachFileGuar1" style="width:85%;height:20px" rows="1" class="input" readOnly><%=attFile.get("fileRow") %></TEXTAREA>
  400. <IMG id='search_spot_button' onClick="doAttachFile(document.form1.purContModId,1,'GUARCONT_PUR_<%=params.get("warrGubun")%>_<%=params.get("warrSeq")%>');" src='/img/buyer/button/bt_change.gif' border='0' align="top" align='absmiddle' alt='[Attach File]' style='cursor:pointer;'>
  401. </TD>
  402. </TR>
  403. </TABLE>
  404. <TABLE cellspacing="1" cellpadding="0" class="search_table" id="offTableInfo" name="offTableInfo" style="margin-top:5px;display:">
  405. <colgroup>
  406. <col width="140" />
  407. <col width="*" />
  408. </colgroup>
  409. <TR height="25">
  410. <TH class="search_table_title" style="text-align: left;">변경구분</TH>
  411. <TD class="search_table_data" style="text-align: left;">&nbsp;<%= InputText.get("xxxxxxxx", "증액", 50, 30, "class=input_blank, readOnly=white, string, left, tabIndex=-1", "string") %>
  412. <INPUT type="hidden" name="warrSeq2" id="warrSeq2" value="<%=Integer.parseInt(params.get("warrSeq"))+1 %>"> <!-- 보증증권 일련번호 -->
  413. <INPUT type="hidden" name="CAUSECODE2" id="CAUSECODE2" value="03">
  414. </TD>
  415. </TR>
  416. <TR height="25">
  417. <TH class="search_table_title" style="text-align: left;">증권번호</TH>
  418. <TD class="search_table_data" style="text-align: left;">&nbsp;<%= InputText.get("warrWgno2", contOutWarr.get("WARR_WGNO"), 55, 38, "string, left", "string") %></TD>
  419. </TR>
  420. <TR height="25">
  421. <TH class="search_table_title" style="text-align: left;">보증기간</TH>
  422. <TD class="search_table_data" style="text-align: left;">&nbsp;<%= InputText.get("dateStart2", Formatter.formatDate(contOutWarr.get("WARR_SDATE"), "-"), 20, 10, "Center, date, PerSize, readonly", "date", "") %>
  423. <A href="JavaScript:calendar('dateStart2');"><IMG src="/img/buyer/btn/bt_calender.gif" alt="달력" border="0" align="absmiddle"></A>
  424. ~
  425. <%= InputText.get("dateEnd2", Formatter.formatDate(contOutWarr.get("WARR_EDATE"), "-"), 20, 10, "Center, date, PerSize, readonly", "date", "") %>
  426. <A href="JavaScript:calendar('dateEnd2');"><IMG src="/img/buyer/btn/bt_calender.gif" alt="달력" border="0" align="absmiddle"></A>
  427. </TD>
  428. </TR>
  429. <TR height="25">
  430. <TH class="search_table_title" style="text-align: left;">발급일</TH>
  431. <TD class="search_table_data" style="text-align: left;">&nbsp;<%= InputText.get("paperDate2", Formatter.formatDate(contOutWarr.get("PAPERDATE"), "-"), 29, 10, "Center, date, PerSize, readonly", "date", "") %>
  432. <A href="JavaScript:calendar('paperDate2');"><IMG src="/img/buyer/btn/bt_calender.gif" alt="달력" border="0" align="absmiddle"></A>
  433. </TD>
  434. </TR>
  435. <TR height="25">
  436. <TH class="search_table_title" style="text-align: left;">보증금액</TH>
  437. <TD class="search_table_data" style="text-align: left;">&nbsp;<%= InputText.get("warrWamt2", Formatter.formatCurrency(contOutWarr.get("WARR_WAMT")), 55, 14, "class=input byteChk ,number, right", "number") %>
  438. </TD>
  439. </TR>
  440. <TR height="25">
  441. <TH class="search_table_title" style="text-align: left;">수수료</TH>
  442. <TD class="search_table_data" style="text-align: left;">&nbsp;<%= InputText.get("warrCommsn2", Formatter.formatCurrency(contOutWarr.get("WARR_COMMSN")), 55, 14, "class=input byteChk ,number, right", "number") %>
  443. </TD>
  444. </TR>
  445. <TR height="25">
  446. <TH class="search_table_title" style="text-align: left;">첨부파일</TH>
  447. <TD class="search_table_data" style="text-align: left;">&nbsp;<TEXTAREA name="p_AttachFileGuar2" id="p_AttachFileGuar2" style="width:85%;height:20px" rows="1" class="input" readOnly><%=attFile1.get("fileRow") %></TEXTAREA>
  448. <IMG id='search_spot_button' onClick="doAttachFile(document.form1.purContModId,2,'GUARCONT_PUR_<%=params.get("warrGubun")%>_<%=Integer.parseInt(params.get("warrSeq"))+1%>');" src='/img/buyer/button/bt_change.gif' border='0' align="top" align='absmiddle' alt='[Attach File]' style='cursor:pointer;'>
  449. </TD>
  450. </TR>
  451. </TABLE>
  452. <%}else{%>
  453. <TABLE cellspacing="1" cellpadding="0" class="search_table" id="offTableInfo" name="offTableInfo" style="margin-top:10px;display:">
  454. <colgroup>
  455. <col width="140" />
  456. <col width="*" />
  457. </colgroup>
  458. <TR height="25">
  459. <TH class="search_table_title" style="text-align: left;">변경구분</TH>
  460. <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") %>
  461. <INPUT type="hidden" name="warrSeq1" id="warrSeq1" value="<%=params.get("warrSeq") %>"> <!-- 보증증권 일련번호 -->
  462. <INPUT type="hidden" name="CAUSECODE1" id="CAUSECODE1" value="<%=params.get("CAUSECODE") %>">
  463. <INPUT type="hidden" name="CAUSECOUNT" id="CAUSECOUNT" value="1">
  464. </TD>
  465. </TR>
  466. <TR height="25">
  467. <TH class="search_table_title" style="text-align: left;">증권번호</TH>
  468. <TD class="search_table_data" style="text-align: left;">&nbsp;<%= InputText.get("warrWgno1", contOutWarr.get("WARR_WGNO"), 55, 38, "string, left", "string") %></TD>
  469. </TR>
  470. <TR height="25">
  471. <TH class="search_table_title" style="text-align: left;">보증기간</TH>
  472. <TD class="search_table_data" style="text-align: left;">&nbsp;<%= InputText.get("dateStart1", Formatter.formatDate(contOutWarr.get("WARR_SDATE"), "-"), 20, 10, "Center, date, PerSize, readonly", "date", "") %>
  473. <A href="JavaScript:calendar('dateStart1');"><IMG src="/img/buyer/btn/bt_calender.gif" alt="달력" border="0" align="absmiddle"></A>
  474. ~
  475. <%= InputText.get("dateEnd1", Formatter.formatDate(contOutWarr.get("WARR_EDATE"), "-"), 20, 10, "Center, date, PerSize, readonly", "date", "") %>
  476. <A href="JavaScript:calendar('dateEnd1');"><IMG src="/img/buyer/btn/bt_calender.gif" alt="달력" border="0" align="absmiddle"></A>
  477. </TD>
  478. </TR>
  479. <TR height="25">
  480. <TH class="search_table_title" style="text-align: left;">발급일</TH>
  481. <TD class="search_table_data" style="text-align: left;">&nbsp;<%= InputText.get("paperDate1", Formatter.formatDate(contOutWarr.get("PAPERDATE"), "-"), 29, 10, "Center, date, PerSize, readonly", "date", "") %>
  482. <A href="JavaScript:calendar('paperDate1');"><IMG src="/img/buyer/btn/bt_calender.gif" alt="달력" border="0" align="absmiddle"></A>
  483. </TD>
  484. </TR>
  485. <TR height="25">
  486. <TH class="search_table_title" style="text-align: left;">보증금액</TH>
  487. <TD class="search_table_data" style="text-align: left;">&nbsp;<%= InputText.get("warrWamt1", Formatter.formatCurrency(contOutWarr.get("WARR_WAMT")), 55, 14, "class=input byteChk ,number, right", "number") %>
  488. </TD>
  489. </TR>
  490. <TR height="25">
  491. <TH class="search_table_title" style="text-align: left;">수수료</TH>
  492. <TD class="search_table_data" style="text-align: left;">&nbsp;<%= InputText.get("warrCommsn1", Formatter.formatCurrency(contOutWarr.get("WARR_COMMSN")), 55, 14, "class=input byteChk ,number, right", "number") %>
  493. </TD>
  494. </TR>
  495. <TR height="25">
  496. <TH class="search_table_title" style="text-align: left;">첨부파일</TH>
  497. <TD class="search_table_data" style="text-align: left;">&nbsp;<TEXTAREA name="p_AttachFileGuar1" id="p_AttachFileGuar1" style="width:85%;height:30px" rows="1" class="input" readOnly><%=attFile.get("fileRow") %></TEXTAREA>
  498. <IMG id='search_spot_button' onClick="doAttachFile(document.form1.purContModId,1,'GUARCONT_PUR_<%=params.get("warrGubun")%>_<%=params.get("warrSeq")%>');" src='/img/buyer/button/bt_change.gif' border='0' align="top" align='absmiddle' alt='[Attach File]' style='cursor:pointer;'>
  499. </TD>
  500. </TR>
  501. </TABLE>
  502. <%}%>
  503. </FORM>
  504. <script>
  505. showHideTable(false);
  506. </script>