BidPlanSign.jsp 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  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. String gwurl = "https://gw.sgcenc.co.kr/";//WAFConfig.get("gw.url.address2");
  31. %>
  32. <br>
  33. <TABLE width="709" border="0" cellspacing="0" cellpadding="0">
  34. <tbody>
  35. <TR>
  36. <TD>
  37. <TABLE width="709" cellspacing="0" cellpadding="1" bordercolordark="#FFFFFF" bordercolorlight="#AEAFAF" border="1">
  38. <COLGROUP>
  39. <COL width="50">
  40. <COL width="50">
  41. <COL width="35%">
  42. <COL width="110">
  43. <COL/>
  44. </COLGROUP>
  45. <tr>
  46. <td class="list_title4" nowrap colspan="2">의뢰부서</td>
  47. <td class="list_data" nowrap align="Left" >&nbsp;<%=BidMaster.get("REQ_DEPT_NM")%></td>
  48. <td class="list_title3" nowrap>작성일</td>
  49. <td class="list_data" nowrap align="Left">&nbsp;<%=BidMaster.get("CRE_DT")%></td>
  50. </tr>
  51. <tr>
  52. <td class="list_title3" nowrap colspan="2" >작성자</td>
  53. <td class="list_data" nowrap align="Left">&nbsp;<%=BidMaster.get("CRE_NAME")%></td>
  54. <td class="list_title4" nowrap >사업주명</td>
  55. <td class="list_data" nowrap align="Left">&nbsp;<%=BidMaster.get("DEALER_NM")%></td>
  56. </tr>
  57. <tr>
  58. <td class="list_title" nowrap colspan="2" >PROJECT명</td>
  59. <td class="list_data" nowrap align="Left">&nbsp;<%=BidMaster.get("DEPT_NM")%></td>
  60. <td class="list_title4" nowrap >현장위치</td>
  61. <td class="list_data" nowrap align="Left">&nbsp;<%=BidMaster.get("DELI_END_PLACE")%></td>
  62. </tr>
  63. <tr height="23" >
  64. <td class="list_title6" nowrap colspan="2">발주의뢰번호</td>
  65. <td class="list_data" nowrap align="Left">&nbsp;
  66. <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>
  67. <%-- <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"> --%>
  68. </td>
  69. <td class="list_title4" nowrap>입찰방식</td>
  70. <td class="list_data" nowrap align="Left">&nbsp;&nbsp;<%=BidMaster.get("BID_TYPE")%></td>
  71. </tr>
  72. <tr height="23">
  73. <td class="list_title3" nowrap colspan="2">입찰명</td>
  74. <td class="list_data" nowrap align="Left" >&nbsp;<%=BidMaster.get("BID_MASTER_NM")%></td>
  75. <td class="list_title7" nowrap>시행결의요청일</td>
  76. <td class="list_data" nowrap align="Left" >&nbsp;<%=BidMaster.get("CONT_APP_REQ_DATE")%></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_title7" nowrap colspan="2">입찰설명 예정일</td>
  86. <td class="list_data" nowrap align="Left" >&nbsp;<%=BidMaster.get("SITEDESCDATE")%></td>
  87. <td class="list_title6" nowrap>입찰설명 장소</td>
  88. <td class="list_data" nowrap align="Left">&nbsp;<%=BidMaster.get("SITEDESCPLACE")%></td>
  89. </tr>
  90. <tr height="23">
  91. <td class="list_title5" nowrap colspan="2">입찰마감일</td>
  92. <td class="list_data" nowrap align="Left" colspan="3">&nbsp;<%=BidMaster.get("BID_TO_DT")%></td>
  93. </tr>
  94. <tr height="23" >
  95. <td class="list_title4" nowrap colspan="2">납품일자</td>
  96. <td class="list_data" nowrap align="Left">&nbsp;<%=BidMaster.get("DELI_TO_DY")%></td>
  97. <td class="list_title4" nowrap >납품조건</td>
  98. <td class="list_data" nowrap align="Left">&nbsp;<%=BidMaster.get("DELIVERY_CONDITION_NM")%></td>
  99. </tr>
  100. <tr height="23" >
  101. <td class="list_title" nowrap rowspan="3">지 불<br>조 건</td>
  102. <td class="list_title" nowrap >선급금</td>
  103. <td class="list_data" nowrap align="Left" colspan="3">&nbsp;<%=BidMaster.get("FIRST_AMT")%></td>
  104. </tr>
  105. <tr height="23" >
  106. <td class="list_title" nowrap >중도금</td>
  107. <td class="list_data" nowrap align="Left" colspan="3">&nbsp;<%=BidMaster.get("MID_AMT")%></td>
  108. </tr>
  109. <tr height="23" >
  110. <td class="list_title" nowrap >잔금</td>
  111. <td class="list_data" nowrap align="Left" colspan="3">&nbsp;<%=BidMaster.get("REST_AMT")%></td>
  112. </tr>
  113. <%if(!"01".equals(BidMaster.get("CMPT_CD"))){ %>
  114. <BR/>
  115. <TABLE border=0 cellSpacing=0 cellPadding=0 width=709>
  116. <tr>
  117. <td height="30px">
  118. <b style="font-size:10pt">* 입찰대상업체</b>
  119. </td>
  120. </tr>
  121. </table>
  122. <TABLE width="100%" cellspacing="0" cellpadding="0" bordercolordark="#FFFFFF" bordercolorlight="#AEAFAF" border="1">
  123. <COLGROUP>
  124. <COL width="15%">
  125. <COL width="20%">
  126. <COL width="10%">
  127. <COL width="25%">
  128. <COL/>
  129. </COLGROUP>
  130. <tr height="23" >
  131. <td class="list_title_2" nowrap >추천부서</td>
  132. <td class="list_title_2" nowrap >입찰업체명</td>
  133. <td class="list_title_2" nowrap >신용평가<br>등급</td>
  134. <td class="list_title_2" nowrap >추천사유</td>
  135. <td class="list_title_2" nowrap >당사 거래실적</td>
  136. </tr>
  137. <% if(suppinfo.size() > 0){
  138. for(int i=0; i < suppinfo.size();i++){ %>
  139. <tr height="23">
  140. <td class="list_data_small" nowrap >&nbsp;<%=suppinfo.getRow(i).get("RECM_DEPT_NM")%></td>
  141. <td class="list_data_small" nowrap align="Left">&nbsp;<%=suppinfo.getRow(i).get("VENDOR_NAME")%></td>
  142. <td class="list_data_small" nowrap align="Center">&nbsp;<%=suppinfo.getRow(i).get("CREDIT_GRADE")%></td>
  143. <td class="list_data_small" nowrap align="Left">&nbsp;<%=suppinfo.getRow(i).get("RECOMMEND_REASON")%></td>
  144. <% if(suppinfo.getRow(i).get("CST_DOC_NAME").length() > 30){%>
  145. <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>
  146. <%}else{%>
  147. <td class="list_data_small" nowrap align="Left">&nbsp;<%=suppinfo.getRow(i).get("CST_DOC_NAME")%></td>
  148. <%} %>
  149. </tr>
  150. <%}//for end
  151. }//if End
  152. %>
  153. </TABLE>
  154. <%
  155. }//if end
  156. %>
  157. <br/>
  158. <TABLE width="100%" cellspacing="0" cellpadding="0" bordercolordark="#FFFFFF" bordercolorlight="#AEAFAF" border="1">
  159. <COLGROUP>
  160. <COL width="100"/>
  161. <COL width="100"/>
  162. <COL>
  163. </COLGROUP>
  164. <tr>
  165. <td class="list_title" rowspan="4">내부</td>
  166. <td class="list_title">주요발주내용</td>
  167. <td class="list_data" align="Left"><%=StringUtils.cvtHTML(BidMaster.get("MAIN_PR_CONTENTS"))%>&nbsp;</td>
  168. </tr>
  169. <tr>
  170. <td class="list_title">입찰업체선정사유</td>
  171. <td class="list_data" align="Left"><%=StringUtils.cvtHTML(BidMaster.get("BID_SUPP_SELECT_REASON"))%>&nbsp;</td>
  172. </tr>
  173. <tr>
  174. <td class="list_title">특기사항</td>
  175. <td class="list_data" align="Left"><%=StringUtils.cvtHTML(BidMaster.get("INNER_REMARKS"))%>&nbsp;</td>
  176. </tr>
  177. <tr>
  178. <td class="list_title">첨부서류</td>
  179. <td class="list_data" align="Left">
  180. <div>
  181. <!-- 첨부 파일 화면에 바로보일때 사용 -->
  182. <%
  183. String textDocEtcIn = FileManager.getFileListForSpan(BidMaster.get("DOC_ETC_IN"), BidMaster.get("DEMANDED_ID"));
  184. if(textDocEtcIn.length() == 11){
  185. %>
  186. &nbsp;
  187. <%}else{%>
  188. <%=textDocEtcIn%>
  189. <%}%>
  190. </div>
  191. </td>
  192. </tr>
  193. </TABLE>
  194. </TD>
  195. </TR>
  196. </tbody>
  197. </TABLE>
  198. <br>
  199. <table><tr><td style="display:none;" id=doctitle_1 class=FIELD><%=BidMaster.get("doctitle")%></td></tr></table>
  200. <br>