ResultChkList.jsp 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  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. <%@ include file="/jsp/work/taglib.jsp" %>
  14. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  15. <%
  16. ctx.init(request, response);
  17. HandlerStorage storage = ctx.getHandlerStorage();
  18. ValueObject params = storage.getParams();
  19. ValueObject user = storage.getUser();
  20. String soc_nm_combo = "선택|대한전문건설협회|대한기계설비공사협회|한국소방시설협회|한국정보통신공사협회|한국전기공사협회";
  21. String soc_code_combo = "|01|02|03|04|05";
  22. %>
  23. <script type="text/javascript">
  24. <!--
  25. /*예약함수*/
  26. var sheet1 = new ibsheetObject();
  27. var sheet1Row;
  28. var sheet1PageNo = 1;
  29. var pageLastRowIndex = 1;
  30. var validationResult = false;
  31. var filterShow = false;
  32. $(document).on("keyup", "input:text", function(e) {
  33. if (e.keyCode == 13)
  34. {
  35. $.searchList();
  36. }
  37. });
  38. $.gridInit = function(sheetName)
  39. {
  40. var init_sheet = {};
  41. init_sheet.Cfg = {SearchMode:2, Page:30, MergeSheet:msHeaderOnly};
  42. init_sheet.Cols = [
  43. {Header:"Status", Type:"Status", SaveName:"STATUS", Width:0, Align:"Center", Edit:"False", Hidden:"True"},
  44. {Header:"기성년도", Type:"Text", SaveName:"ACMP_YYYY", Width:80, Align:"Center", Edit:"False",},
  45. {Header:"상호", Type:"Text", SaveName:"ISU_VENDNM", Width:80, Align:"Left", Edit:"False",},
  46. {Header:"제출협회", Type:"Text", SaveName:"SOC_NM", Width:80, Align:"Center"},
  47. {Header:"계약명", Type:"Text", SaveName:"CONT_NM", Width:80, Align:"Left", Edit:"False",},
  48. {Header:"계약명_원본", Type:"Text", SaveName:"CONT_NM1", Width:80, Align:"Left", Edit:"False",},
  49. {Header:"총계약금액", Type:"Int", SaveName:"CONT_TAMT", Width:80, Align:"Right", Format:"#,##0", Edit:"False",},
  50. {Header:"당년도계약액", Type:"Int", SaveName:"CUR_CONT_AMT", Width:80, Align:"Right", Format:"#,##0", Edit:"False",},
  51. {Header:"당년도기성지급액", Type:"Int", SaveName:"CUR_PAY_SAMT", Width:80, Align:"Right", Format:"#,##0", Edit:"False",},
  52. {Header:"당년도미기성액", Type:"Int", SaveName:"CUR_PAY_NAMT", Width:80, Align:"Right", Format:"#,##0", Edit:"False",},
  53. {Header:"당년도추가계약액", Type:"Int", SaveName:"CUR_PAY_AAMT", Width:80, Align:"Right", Format:"#,##0", Edit:"False",},
  54. {Header:"전년도까지 누계기성액", Type:"Int", SaveName:"PRV_PAY_AMT", Width:80, Align:"Right", Format:"#,##0", Edit:"False",},
  55. {Header:"전년도까지 누계지급액", Type:"Int", SaveName:"PRV_PAY_SAMT", Width:80, Align:"Right", Format:"#,##0", Edit:"False",},
  56. {Header:"전년도까지 미기성액", Type:"Int", SaveName:"PRV_PAY_NAMT", Width:80, Align:"Right", Format:"#,##0", Edit:"False",},
  57. {Header:"전년도까지 이월공사액", Type:"Int", SaveName:"PRV_TRANS_AMT", Width:80, Align:"Right", Format:"#,##0", Edit:"False",},
  58. {Header:"하도급 금액", Type:"Int", SaveName:"SUB_AMT", Width:80, Align:"Right", Format:"#,##0", Edit:"False",},
  59. {Header:"관급자재액", Type:"Int", SaveName:"GOV_MA_AMT", Width:80, Align:"Right", Format:"#,##0", Edit:"False",},
  60. {Header:"계약금액", Type:"Int", SaveName:"CON_AMT", Width:80, Align:"Right", Format:"#,##0", Edit:"False",},
  61. ];
  62. init_sheet.HeaderMode = {Sort:1};
  63. IBS_InitSheet(sheetName, init_sheet);
  64. sheetName.SetDataAutoTrim(0);
  65. sheetName.SetEditable(false);
  66. //sheetName.SetCountPosition(0);
  67. sheetName.FitColWidth();
  68. }
  69. $.searchList = function()
  70. {
  71. $("#fevent").val("GET_DIFF");
  72. var url = Modular.model.PageContext.CONTEXT_ROOT + "/result/outside/ResultIngList_sheet.screen";
  73. Modular.view.IBSheet7.doSearch(sheet1, url, $("#form1"), 30, "");
  74. }
  75. $(document).ready(function(){
  76. $.gridInit(sheet1);
  77. $.searchList();
  78. autoResize();
  79. });
  80. $(function(){
  81. $("#btnSearch").click(function(){
  82. $.searchList();
  83. autoResize();
  84. });
  85. $("#btnChkList").click(function(){
  86. var job_div = "O";
  87. var popUrl = "/result/outside/ResultIngList.screen";
  88. var popOption = "width=800, height=600, resizable=no, scrollbars=yes, status=no;";
  89. window.open(popUrl,"",popOption);
  90. });
  91. });
  92. function sheet1_OnChange(Row, Col, Value, OldValue, RaiseFlag) {
  93. var comboValue = sheet1.GetCellValue(Row,"SOC_CD");
  94. if(comboValue != "" ){
  95. sheet1.SetCellImage(Row ,"REG", "/img/buyer/button/bt_save_item.gif");
  96. return;
  97. }
  98. }
  99. function sheet1_OnDblClick(Row, Col)
  100. {
  101. var comboValue = sheet1.GetCellValue(Row,"SOC_CD");
  102. }
  103. function autoResize(){
  104. var t1_height = document.getElementById("search-table").scrollHeight + document.getElementById("title").scrollHeight + 24;
  105. var iframeHeight= document.body.scrollHeight - t1_height;
  106. var iframeWidth= document.body.scrollWidth;
  107. sheet1.SetSheetHeight(iframeHeight);
  108. }
  109. //-->
  110. </script>
  111. <modular:search id="form1">
  112. <modular:key id="fevent" />
  113. </modular:search>
  114. <form id="form1" name="form1" method="post" modular:type="search">
  115. <INPUT type="hidden" name="fevent" id="fevent" value="" />
  116. <input type="hidden" name="p_corp_id" id="p_corp_id" value="" />
  117. <input type="hidden" name="p_acmp_yyyy" id="p_acmp_yyyy" value="<%=params.get("p_yyyy")%>" />
  118. <input type="hidden" name="p_sub_cont_mod_id" id="p_sub_cont_mod_id" value="" />
  119. <input type="hidden" name="p_page_gubun" id="p_page_gubun" value="info" />
  120. <input type="hidden" name="p_soc_cd" id="p_soc_cd" value="" />
  121. <div align="left" id="title">
  122. <ul>
  123. <li>실적증명 발급현황</li>
  124. </ul>
  125. </div>
  126. <table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%" id="search-table" class="search-form-table">
  127. <colgroup>
  128. <col width="15%" />
  129. <col width="15%" />
  130. <col width="15%" />
  131. <col width="35%" />
  132. <col width="20%" />
  133. </colgroup>
  134. <!-- 검색조건 영역, 테이터 영역 구분 여백 : 시작 -->
  135. <tr>
  136. <th>기성년도</th>
  137. <td>
  138. <input type="text" name="p_yyyy" id="p_yyyy" value="<%=params.get("p_yyyy") %>" />
  139. </td>
  140. <th>업체명</th>
  141. <td>
  142. <input type="text" name="p_supp_nm" id="p_supp_nm" value="<%=params.get("p_supp_nm") %>" />
  143. </td>
  144. <td class="button" >
  145. <span class="btnSearch center"><a href="javascript:void(0);" id="btnSearch">검색</a></span>
  146. </td>
  147. </tr>
  148. </table>
  149. <!-- 시트 -->
  150. <div id="sheet1_div" style="padding-top:5px; height: 400px">
  151. <script>createIBSheet("sheet1","100%", "400px");</script>
  152. </div>
  153. </form>