BidSuccessSign.jsp 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. <%@page import="monfox.toolkit.snmp.agent.modules.SnmpV2Mib.SysOREntry"%>
  2. <%@ page contentType="text/html; charset=utf-8" %>
  3. <%@ page import="com.udapsoft.waf.system.*"%>
  4. <%@ page import="com.udapsoft.waf.common.ui.*" %>
  5. <%@ page import="com.udapsoft.waf.common.web.*" %>
  6. <%@ page import="kr.co.hsnc.common.sql.*"%>
  7. <%@ page import="kr.co.hsnc.common.util.*"%>
  8. <%@ page import="kr.co.hsnc.common.sql.util.*"%>
  9. <%@ page import="com.udapsoft.waf.system.HandlerStorage"%>
  10. <%@ page import="kr.co.hsnc.common.util.ValueObject"%>
  11. <%@ page import="kr.co.hsnc.common.message.WAFMessage"%>
  12. <%@ page import="kr.co.udapsoft.ebid.buyer.common.file.FileManager"%>
  13. <%@ page import="com.udapsoft.waf.common.util.StringUtils" %>
  14. <%@ page import="kr.co.udapsoft.common.util.PCMSUtil" %>
  15. <%@ page import="kr.co.hsnc.common.util.Formatter"%>
  16. <%@ page import="com.udapsoft.waf.common.util.Formatter2"%>
  17. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  18. <%
  19. ctx.init(request, response);
  20. String link = ctx.getServerDomain();
  21. HandlerStorage storage = ctx.getHandlerStorage();
  22. ValueObject params = storage.getParams();
  23. WAFMessage wafMessage = WAFMessage.getInstance();
  24. ValueObject BidMaster = storage.getValueObject("bidmaster");
  25. RowSet suppinfo = null;
  26. suppinfo = storage.getRowSet("suppinfo");
  27. ValueObject File_in = storage.getValueObject(BidMaster.get("DOC_ETC_IN"));
  28. ValueObject File_out = storage.getValueObject(BidMaster.get("DOC_ETC_OUT"));
  29. ValueObject File_tbe = storage.getValueObject(BidMaster.get("TOT_FILE_GB"));
  30. ValueObject sign_info = storage.getValueObject("SIGN_INFO");
  31. ValueObject sign_info2 = storage.getValueObject("SIGN_INFO2");
  32. RowSet getFileListRowSet = storage.getRowSet("getFileListRowSet");
  33. String gwurl = "https://gw.sgcenc.co.kr/";//WAFConfig.get("gw.url.address2");
  34. %>
  35. <br>
  36. <TABLE width="709" border="0" cellspacing="0" cellpadding="0">
  37. <tbody>
  38. <TR>
  39. <TD align="center">
  40. <TABLE width="700" cellspacing="0" cellpadding="0" bordercolordark="#FFFFFF" bordercolorlight="#AEAFAF" border="1">
  41. <COLGROUP>
  42. <COL width="110"/>
  43. <COL width="100"/>
  44. <COL width="200"/>
  45. <COL width="110"/>
  46. <COL width="200"/>
  47. <COL/>
  48. </COLGROUP>
  49. <tr height="23" align="center">
  50. <td class="list_title4" nowrap align="Center">요청부서</td>
  51. <td class="list_data" nowrap align="Left" colspan="2">&nbsp;<%=BidMaster.get("DEPART_DEPT_NM")%></td>
  52. <td class="list_title3" nowrap align="Center">작성일</td>
  53. <td class="list_data" nowrap align="Left">&nbsp;<%=BidMaster.get("CRE_DT")%></td>
  54. </tr>
  55. <tr height="23" align="center">
  56. <td class="list_title3" nowrap align="Center">작성자</td>
  57. <td class="list_data" nowrap align="Left" colspan="2" >&nbsp;<%=BidMaster.get("CRE_NAME")%></td>
  58. <td class="list_title4" nowrap align="Center">사업주명</td>
  59. <td class="list_data" nowrap align="Left" colspan="2" >&nbsp;<%=BidMaster.get("DEALER_NM")%></td>
  60. </tr>
  61. <tr height="23" align="center">
  62. <td class="list_title7" nowrap align="Center">PROJECT명</td>
  63. <td class="list_data" nowrap align="Left" colspan="2" >&nbsp;<%=BidMaster.get("DEPT_NM")%></td>
  64. <td class="list_title4" nowrap align="Center">현장위치</td>
  65. <td class="list_data" nowrap align="Left" colspan="2" >&nbsp;<%=BidMaster.get("DELIVERY_PLACE")%></td>
  66. </tr>
  67. <tr height="23" align="center">
  68. <td class="list_title4" nowrap align="Center">계약번호</td>
  69. <td class="list_data" nowrap align="Left" colspan="2" >&nbsp;<%=BidMaster.get("CONF_NO")%></td>
  70. <td class="list_title6" nowrap align="Center">발주의뢰번호</td>
  71. <td class="list_data" nowrap align="Left" colspan="2" >&nbsp;
  72. <span onclick="doSignFile('<%=sign_info.get("doc_id") %>', '<%=sign_info.get("year") %>');" class="button" style="color:#4b70fd;text-decoration:underline;"><%=BidMaster.get("BID_NO")%></span>
  73. <%-- <IMG src="<%=link %>/img/buyer/button/bt_attach_file.gif" id="bt_attach_file" alt="발주의뢰문서" align="top" valign="top" onClick="doSignFile('<%=sign_info.get("doc_id") %>','<%=sign_info.get("year") %>');" class="button"> --%>
  74. </td>
  75. </tr>
  76. <tr height="23" align="center">
  77. <td class="list_title3" nowrap align="Center">계약명</td>
  78. <td class="list_data" nowrap align="Left" colspan="2" >&nbsp;<%=BidMaster.get("BID_MASTER_NM")%></td>
  79. <td class="list_title7" nowrap align="Center">시행결의요청일</td>
  80. <td class="list_data" nowrap align="Left" >&nbsp;<%=BidMaster.get("CONT_APP_REQ_DATE")%></td>
  81. </tr>
  82. <tr height="23" align="center">
  83. <td class="list_title3" nowrap align="Center">계약자</td>
  84. <td class="list_data" nowrap align="Left" colspan="4">&nbsp;<%=BidMaster.get("VENDOR_NAME")%>&nbsp;</td>
  85. </tr>
  86. <tr height="23" align="center">
  87. <%if(!BidMaster.get("CURRENCY_GB").equals("KRW")){ %>
  88. <td class="list_title" nowrap align="Center" rowspan="5">예산집행<br>개요<br>(부가세별도)</td>
  89. <%}else{ %>
  90. <td class="list_title" nowrap align="Center" rowspan="4">예산집행<br>개요<br>(부가세별도)</td>
  91. <%}%>
  92. <td class="list_title4" nowrap align="Center">도급금액</td>
  93. <td class="list_data" nowrap align="left" colspan="3"><table style="width: 99%"><tr><td align="left" class="list_data"><%if(!BidMaster.get("CONT_AMT_NM").isEmpty()){%>일금 <%=BidMaster.get("CONT_AMT_NM")%> 원정<%} %></td><td align="right" class="list_data">(<%=Formatter2.currency(BidMaster.get("CONT_AMT"),0)%>)</td></tr></table></td>
  94. </tr>
  95. <tr height="23" align="center">
  96. <td class="list_title4" nowrap align="Center">실행예산</td>
  97. <td class="list_data" nowrap align="left" colspan="3" ><table style="width: 99%"><tr><td align="left" class="list_data"><%if(!BidMaster.get("ACT_AMT_NM").isEmpty()){%>일금 <%=BidMaster.get("ACT_AMT_NM")%> 원정<%} %></td><td align="right" class="list_data">(<%=Formatter2.currency(BidMaster.get("ACT_AMT"),0)%>)</td></tr></table></td>
  98. </tr>
  99. <tr height="23" align="center">
  100. <td class="list_title4" nowrap align="Center">결의금액</td>
  101. <td class="list_data" nowrap align="left" colspan="3" >
  102. <%if(!BidMaster.get("CURRENCY_GB").equals("KRW")){ %>
  103. <table style="width: 99%"><tr><td align="left" class="list_data"><%if(!BidMaster.get("WON_ESTI_AMT_NM").isEmpty()){%>일금 <%=BidMaster.get("WON_ESTI_AMT_NM")%> 원정<%}%></td><td align="right" class="list_data"><%if(!BidMaster.get("WON_ESTI_TOT_AMT").isEmpty()){ %>(<%=Formatter2.currency(BidMaster.get("WON_ESTI_TOT_AMT"),0)%>)<%} %></td></tr></table>
  104. <%} else {%>
  105. <table style="width: 99%"><tr><td align="left" class="list_data"><%if(!BidMaster.get("ESTI_TOT_AMT_NM").isEmpty()){%>일금 <%=BidMaster.get("ESTI_TOT_AMT_NM")%> 원정<%}%></td><td align="right" class="list_data"><%if(!BidMaster.get("ESTI_TOT_AMT").isEmpty()){ %>(<%=Formatter2.currency(BidMaster.get("ESTI_TOT_AMT"),0)%>)<%} %></td></tr></table>
  106. <%} %>
  107. </td>
  108. </tr>
  109. <%if(!BidMaster.get("CURRENCY_GB").equals("KRW")){ %>
  110. <tr height="23" align="center">
  111. <td class="list_title" nowrap align="Center">결의금액(외화)</td>
  112. <td class="list_data" nowrap align="left" colspan="3" >
  113. <table style="width: 99%"><tr><td align="left" class="list_data"><%if(!BidMaster.get("ESTI_TOT_AMT_NM").isEmpty()){%><%=BidMaster.get("ESTI_TOT_AMT_NM")%> <%=BidMaster.get("CHG_CODE06") %><%} %></td><td align="right" class="list_data"><%if(!BidMaster.get("ESTI_TOT_AMT").isEmpty()){ %>(<%=Formatter2.currency(BidMaster.get("ESTI_TOT_AMT"),0)%>)<%} %></td></tr></table>
  114. </td>
  115. </tr>
  116. <%} %>
  117. <tr height="23" align="center">
  118. <td class="list_title" nowrap align="Center">실행예산대비(%)</td>
  119. <td class="list_data" nowrap align="Center">&nbsp;<%=BidMaster.get("ACT_RATE")%>%</td>
  120. <td class="list_title" nowrap align="Center">실행예산대비절감액</td>
  121. <td class="list_data" nowrap align="right">(<%=Formatter2.currency(BidMaster.get("ACT_SAVINGS"),0)%>)&nbsp;&nbsp;</td>
  122. </tr>
  123. <tr height="23" align="center">
  124. <td class="list_title4" nowrap align="Center" >계약기간</td>
  125. <td class="list_data" nowrap align="Left" colspan="4">&nbsp;<%if(!BidMaster.get("DELI_START_DT").isEmpty()){%><%=BidMaster.get("DELI_START_DT")%> ~<%} %> <%=BidMaster.get("DELI_END_DT")%></td>
  126. </tr>
  127. <%-- <tr height="23" align="center">
  128. <td class="list_title" nowrap align="Center">계 약 범 위</td>
  129. <td class="list_data" nowrap align="Left" colspan="2">&nbsp;<%=BidMaster.get("PAY_DIV")%></td>
  130. <td class="list_title" nowrap align="Center">인 도 조 건</td>
  131. <td class="list_data" nowrap align="Left" colspan="2">&nbsp;<%=BidMaster.get("DELIVERY_CONDITION")%></td>
  132. </tr>--%>
  133. <tr height="23">
  134. <td class="list_title" nowrap align="Center" rowspan="3">지 불<br>조 건</td>
  135. <td class="list_title3" nowrap align="Center">선급금</td>
  136. <td class="list_data" nowrap align="Left" colspan="3">&nbsp;<%if(!BidMaster.get("OBC_FRST_CONT_RATE").isEmpty()){%>계약금액의 <%=BidMaster.get("OBC_FRST_CONT_RATE")%>%<%} %></td>
  137. </tr>
  138. <tr height="23">
  139. <td class="list_title3" nowrap align="Center">기성금</td>
  140. <td class="list_data" nowrap align="Left" colspan="3">&nbsp;<%if(!BidMaster.get("CPC_MID_RATE").isEmpty()){%>계약금액의 <%=BidMaster.get("CPC_MID_RATE")%>% (선급금 포함), <%} %><%if(!BidMaster.get("OBC_MID_PAYDAY").isEmpty()){%><%=BidMaster.get("OBC_MID_PAYDAY") %>일 <%} %><%if(!BidMaster.get("OBC_MID_CASH_RATE").isEmpty()){%>현금 <%=BidMaster.get("OBC_MID_CASH_RATE") %>%<%} %> <%if(!BidMaster.get("OBC_MID_BILL_RATE").isEmpty()){%>,어음 <%=BidMaster.get("OBC_MID_BILL_RATE") %>%<%} %> 지급</td>
  141. </tr>
  142. <tr height="23">
  143. <td class="list_title3" nowrap align="Center">준공금</td>
  144. <td class="list_data" nowrap align="Left" colspan="3">&nbsp;<%if(!BidMaster.get("PBC_REST_RATE").isEmpty()){%>계약금액의 <%=BidMaster.get("PBC_REST_RATE") %>% (선급금 포함), <%} %><%if(!BidMaster.get("OBC_FIN_PAYDAY").isEmpty()){%><%=BidMaster.get("OBC_FIN_PAYDAY") %>일 <%} %><%if(!BidMaster.get("OBC_FIN_CASH_RATE").isEmpty()){%>현금 <%=BidMaster.get("OBC_FIN_CASH_RATE") %>%<%} %> <%if(!BidMaster.get("OBC_FIN_BILL_RATE").isEmpty()){%>,어음 <%=BidMaster.get("OBC_FIN_BILL_RATE")%>%<%} %> 지급</td>
  145. </tr>
  146. <tr height="23" align="center">
  147. <td class="list_title4" nowrap align="Center">보증조건</td>
  148. <td class="list_data" nowrap align="Left" colspan="4">&nbsp;<% if(!BidMaster.get("CBC_FIRST_RATE").isEmpty()){%>선급금 보증 (<%=BidMaster.get("CBC_FIRST_RATE")%>%)<%}%><% if(!BidMaster.get("CONTFUL_RATE").isEmpty()){%>, 이행 보증 (<%=BidMaster.get("CONTFUL_RATE")%>%)<%}%><% if(!BidMaster.get("WARR_RATE").isEmpty()){%>, 하자 보증 (<%=BidMaster.get("WARR_RATE")%>%<% if(!BidMaster.get("CBC_DEFECT_DAY").isEmpty()){%>, 준공 후 <%=BidMaster.get("CBC_DEFECT_DAY")%>개월<%}%>)<%}%></td>
  149. </tr>
  150. <tr height="23" align="center">
  151. <td class="list_title" nowrap align="Center"><font color='yellow'><b>외주 발주진행율 누계</b></font></td>
  152. <td class="list_data" nowrap align="Left" colspan="2"><font color='red' size ='4px'><b>&nbsp;<%=BidMaster.get("PO_PRC")%>%</b></font></td>
  153. <td class="list_title" nowrap align="Center"><font color='yellow'><b>외주 발주실적율 누계</b></font></td>
  154. <td class="list_data" nowrap align="Left"><font color='red' size ='4px'><b>&nbsp;<%=BidMaster.get("RES_PRC")%>%</b></font></td>
  155. </tr>
  156. <tr height="23" align="center">
  157. <td class="list_title6" nowrap align="Center">주요발주내용</td>
  158. <td class="list_data" nowrap align="Left" colspan="4"><%=StringUtils.cvtHTML(BidMaster.get("MAIN_PR_CONTENTS"))%>&nbsp;</td>
  159. </tr>
  160. <tr height="23" align="center">
  161. <td class="list_title6" nowrap align="Center">특기사항</td>
  162. <td class="list_data" nowrap align="Left" colspan="4"><%=StringUtils.cvtHTML(BidMaster.get("INNER_REMARKS"))%>&nbsp;</td>
  163. </tr>
  164. <tr height="60" align="center">
  165. <td class="list_title4" nowrap align="Center">첨부서류</td>
  166. <td class="list_data" nowrap align="Left" colspan="4">
  167. <table style="height: 100%" width="100%" cellspacing="0" cellpadding="0" bordercolordark="#FFFFFF" bordercolorlight="#AEAFAF" border="1">
  168. <%
  169. if(getFileListRowSet.size() > 0){
  170. int i_mod = 0;
  171. for(int i = 0; getFileListRowSet.size() > i; i++){
  172. i_mod = i%4;
  173. if(i_mod == 0){ %>
  174. <TR>
  175. <% } %>
  176. <td width="27%">
  177. <% if(getFileListRowSet.getRow(i).get("DETAILCD").equals("100")) { %>
  178. <input type="checkbox" checked disabled>&nbsp;
  179. <%if(!getFileListRowSet.getRow(i).get("DOC_CD").equals("")){%>
  180. <span class="button list_data" style="color:#4b70fd;text-decoration:underline;" nowrap onclick="open_apppend_file('<%=getFileListRowSet.getRow(i).get("FILE_GB") %>', '<%=getFileListRowSet.getRow(i).get("ID")%>');">
  181. <%=getFileListRowSet.getRow(i).get("DETAILNM") %>
  182. </span>
  183. <%}else{ %>
  184. <span class="button list_data" style="color:#4b70fd;text-decoration:underline;" nowrap onClick="detailRdProc('<%=BidMaster.get("BID_NO")%>', '<%=BidMaster.get("BID_DEG") %>');">
  185. <%=getFileListRowSet.getRow(i).get("DETAILNM") %>
  186. </span>
  187. <%} %>
  188. <%}else if(getFileListRowSet.getRow(i).get("DETAILCD").equals("130")) { %>
  189. <input type="checkbox" <%if(!getFileListRowSet.getRow(i).get("DOC_CD").equals("")){out.print("checked");} %> disabled>&nbsp;
  190. <span <%if(!getFileListRowSet.getRow(i).get("DOC_CD").equals("")){%>class="button list_data" style="color:#4b70fd;text-decoration:underline;" <%}else{%>class="list_data"<%}%> nowrap onClick="openBidAmtPop('<%=BidMaster.get("BID_NO")%>','<%=BidMaster.get("BID_DEG")%>','<%=BidMaster.get("VENDOR_CD")%>','<%=BidMaster.get("VENDOR_NO")%>','<%=BidMaster.get("VENDOR_NAME")%>','<%=BidMaster.get("ESTI_TOT_AMT")%>','<%=BidMaster.get("DEMANDED_ID")%>','<%=BidMaster.get("FILE_GB")%>','<%=BidMaster.get("PointCount")%>');">
  191. <%=getFileListRowSet.getRow(i).get("DETAILNM") %>
  192. </span>
  193. <%}else{ %>
  194. <input type="checkbox" <%if(!getFileListRowSet.getRow(i).get("DOC_CD").equals("")){out.print("checked");} %> disabled>&nbsp;
  195. <span <%if(!getFileListRowSet.getRow(i).get("DOC_CD").equals("")){%>class="button list_data" style="color:#4b70fd;text-decoration:underline;" <%}else{%>class="list_data"<%}%> nowrap onclick="open_apppend_file('<%=getFileListRowSet.getRow(i).get("FILE_GB") %>', '<%=getFileListRowSet.getRow(i).get("ID")%>');">
  196. <%=getFileListRowSet.getRow(i).get("DETAILNM") %>
  197. </span>
  198. <%} %>
  199. </td>
  200. <% if(i_mod == 4) { %>
  201. </TR>
  202. <% } %>
  203. <%
  204. }
  205. for(int i=i_mod+1; i<4; i++){ %>
  206. <td>&nbsp;</td>
  207. <% }
  208. if(i_mod < 4){ %>
  209. </TR>
  210. <% }
  211. }
  212. %>
  213. </table>
  214. </td>
  215. </tr>
  216. </TABLE>
  217. </TD>
  218. </TR>
  219. </tbody>
  220. </TABLE>
  221. <br>
  222. <table><tr><td style="display:none;" id=doctitle_1 class=FIELD><%=BidMaster.get("doctitle")%></td></tr></table>
  223. <br>