ReBidSign.jsp 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  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 sign_info = storage.getValueObject("SIGN_INFO");
  30. RowSet oldBidSignInfo = null;
  31. oldBidSignInfo = storage.getRowSet("oldBidSignInfo");
  32. String gwurl = "https://gw.sgcenc.co.kr/";//WAFConfig.get("gw.url.address2");
  33. %>
  34. <br>
  35. <TABLE width="709" border="0" cellspacing="0" cellpadding="0">
  36. <tbody>
  37. <TR>
  38. <TD>
  39. <TABLE width="709" cellspacing="0" cellpadding="1" bordercolordark="#FFFFFF" bordercolorlight="#AEAFAF" border="1">
  40. <COLGROUP>
  41. <COL width="50">
  42. <COL width="50">
  43. <COL width="35%">
  44. <COL width="110">
  45. <COL/>
  46. </COLGROUP>
  47. <tr>
  48. <td class="list_title4" nowrap colspan="2">의뢰부서</td>
  49. <td class="list_data" nowrap align="Left" >&nbsp;<%=BidMaster.get("REQ_DEPT_NM")%></td>
  50. <td class="list_title3" nowrap>작성일</td>
  51. <td class="list_data" nowrap align="Left">&nbsp;<%=BidMaster.get("CRE_DT")%></td>
  52. </tr>
  53. <tr>
  54. <td class="list_title3" nowrap colspan="2" >작성자</td>
  55. <td class="list_data" nowrap align="Left">&nbsp;<%=BidMaster.get("CRE_NAME")%></td>
  56. <td class="list_title4" nowrap >사업주명</td>
  57. <td class="list_data" nowrap align="Left">&nbsp;<%=BidMaster.get("DEALER_NM")%></td>
  58. </tr>
  59. <tr>
  60. <td class="list_title7" nowrap colspan="2" >PROJECT명</td>
  61. <td class="list_data" nowrap align="Left">&nbsp;<%=BidMaster.get("DEPT_NM")%></td>
  62. <td class="list_title4" nowrap >현장위치</td>
  63. <td class="list_data" nowrap align="Left">&nbsp;<%=BidMaster.get("DELI_END_PLACE")%></td>
  64. </tr>
  65. <tr height="23" >
  66. <td class="list_title6" nowrap colspan="2">발주의뢰번호</td>
  67. <td class="list_data" nowrap align="Left">&nbsp;
  68. <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>
  69. <%-- <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"> --%>
  70. </td>
  71. <td class="list_title4" nowrap>입찰방식</td>
  72. <td class="list_data" nowrap align="Left">&nbsp;&nbsp;<%=BidMaster.get("BID_TYPE")%></td>
  73. </tr>
  74. <tr height="23">
  75. <td class="list_title3" nowrap colspan="2">입찰명</td>
  76. <td class="list_data" nowrap align="Left" colspan="3" >&nbsp;<%=BidMaster.get("BID_MASTER_NM")%></td>
  77. </tr>
  78. <tr height="23">
  79. <td class="list_title4" nowrap colspan="2">실행예산</td>
  80. <td class="list_data" nowrap align="right">&nbsp;<%=Formatter2.currency(BidMaster.get("ACT_AMT"),0)%>&nbsp;</td>
  81. <td class="list_title5" nowrap>구매예산</td><!-- 구매예산추가 2015.3.2 -->
  82. <td class="list_data" nowrap align="right" >&nbsp;<%=Formatter2.currency(BidMaster.get("PUR_AMT"),0)%>&nbsp;</td>
  83. </tr>
  84. <tr height="23">
  85. <td class="list_title5" nowrap colspan="2">입찰마감일</td>
  86. <td class="list_data" nowrap align="Left" colspan="3">&nbsp;<%=BidMaster.get("BID_TO_DT")%></td>
  87. </tr>
  88. <tr height="23" >
  89. <td class="list_title4" nowrap colspan="2">납품일자</td>
  90. <td class="list_data" nowrap align="Left">&nbsp;<%=BidMaster.get("DELI_TO_DY")%></td>
  91. <td class="list_title4" nowrap >납품조건</td>
  92. <td class="list_data" nowrap align="Left">&nbsp;<%=BidMaster.get("DELIVERY_CONDITION_NM")%></td>
  93. </tr>
  94. <tr height="23" >
  95. <td class="list_title" nowrap rowspan="3">지 불<br>조 건</td>
  96. <td class="list_title" nowrap >선급금</td>
  97. <td class="list_data" nowrap align="Left" colspan="3">&nbsp;<%=BidMaster.get("FIRST_AMT")%></td>
  98. </tr>
  99. <tr height="23" >
  100. <td class="list_title" nowrap >중도금</td>
  101. <td class="list_data" nowrap align="Left" colspan="3">&nbsp;<%=BidMaster.get("MID_AMT")%></td>
  102. </tr>
  103. <tr height="23" >
  104. <td class="list_title" nowrap >잔금</td>
  105. <td class="list_data" nowrap align="Left" colspan="3">&nbsp;<%=BidMaster.get("REST_AMT")%></td>
  106. </tr>
  107. <BR/>
  108. <TABLE border=0 cellSpacing=0 cellPadding=0 width=709>
  109. <tr>
  110. <td height="30px">
  111. <b style="font-size:10pt">* 입찰대상업체 및 전회 입찰결과</b>
  112. </td>
  113. </tr>
  114. </table>
  115. <TABLE width="100%" cellspacing="0" cellpadding="0" bordercolordark="#FFFFFF" bordercolorlight="#AEAFAF" border="1">
  116. <COLGROUP>
  117. <COL width="80">
  118. <COL width="150">
  119. <COL width="80">
  120. <COL width="40">
  121. <COL width="80">
  122. <COL width="*">
  123. <COL/>
  124. </COLGROUP>
  125. <tr height="23" >
  126. <td class="list_title_2" nowrap >추천부서</td>
  127. <td class="list_title_2" nowrap >입찰업체명</td>
  128. <td class="list_title_2" nowrap >전회 입찰금액</td>
  129. <td class="list_title_2" nowrap >화폐</td>
  130. <td class="list_title_2" nowrap >구매예산/<br>입찰가율</td>
  131. <td class="list_title_2" nowrap >당사 거래실적</td>
  132. </tr>
  133. <% if(suppinfo.size() > 0){
  134. for(int i=0; i < suppinfo.size();i++){ %>
  135. <tr height="23">
  136. <td class="list_data_small" nowrap >&nbsp;<%=suppinfo.getRow(i).get("RECM_DEPT_NM")%></td>
  137. <td class="list_data_small" nowrap align="Left">&nbsp;<%=suppinfo.getRow(i).get("VENDOR_NAME")%></td>
  138. <td class="list_data_small" nowrap align="right">&nbsp;<%=suppinfo.getRow(i).get("BE_ESTI_TOT_AMT")%></td>
  139. <td class="list_data_small" nowrap align="center">&nbsp;<%=suppinfo.getRow(i).get("CURRENCY_GB")%></td>
  140. <td class="list_data_small" nowrap align="center">&nbsp;<%=suppinfo.getRow(i).get("PUR_RATE")%></td>
  141. <% if(suppinfo.getRow(i).get("CST_DOC_NAME").length() > 30){%>
  142. <td class="list_data_small" nowrap align="Left" title="<%=suppinfo.getRow(i).get("CST_DOC_NAME")%>">&nbsp;<%=suppinfo.getRow(i).get("CST_DOC_NAME").substring(0, 30) + ".."%></td>
  143. <%}else{%>
  144. <td class="list_data_small" nowrap align="Left">&nbsp;<%=suppinfo.getRow(i).get("CST_DOC_NAME")%></td>
  145. <%} %>
  146. </tr>
  147. <%}//for end
  148. }//if End
  149. %>
  150. </TABLE>
  151. <br/>
  152. <TABLE width="100%" cellspacing="0" cellpadding="0" bordercolordark="#FFFFFF" bordercolorlight="#AEAFAF" border="1">
  153. <COLGROUP>
  154. <COL width="100"/>
  155. <COL>
  156. </COLGROUP>
  157. <tr>
  158. <td class="list_title">재입찰 사유</td>
  159. <td class="list_data" align="Left"><%=StringUtils.cvtHTML(BidMaster.get("REBID_REASON"))%>&nbsp;</td>
  160. </tr>
  161. <tr>
  162. <td class="list_title">기존 입찰계획서</td>
  163. <% if(oldBidSignInfo.size() > 0){%>
  164. <td class="list_data" align="Left">
  165. <div>
  166. <ul style="margin-left:5mm;">
  167. <% for(int i=0; i < oldBidSignInfo.size();i++){ %>
  168. <li><span onclick="doSignFile('<%=oldBidSignInfo.getRow(i).get("doc_id") %>', '<%=oldBidSignInfo.getRow(i).get("year") %>');" class="button" style="color:#4b70fd;text-decoration:underline;"><%=oldBidSignInfo.getRow(i).get("OLD_BID_NO")%></span></li>
  169. <% }//for end %>
  170. </ul>
  171. </div>
  172. </td>
  173. <%} else {%>
  174. <td class="list_data" align="Left">&nbsp;</td>
  175. <%} %>
  176. </tr>
  177. </TABLE>
  178. </TD>
  179. </TR>
  180. </tbody>
  181. </TABLE>
  182. <br>
  183. <table><tr><td style="display:none;" id=doctitle_1 class=FIELD><%=BidMaster.get("doctitle")%></td></tr></table>
  184. <br>