ResultDetail04.jsp 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734
  1. <%--
  2. - FileName : OutSupplierApprList.jsp
  3. - Author(s) : Sung Min Lee
  4. - Date : 2014.06.17
  5. -
  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="java.net.URLEncoder"%>
  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. ValueObject vo = storage.getValueObject("ResultDetail04BizVo");
  22. RowSet fileRowSet = storage.getRowSet("RESULT_PDF");
  23. String pageEvent = storage.getEvent();
  24. %>
  25. <script type="text/javascript">
  26. <!--
  27. $(document).on("keyup", "input:text[numberOnly]", function()
  28. {
  29. $(this).val( $(this).val().replace(/[^0-9]/gi,"") ); //숫자만입력 정규식...
  30. $(this).val($(this).val().split(/(?=(?:\d{3})+(?:\.|$))/g).join(',')); //콤마찍기 정규식...귀찮ㄹ타
  31. });
  32. $(document).on("keyup", "input:text[number]", function()
  33. {
  34. $(this).val( $(this).val().replace(/[^0-9]/gi,"") ); //숫자만입력 정규식...
  35. });
  36. $(document).ready(function(){
  37. if($("#p_page_gubun").val() == "info")
  38. {
  39. if($("#prog_stat_cd").val() == "20")
  40. {
  41. // $("#btn_issue_req").css("display", "inline");
  42. }
  43. else if($("#prog_stat_cd").val() == "30")
  44. {
  45. $("#btn_save_area").css("display", "none");
  46. }
  47. else if($("#prog_stat_cd").val() == "10")
  48. {
  49. $("#btn_issue_req").css("display", "none");
  50. $("#btn_save").css("display", "none");
  51. $("#btn_delete").css("display", "none");
  52. }
  53. else
  54. {
  55. // $("#btn_save").css("display", "none");
  56. $(':input').attr("readonly", false);
  57. $("#sub_amt").attr("readonly", "true");
  58. $("#reg_no").attr("readonly", "true");
  59. $("#isu_charge_nm").attr("readonly", "true");
  60. $("#isu_req_hp1").attr("readonly", "true");
  61. $("#isu_req_hp2").attr("readonly", "true");
  62. $("#isu_req_hp3").attr("readonly", "true");
  63. }
  64. }
  65. });
  66. $(function(){
  67. $.gridInit = function()
  68. {
  69. var init_sheet = {};
  70. init_sheet.Cfg = {SearchMode:2, MergeSheet:msHeaderOnly, Page:10};
  71. init_sheet.Cols = [
  72. {Header:"삭제", Type:"DelCheck", SaveName:"DEL_CHECK", Width:15, Align:"Center", Hidden:"True"}
  73. ];
  74. init_sheet.HeaderMode = {Sort:1};
  75. IBS_InitSheet(sheet1, init_sheet);
  76. sheet1.SetDataAutoTrim(0);
  77. // sheet1.SetEditable(false);
  78. sheet1.SetCountPosition(0);
  79. sheet1.FitColWidth();
  80. }
  81. $(".numberic").each(function(){
  82. $(this).val($(this).val().split(/(?=(?:\d{3})+(?:\.|$))/g).join(','));
  83. });
  84. $.callCalendar = function(id){
  85. var str_value = id;
  86. var re = new RegExp("_", "ig");
  87. var resultArray = str_value.match(re);
  88. if(resultArray.length == 1)
  89. {
  90. dlgCalendar(id);
  91. }
  92. else if(resultArray.length == 2)
  93. {
  94. id = id.substring(0, id.lastIndexOf("_"));
  95. dlgCalendar(id);
  96. }
  97. };
  98. $("[name=date_img]").click(function(){
  99. var id = $(this).attr("id").substring(0, $(this).attr("id").lastIndexOf("_"));
  100. dlgCalendar(id);
  101. });
  102. $("#btn_list").click(function(){
  103. $("#fevent").val("");
  104. if($("#p_page_gubun").val() == "target")
  105. {
  106. $("#form1").attr("action", "<%=params.get("p_List") %>");
  107. }
  108. else if($("#p_page_gubun").val() == "info")
  109. {
  110. $("#form1").attr("action", "<%=params.get("p_List") %>");
  111. }
  112. $("#form1").attr("target", "_self");
  113. $("#form1").attr("method", "post");
  114. $("#form1").submit();
  115. });
  116. //2016.1.25
  117. $("#btn_delete").click(function(){
  118. var f = document.form1;
  119. if(confirm( "반려 하시겠습니까?"))
  120. {
  121. $(':radio[name="p_reson"]:checked').val("91");
  122. $("#fevent").val("SAVE_STATUS");
  123. submitXmlRequest("/result/outside/ResultDetail01_form.screen", "SAVE_STATUS", f);
  124. }
  125. });
  126. $(':radio[name="p_reson"]').click(function(){
  127. if($(':radio[name="p_reson"]:checked').val() == "91" )
  128. {
  129. $("#reson_area").css("display", "table-row");
  130. $("#btn_save").text("반려");
  131. $("#p_return_reson").val("");
  132. $("#p_return_reson").removeClass();
  133. $("#p_return_reson").attr("readonly", false);
  134. $("#p_return_reson").focus();
  135. }
  136. else
  137. {
  138. $("#reson_area").css("display", "none");
  139. $("#btn_save").text("승인");
  140. $("#p_return_reson").val("");
  141. $("#p_return_reson").addClass("bg_gry");
  142. $("#p_return_reson").attr("readonly", true);
  143. }
  144. });
  145. $("#btn_preview").click(function(){
  146. var reportInfo = new ReportInfo();
  147. reportInfo.title = "한국정보통신공사협회 실적증명";
  148. reportInfo.reportName = "/report/mrd/buyer/supplier/info_application.mrd";
  149. reportInfo.set("<%=vo.get("corp_id")%>"); // $1
  150. reportInfo.set("<%=vo.get("sub_cont_mod_id")%>"); // $2
  151. reportInfo.set("<%=vo.get("acmp_yyyy")%>"); // $3
  152. reportInfo.set("<%=vo.get("soc_cd")%>"); // $4
  153. reportInfo.width = 1000; // Default: 1024
  154. reportInfo.height = 700; // Default: 768
  155. reportInfo.showPopup();
  156. $("#pdf").val("");
  157. });
  158. $("#btn_save").click(function(){
  159. var f = document.form1;
  160. fMakeItemInfo();
  161. if($(':radio[name="p_reson"]:checked').val() == undefined)
  162. {
  163. alert("발급 승인여부를 선택해 주세요.");
  164. return;
  165. }
  166. if(confirm($("#btn_save").text() + " 하시겠습니까?"))
  167. {
  168. if($(':radio[name="p_reson"]:checked').val() == "91" )
  169. {
  170. if($("#p_return_reson").val().trim() == "")
  171. {
  172. alert("반려사유를 입력해 주세요.");
  173. return $("#p_return_reson").focus();
  174. }
  175. $("#fevent").val("SAVE_STATUS");
  176. submitXmlRequest("/result/outside/ResultDetail01_form.screen", "SAVE_STATUS", f);
  177. }else{
  178. $("#fevent").val("SIGN_OK");
  179. submitXmlRequest("/result/outside/ResultDetail01_form.screen", "SIGN_OK", f);
  180. }
  181. }
  182. });
  183. });
  184. $(document).ready(function(){
  185. if($("#p_success_gubun").val() == "R")
  186. {
  187. $(':radio[name="p_reson"]').attr("disabled", true);
  188. $(':input').attr("readonly", true);
  189. $(':input[type="text"]').addClass("bg_gry");
  190. $(':input[type="text"]').addClass("input_blank");
  191. }
  192. if($(':radio[name="p_reson"]:checked').val() == "91" )
  193. {
  194. $("#reson_area").css("display", "table-row");
  195. $("#btn_save").text("반려");
  196. $("#p_return_reson").removeClass();
  197. $("#p_return_reson").attr("readonly", false);
  198. $("#p_return_reson").focus();
  199. }
  200. else
  201. {
  202. $("#reson_area").css("display", "none");
  203. $("#btn_save").text("승인");
  204. $("#p_return_reson").val("");
  205. $("#p_return_reson").addClass("bg_gry");
  206. $("#p_return_reson").attr("readonly", true);
  207. }
  208. if($("#p_page_gubun").val() == "info")
  209. {
  210. if($("#prog_stat_cd").val() == "20")
  211. {
  212. $("#btn_issue_req").css("display", "");
  213. $(':input').attr("readonly", true);
  214. $(':input[type="text"]').addClass("bg_gry");
  215. $(':input[type="text"]').addClass("input_blank");
  216. $("#btn_delete").css("display", "none");
  217. }
  218. else if($("#prog_stat_cd").val() == "30")
  219. {
  220. $("#btn_save").css("display", "none");
  221. }
  222. else
  223. {
  224. $("#btn_delete").css("display", "none");
  225. $("#btn_issue_req").css("display", "none");
  226. $("#btn_delete").css("display", "none");
  227. $("#issue_no").attr("readonly", "true");
  228. $("#lic_org").attr("readonly", "true");
  229. $("#lic_date").attr("readonly", "true");
  230. $("#lic_nm").attr("readonly", "true");
  231. $("#reg_no").attr("readonly", "true");
  232. $("#isu_charge_nm").attr("readonly", "true");
  233. $("#etc").attr("readonly", "true");
  234. $("#isu_req_hp1").attr("readonly", "true");
  235. $("#isu_req_hp2").attr("readonly", "true");
  236. $("#isu_req_hp3").attr("readonly", "true");
  237. }
  238. if($("#prog_stat_cd").val() == "91")
  239. {
  240. $("#p_return_reson").removeClass();
  241. $("#p_return_reson").attr("readonly", false);
  242. }
  243. else
  244. {
  245. $("#p_return_reson").val();
  246. }
  247. }
  248. else
  249. {
  250. $("#btn_issue_req").css("display", "none");
  251. }
  252. });
  253. function doResult(resultObj) {
  254. try
  255. {
  256. document.form1.isSubmit = false;
  257. if( resultObj.getRequestEvent() == "SAVE_STATUS")
  258. {
  259. if( resultObj.getSuccess() )
  260. {
  261. alert($("#btn_save").text() + " 되었습니다.");
  262. if($(':radio[name="p_reson"]:checked').val() == "91" )
  263. {
  264. location.href="/result/outside/ResultIngList.screen";
  265. }
  266. else
  267. {
  268. location.href="/result/outside/ResultFinishList.screen";
  269. }
  270. }
  271. else
  272. {
  273. // dlgErrorMsg(resultObj.getMessage);
  274. alert(resultObj.getValueObject().get("errMsg"));
  275. }
  276. }else if(resultObj.getRequestEvent() == "SIGN_OK"){
  277. if( resultObj.getSuccess() )
  278. {
  279. alert($("#btn_save").text() + " 되었습니다.");
  280. if($(':radio[name="p_reson"]:checked').val() == "91" )
  281. {
  282. location.href="/result/outside/ResultIngList.screen";
  283. }
  284. else
  285. {
  286. location.href="/result/outside/ResultFinishList.screen";
  287. }
  288. }
  289. else
  290. {
  291. alert("실패하였습니다.");
  292. //alert(resultObj.getValueObject().get("errMsg"));
  293. }
  294. }
  295. }
  296. catch(errorObject) {
  297. showErrorDlg("doResult()", errorObject);
  298. }
  299. }
  300. function fMakeItemInfo(){
  301. var sColumDelimiter = "┃";
  302. var sRowDelimiter = "↕";
  303. var sSumDelimiter = "╂";
  304. var sEncDelimiter = "⇔";
  305. var isNull = "NULL";
  306. //해시
  307. var sContHash = "";
  308. var sTemplate = "01";
  309. <%-- var sMainVendcd = "<%=vo.get("isu_vendcd") %>"; --%>
  310. var sMainVendcd = "1234567890"; // 원사업자번호
  311. var issue_no = "<%=vo.get("issue_no") %>";
  312. var reg_no = "<%=vo.get("reg_no") %>";
  313. var prv_trans_amt = "<%=vo.get("prv_trans_amt") %>";
  314. var cur_pay_amt = "<%=vo.get("cur_pay_amt") %>";
  315. var sub_amt = "<%=vo.get("sub_amt") %>";
  316. var cur_pay_namt = "<%=vo.get("cur_pay_namt") %>";
  317. sContHash=issue_no +sColumDelimiter
  318. +reg_no +sColumDelimiter
  319. +prv_trans_amt +sColumDelimiter
  320. +cur_pay_amt +sColumDelimiter
  321. +sub_amt +sColumDelimiter
  322. +cur_pay_namt +sRowDelimiter;
  323. $("#CONT_HASH").val(sContHash);
  324. //if(confirm("서명 하시겠습니까?")){
  325. // SignData();
  326. //}
  327. }
  328. function isEmptyVal( value ) {
  329. if(value.length == 0){
  330. return true;
  331. }
  332. if( value == "" ) {
  333. return true;
  334. }
  335. return false;
  336. }
  337. //-->
  338. </script>
  339. <modular:search id="form1">
  340. <modular:key id="fevent" />
  341. </modular:search>
  342. <form id="form1" name="form1" method="post" modular:type="search">
  343. <INPUT type="hidden" name="fevent" id="fevent" value="" />
  344. <input type="hidden" name="p_page_gubun" id="p_page_gubun" value="<%=params.get("p_page_gubun") %>" />
  345. <input type="hidden" name="p_sub_cont_mod_id" id="p_sub_cont_mod_id" value="<%=vo.get("sub_cont_mod_id") %>" />
  346. <input type="hidden" name="p_acmp_yyyy" id="p_acmp_yyyy" value="<%=vo.get("acmp_yyyy") %>" />
  347. <input type="hidden" name="p_corp_id" id="p_corp_id" value="<%=vo.get("corp_id") %>" />
  348. <input type="hidden" name="p_soc_cd" id="p_soc_cd" value= "<%=params.get("p_soc_cd") %>" />
  349. <input type="hidden" name="sub_cont_mod_id" id="sub_cont_mod_id" value="<%=vo.get("sub_cont_mod_id") %>" />
  350. <input type="hidden" name="acmp_yyyy" id="acmp_yyyy" value="<%=vo.get("acmp_yyyy") %>" />
  351. <input type="hidden" name="corp_id" id="corp_id" value="<%=vo.get("corp_id") %>" />
  352. <input type="hidden" name="soc_cd" id="soc_cd" value= "<%=params.get("p_soc_cd") %>" />
  353. <input type="hidden" name="dept_cd" id="dept_cd" value= "<%=vo.get("dept_cd") %>" />
  354. <input type="hidden" name="dept_nm" id="dept_nm" value= "<%=vo.get("dept_name") %>" />
  355. <input type="hidden" name="isu_vendcd" id="isu_vendcd" value= "<%=vo.get("isu_vendcd") %>" />
  356. <input type="hidden" name="con_amt" id="con_amt" value= "<%=vo.get("con_amt") %>" />
  357. <input type="hidden" name="prog_stat_cd" id="prog_stat_cd" value= "<%=vo.get("prog_stat_cd") %>" />
  358. <input type="hidden" name="p_success_gubun" id="p_success_gubun" value= "<%=params.get("p_success_gubun") %>" />
  359. <input type="hidden" name="p_yyyy" id="p_yyyy" value= "<%=params.get("p_yyyy") %>" />
  360. <input type="hidden" name="p_dept_nm" id="p_dept_nm" value= "<%=params.get("p_dept_nm") %>" />
  361. <input type="hidden" name="p_cont_nm" id="p_cont_nm" value= "<%=params.get("p_cont_nm") %>" />
  362. <input type="hidden" name="p_status" id="p_status" value= "<%=params.get("p_status") %>" />
  363. <input type="hidden" name="CONT_HASH" id="CONT_HASH" value= "" />
  364. <input type="hidden" name="PRV_PAY_AMT_O" id="PRV_PAY_AMT_O" value= "<%=vo.get("PRV_PAY_AMT_O") %>" />
  365. <input type="hidden" name="CUR_PAY_NAMT_O" id="CUR_PAY_NAMT_O" value= "<%=vo.get("CUR_PAY_NAMT_O") %>" />
  366. <div align="left" id="title" style="float: left;">
  367. <ul>
  368. <li>실적증명 상세(<%=vo.get("PROG_STAT_NM").equals("") ? "작성대상" : vo.get("PROG_STAT_NM")%>)</li>
  369. </ul>
  370. </div>
  371. <div style="float: right; margin-top: 16px;">
  372. <span class="btnSearch center"><a href="javascript:void(0);" id="btn_list">목록</a></span>
  373. <span class="btnSearch center" id="btn_preview_area"><a href="javascript:void(0);" id="btn_preview">미리보기</a></span>
  374. <span class="btnSearch center" id="btn_save_area"><a href="javascript:void(0);" id="btn_save">승인</a></span>
  375. <span class="btnSearch center"><a href="javascript:void(0);" id="btn_delete">반려</a></span>
  376. </div>
  377. <div style="float: left;" class="application-info magT10">
  378. <div class="application-sub-title">
  379. <span class="title">진행상태</span>
  380. </div>
  381. <div class="application-location">
  382. </div>
  383. </div>
  384. <table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%" class=form-table>
  385. <colgroup>
  386. <col width="15%" />
  387. <col width="*%" />
  388. </colgroup>
  389. <tr>
  390. <th style="text-align: left; width: 100px;" >발급 승인여부</th>
  391. <td style="text-align: left;" colspan="3">
  392. <span><input type="radio" name="p_reson" id="p_reson1" value="30" <%=vo.get("prog_stat_cd").equals("30") ? "checked=\"checked\"" : "" %> /> 승인</span>
  393. <span style="margin-left: 50px;"><input type="radio" name="p_reson" id="p_reson2" value="91" <%=vo.get("prog_stat_cd").equals("91") ? "checked=\"checked\"" : "" %> /> 반려</span>
  394. </td>
  395. </tr>
  396. <tr id="reson_area">
  397. <th style="text-align: left;">반려사유</th>
  398. <td colspan="3">
  399. <textarea name="p_return_reson" id="p_return_reson" rows="5" style="width: 100%;" ><%=vo.get("return_reson") %></textarea>
  400. </td>
  401. </tr>
  402. </table>
  403. <!-- 기성실적증명서 정보 -->
  404. <div style="float: left;" class="application-info magT10">
  405. <div class="application-sub-title">
  406. <span class="title">기성실적증명서 정보</span>
  407. </div>
  408. <div class="application-location">
  409. </div>
  410. </div>
  411. <table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%" class=form-table>
  412. <colgroup>
  413. <col width="15%" />
  414. <col width="35%" />
  415. <col width="15%" />
  416. <col width="35%" />
  417. </colgroup>
  418. <!-- 검색조건 영역, 테이터 영역 구분 여백 : 시작 -->
  419. <tr>
  420. <th style="text-align: left;">발 급 협 회</th>
  421. <td>
  422. 한국정보통신공사협회
  423. </td>
  424. <th style="text-align: left;">일 련 번 호</th>
  425. <td>
  426. <input type="text" name="issue_no" id="issue_no" value="<%=vo.get("issue_no") %>" />
  427. </td>
  428. </tr>
  429. </table>
  430. <!-- 신청인 -->
  431. <div style="float: left;" class="application-info magT10">
  432. <div class="application-sub-title">
  433. <span class="title">신청인</span>
  434. </div>
  435. <div class="application-location">
  436. </div>
  437. </div>
  438. <table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%" class=form-table>
  439. <colgroup>
  440. <col width="15%" />
  441. <col width="35%" />
  442. <col width="15%" />
  443. <col width="35%" />
  444. </colgroup>
  445. <!-- 검색조건 영역, 테이터 영역 구분 여백 : 시작 -->
  446. <tr>
  447. <th style="text-align: left;">상 호</th>
  448. <td>
  449. <input type="text" name="isu_vendnm" id="isu_vendnm" value="<%=vo.get("ISU_VENDNM") %>" class="bg_gry input_blank" readonly="readonly"/>
  450. </td>
  451. <th style="text-align: left;">면허번호</th>
  452. <td>
  453. <input type="text" name="reg_no" id="reg_no" value="<%=vo.get("reg_no") %>" style="width: 100%;" />
  454. </td>
  455. </tr>
  456. <tr>
  457. <th style="text-align: left;">대표자</th>
  458. <td>
  459. <input type="text" name="isu_pres_nm" id="isu_pres_nm" value="<%=vo.get("isu_pres_nm") %>" class="bg_gry input_blank" readonly="readonly"/>
  460. </td>
  461. <th style="text-align: left;">전화번호</th>
  462. <td>
  463. <input type="text" name="isu_phone" id="isu_phone" value="<%=vo.get("isu_phone") %>" class="bg_gry input_blank" readonly="readonly"/>
  464. </td>
  465. </tr>
  466. <tr>
  467. <th style="text-align: left;">영업소 소재지</th>
  468. <td colspan="3">
  469. <input type="text" name="isu_addr" id="isu_addr" value="<%=vo.get("ISU_ADDR") %>" class="bg_gry input_blank" readonly="readonly"/>
  470. </td>
  471. </tr>
  472. </table>
  473. <!-- 공사내역 -->
  474. <div style="float: left;" class="application-info magT10">
  475. <div class="application-sub-title">
  476. <span class="title">공사내역</span>
  477. </div>
  478. <div class="application-location">
  479. </div>
  480. </div>
  481. <table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%" class=form-table>
  482. <colgroup>
  483. <col width="15%" />
  484. <col width="35%" />
  485. <col width="15%" />
  486. <col width="35%" />
  487. </colgroup>
  488. <!-- 검색조건 영역, 테이터 영역 구분 여백 : 시작 -->
  489. <tr>
  490. <th style="text-align: left;">공사명</th>
  491. <td colspan="3">
  492. <input type="text" name="cont_nm" id="cont_nm" value="<%=vo.get("cont_nm") %>" class="bg_gry input_blank" readonly="readonly"/>
  493. </td>
  494. </tr>
  495. <tr>
  496. <th style="text-align: left;">계약연월</th>
  497. <td colspan="3">
  498. <input type="text" name="cont_cdate" id="cont_cdate" value="<%=vo.get("cont_cdate") %>" class="bg_gry input_blank" readonly="readonly" style="width: 80px;"/>
  499. <!-- <img alt="달력" id="cont_cdate_img" name="date_img" src="/img/buyer/icon/icon_calendar.gif" style="vertical-align: middle; cursor: pointer;"/> -->
  500. </td>
  501. </tr>
  502. <tr>
  503. <th style="text-align: left;">착공연월</th>
  504. <td>
  505. <input type="text" name="cont_sdate" id="cont_sdate" value="<%=vo.get("cont_sdate") %>" class="bg_gry input_blank" readonly="readonly" style="width: 80px;" />
  506. <!-- <img alt="달력" id="cont_sdate_img" name="date_img" src="/img/buyer/icon/icon_calendar.gif" style="vertical-align: middle; cursor: pointer;"/> -->
  507. </td>
  508. <th style="text-align: left;">준공연월</th>
  509. <td>
  510. <input type="text" name="cont_edate" id="cont_edate" value="<%=vo.get("cont_edate") %>" class="bg_gry input_blank" readonly="readonly" style="width: 80px;" />
  511. </td>
  512. </tr>
  513. <tr>
  514. <th style="text-align: left;">계약금액(총계약금액)</th>
  515. <td>
  516. <input type="text" name="cont_tamt" id="cont_tamt" value="<%=vo.get("cont_tamt") %>" style="text-align: right; width: 200px;" numberOnly="true" class="numberic bg_gry input_blank" readonly="readonly"/> 천원
  517. (<input type="text" name="cont_tamt_o" id="cont_tamt_o" value="<%=vo.get("cont_tamt_O") %>" style="text-align: right; width: 70px;" class="numberic bg_gry input_blank" readonly="readonly" /> )
  518. </td>
  519. <th style="text-align: left;">전년도 이월공사행</th>
  520. <td>
  521. <input type="text" name="prv_trans_amt" id="prv_trans_amt" value="<%=vo.get("prv_trans_amt") %>" style="text-align: right; width: 200px;" numberOnly="true" class="numberic bg_gry input_blank" readonly="readonly"/> 천원
  522. </td>
  523. </tr>
  524. <tr>
  525. <th style="text-align: left;">당년도 계약액</th>
  526. <td>
  527. <input type="text" name="cur_cont_amt" id="cur_cont_amt" value="<%=vo.get("cur_cont_amt") %>" style="text-align: right; width: 200px;" numberOnly="true" class="numberic bg_gry input_blank" readonly="readonly"/> 천원
  528. </td>
  529. <th style="text-align: left;">당년도 기성액(총기성액)</th>
  530. <td>
  531. <input type="text" name="cur_pay_amt" id="cur_pay_amt" value="<%=vo.get("cur_pay_amt") %>" style="text-align: right; width: 200px;" numberOnly="true" class="numberic bg_gry input_blank" readonly="readonly"/> 천원
  532. (<input type="text" name="cur_pay_amt_o" id="cur_pay_amt_o" value="<%=vo.get("cur_pay_amt_O") %>" style="text-align: right; width: 70px;" class="numberic bg_gry input_blank" readonly="readonly" /> )
  533. </td>
  534. </tr>
  535. <tr>
  536. <th style="text-align: left;">하도급금액</th>
  537. <td>
  538. <input type="text" name="sub_amt" id="sub_amt" value="<%=vo.get("sub_amt") %>" style="text-align: right; width: 200px;" numberOnly="true" class="numberic" /> 천원
  539. </td>
  540. <th style="text-align: left;">당년도 미기성액</th>
  541. <td>
  542. <input type="text" name="cur_pay_namt" id="cur_pay_namt" value="<%=vo.get("cur_pay_namt") %>" style="text-align: right; width: 200px;" numberOnly="true" class="numberic bg_gry input_blank" readonly="readonly"/> 천원
  543. </td>
  544. </tr>
  545. </table>
  546. <div id="sheetDiv" style="visibility: hidden;">
  547. <script>createIBSheet("sheet1","100%", "0px;");</script>
  548. </div>
  549. <!-- 공사내역 -->
  550. <div style="float: left;" class="application-info magT10">
  551. <div class="application-sub-title">
  552. <span class="title">발급요청자 정보</span>
  553. </div>
  554. <div class="application-location">
  555. </div>
  556. </div>
  557. <table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%" class=form-table>
  558. <colgroup>
  559. <col width="15%" />
  560. <col width="*" />
  561. </colgroup>
  562. <!-- 검색조건 영역, 테이터 영역 구분 여백 : 시작 -->
  563. <tr>
  564. <th style="text-align: left;">담당자명</th>
  565. <td>
  566. <input type="text" name="isu_charge_nm" id="isu_charge_nm" value="<%=vo.get("isu_charge_nm") %>" />
  567. </td>
  568. <th style="text-align: left;">휴대전화</th>
  569. <td>
  570. <input type="text" name="isu_req_hp1" id="isu_req_hp1" value="<%=vo.get("isu_req_hp1") %>" style="width: 80px;" maxlength="3" number="true"/> -
  571. <input type="text" name="isu_req_hp2" id="isu_req_hp2" value="<%=vo.get("isu_req_hp2") %>" style="width: 120px;" maxlength="4" number="true"/> -
  572. <input type="text" name="isu_req_hp3" id="isu_req_hp3" value="<%=vo.get("isu_req_hp3") %>" style="width: 120px;" maxlength="4" number="true"/>
  573. </td>
  574. </tr>
  575. </table>
  576. <%if(vo.get("prog_stat_cd").equals("30")){ %>
  577. <div id="file_area" style="width: 100%;">
  578. <!-- 공사내역 -->
  579. <div style="float: left;" class="application-info magT10">
  580. <div class="application-sub-title">
  581. <span class="title">첨부파일</span>
  582. </div>
  583. <div class="application-location">
  584. </div>
  585. </div>
  586. <table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%" class=form-table>
  587. <colgroup>
  588. <col width="15%" />
  589. <col width="*" />
  590. </colgroup>
  591. <!-- 검색조건 영역, 테이터 영역 구분 여백 : 시작 -->
  592. <tr>
  593. <th style="text-align: left;">첨부파일</th>
  594. <td colspan="3">
  595. <div id="auto_attach_file_view" class="attach_file_view">
  596. <ul>
  597. <%
  598. for(int i=0; i<fileRowSet.size(); i++)
  599. {
  600. %>
  601. <li>
  602. <a href="/common/file/FileDownloadServlet?mode=fpDown&filePath=<%=fileRowSet.getRow(i).get("FILE_PATH")%>&fileName=<%=URLEncoder.encode(fileRowSet.getRow(i).get("FILE_NAME"), "UTF-8")%>&fileRealName=<%=fileRowSet.getRow(i).get("REAL_FILE_NAME")%>"><%=i+1%> : <%=fileRowSet.getRow(i).get("FILE_NAME")%> (<%=fileRowSet.getRow(i).get("FILE_SIZE").trim() %>)</a>
  603. </li>
  604. <%
  605. }
  606. %>
  607. </ul>
  608. </div>
  609. </td>
  610. </tr>
  611. </table>
  612. </div>
  613. <%} %>
  614. </form>