ReBidSign.jsp 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  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 = "http://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="100">
  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" style="maring-left:1px">작성자</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_title" nowrap colspan="2" STYLE="LETTER-SPACING:2PX">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. <%
  66. String sObcContYypeNm = "";
  67. if(BidMaster.get("OBC_CONT_TYPE_CD").equals("01"))
  68. {
  69. sObcContYypeNm = "도면견적";
  70. }else
  71. {
  72. sObcContYypeNm = "BM견적";
  73. }
  74. %>
  75. <tr height="23">
  76. <td class="list_title6" nowrap colspan="2">발주의뢰번호</td>
  77. <td class="list_data" nowrap align="Left">&nbsp;
  78. <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>
  79. <%-- <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"> --%>
  80. </td>
  81. <td class="list_title4" nowrap>입찰방식</td>
  82. <td class="list_data" nowrap align="Left">&nbsp;<%=BidMaster.get("BID_TYPE")%>/<%=sObcContYypeNm%></td>
  83. </tr>
  84. <tr height="23">
  85. <td class="list_title3" nowrap colspan="2">입찰명</td>
  86. <td class="list_data" align="Left" colspan="3" >&nbsp;<%=BidMaster.get("BID_MASTER_NM")%></td>
  87. </tr>
  88. <tr height="23">
  89. <td class="list_title4" nowrap colspan="2">실행예산</td>
  90. <td class="list_data" nowrap align="right">&nbsp;<%=Formatter2.currency(BidMaster.get("ACT_AMT"),0)%>&nbsp;</td>
  91. <td class="list_title4" nowrap>외주예산</td><!-- 2015.3.2 외주예산추가 MKLEE -->
  92. <td class="list_data" nowrap align="right">&nbsp;<%=Formatter2.currency(BidMaster.get("PUR_AMT"),0)%>&nbsp;</td>
  93. </tr>
  94. <tr height="23">
  95. <td class="list_title7" nowrap colspan="2">입찰설명 예정일</td>
  96. <td class="list_data" nowrap align="Left">&nbsp;<%=BidMaster.get("SITEDESCDATE")%></td>
  97. <td class="list_title6" nowrap>입찰설명 장소</td>
  98. <td class="list_data" nowrap align="Left">&nbsp;<%=BidMaster.get("SITEDESCPLACE")%></td>
  99. </tr>
  100. <tr height="23">
  101. <td class="list_title4" nowrap colspan="2">계약기간</td>
  102. <td class="list_data" nowrap align="Left">&nbsp;<%if(!BidMaster.get("DELI_FROM_DY").isEmpty()){%><%=BidMaster.get("DELI_FROM_DY")%> ~<%} %> <%=BidMaster.get("DELI_TO_DY")%></td>
  103. <td class="list_title5" nowrap>입찰마감일</td>
  104. <td class="list_data" nowrap align="Left">&nbsp;<%=BidMaster.get("BID_TO_DT")%></td>
  105. </tr>
  106. <tr height="23">
  107. <td class="list_title" nowrap rowspan="3">지 불<br>조 건</td>
  108. <td class="list_title" nowrap>선급금</td>
  109. <td class="list_data" nowrap align="Left" colspan="3"><%if(!BidMaster.get("OBC_FRST_CONT_RATE").isEmpty()){%>&nbsp;계약금액의 <%=BidMaster.get("OBC_FRST_CONT_RATE")%>%<%} %></td>
  110. </tr>
  111. <tr height="23">
  112. <td class="list_title" nowrap>기성금</td>
  113. <td class="list_data" nowrap align="Left" colspan="3"><%if(!BidMaster.get("CPC_MID_RATE").isEmpty()){%>&nbsp;계약금액의 <%=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>
  114. </tr>
  115. <tr height="23">
  116. <td class="list_title" nowrap>준공금</td>
  117. <td class="list_data" nowrap align="Left" colspan="3"><%if(!BidMaster.get("PBC_REST_RATE").isEmpty()){%>&nbsp;계약금액의 <%=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>
  118. </tr>
  119. </TABLE>
  120. <BR/>
  121. <TABLE border=0 cellSpacing=0 cellPadding=0 width=709>
  122. <tr>
  123. <td height="30px">
  124. <b style="font-size:10pt">* 입찰대상업체 및 전회 입찰결과</b>
  125. </td>
  126. </tr>
  127. </table>
  128. <TABLE width="709" cellspacing="0" cellpadding="0" bordercolordark="#FFFFFF" bordercolorlight="#AEAFAF" border="1">
  129. <COLGROUP>
  130. <COL width="60">
  131. <COL width="120">
  132. <COL width="80">
  133. <COL width="60">
  134. <COL width="150">
  135. <COL width="*">
  136. <COL/>
  137. </COLGROUP>
  138. <tr height="50px">
  139. <td class="list_title_2" nowrap>추천부서</td>
  140. <td class="list_title_2" nowrap>입찰업체명</td>
  141. <td class="list_title_2" nowrap >전회 입찰금액</td>
  142. <td class="list_title_2" nowrap >외주예산/<br>입찰가율</td>
  143. <td class="list_title_2" nowrap>당사 거래실적</td>
  144. </tr>
  145. <% if(suppinfo.size() > 0){
  146. String sCreditGrade = "";
  147. String sCstDocName = "";
  148. for(int i=0; i < suppinfo.size();i++){ %>
  149. <tr height="23">
  150. <td class="list_data_small" nowrap>&nbsp;<%=suppinfo.getRow(i).get("RECM_DEPT_NM")%></td>
  151. <td class="list_data_small" nowrap align="Left">&nbsp;<%=suppinfo.getRow(i).get("VENDOR_NAME")%></td>
  152. <td class="list_data_small" nowrap align="right">&nbsp;<%=suppinfo.getRow(i).get("BE_ESTI_TOT_AMT")%></td>
  153. <td class="list_data_small" nowrap align="center">&nbsp;<%=suppinfo.getRow(i).get("PUR_RATE")%></td>
  154. <% if(suppinfo.getRow(i).get("CST_DOC_NAME").length() > 30){%>
  155. <td class="list_data_small" nowrap align="Left">&nbsp;<%=suppinfo.getRow(i).get("CST_DOC_NAME").substring(0, 30) + ".."%></td>
  156. <%}else{%>
  157. <td class="list_data_small" nowrap align="Left">&nbsp;<%=suppinfo.getRow(i).get("CST_DOC_NAME")%></td>
  158. <%} %>
  159. </tr>
  160. <%}//for end
  161. }//if End
  162. %>
  163. </TABLE>
  164. <br/>
  165. <TABLE width="709" cellspacing="0" cellpadding="0" bordercolordark="#FFFFFF" bordercolorlight="#AEAFAF" border="1">
  166. <COLGROUP>
  167. <COL width="100px"/>
  168. <COL/>
  169. </COLGROUP>
  170. <tr height="23">
  171. <td class="list_title" nowrap>재입찰 사유</td>
  172. <td class="list_data" align="Left" valign="top"><%=StringUtils.cvtHTML(BidMaster.get("REBID_REASON"))%>&nbsp;</td>
  173. </tr>
  174. <tr>
  175. <td class="list_title">기존 입찰계획서</td>
  176. <% if(oldBidSignInfo.size() > 0){%>
  177. <td class="list_data" align="Left">
  178. <div>
  179. <ul style="margin-left:5mm;">
  180. <% for(int i=0; i < oldBidSignInfo.size();i++){ %>
  181. <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>
  182. <% }//for end %>
  183. </ul>
  184. </div>
  185. </td>
  186. <%} else {%>
  187. <td class="list_data" align="Left">&nbsp;</td>
  188. <%} %>
  189. </tr>
  190. </table>
  191. </TD>
  192. </TR>
  193. </tbody>
  194. </TABLE>
  195. <br/>
  196. <table><tr><td style="display:none;" id=doctitle_1 class=FIELD><%=BidMaster.get("doctitle")%></td></tr></table>
  197. <br>