BidPlanSign.jsp 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  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 = "http://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="100">
  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" style="maring-left:1px">작성자</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" STYLE="LETTER-SPACING:2PX">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. <%
  64. String sObcContYypeNm = "";
  65. if(BidMaster.get("OBC_CONT_TYPE_CD").equals("01"))
  66. {
  67. sObcContYypeNm = "도면견적";
  68. }else
  69. {
  70. sObcContYypeNm = "BM견적";
  71. }
  72. %>
  73. <tr height="23">
  74. <td class="list_title6" nowrap colspan="2">발주의뢰번호</td>
  75. <td class="list_data" nowrap align="Left">&nbsp;
  76. <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>
  77. <%-- <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"> --%>
  78. </td>
  79. <td class="list_title4" nowrap>입찰방식</td>
  80. <td class="list_data" nowrap align="Left">&nbsp;<%=BidMaster.get("BID_TYPE")%>/<%=sObcContYypeNm%></td>
  81. </tr>
  82. <tr height="23">
  83. <td class="list_title3" nowrap colspan="2">입찰명</td>
  84. <td class="list_data" align="Left" >&nbsp;<%=BidMaster.get("BID_MASTER_NM")%></td>
  85. <td class="list_title7" nowrap>시행결의요청일</td>
  86. <td class="list_data" align="Left" >&nbsp;<%=BidMaster.get("CONT_APP_REQ_DATE")%></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. <%if(!"01".equals(BidMaster.get("CMPT_CD"))){ %>
  121. <BR/>
  122. <TABLE border=0 cellSpacing=0 cellPadding=0 width=709>
  123. <tr>
  124. <td height="30px">
  125. <b style="font-size:10pt">* 입찰대상업체</b>
  126. </td>
  127. </tr>
  128. </table>
  129. <TABLE width="709" cellspacing="0" cellpadding="0" bordercolordark="#FFFFFF" bordercolorlight="#AEAFAF" border="1">
  130. <COLGROUP>
  131. <COL width="60">
  132. <COL width="120">
  133. <COL width="60">
  134. <COL width="80">
  135. <COL width="150">
  136. <COL width="*">
  137. <COL/>
  138. </COLGROUP>
  139. <tr height="50px">
  140. <td class="list_title_2" nowrap>추천부서</td>
  141. <td class="list_title_2" nowrap>입찰업체명</td>
  142. <!-- <td class="list_title_2" nowrap>담당자명</td>
  143. <td class="list_title_2" nowrap>담당자핸드폰</td> -->
  144. <td class="list_title_2" nowrap>신용평가<br/>등급</td>
  145. <td class="list_title_2" nowrap>당사평가<br/>등급</td>
  146. <td class="list_title_2" nowrap>추천사유</td>
  147. <td class="list_title_2" nowrap>당사 거래실적</td>
  148. </tr>
  149. <% if(suppinfo.size() > 0){
  150. String sCreditGrade = "";
  151. String sCstDocName = "";
  152. for(int i=0; i < suppinfo.size();i++){ %>
  153. <tr height="23">
  154. <td class="list_data_small" nowrap>&nbsp;<%=suppinfo.getRow(i).get("RECM_DEPT_NM")%></td>
  155. <td class="list_data_small" nowrap align="Left">&nbsp;<%=suppinfo.getRow(i).get("VENDOR_NAME")%></td>
  156. <%-- <td class="list_data_small" nowrap><%=suppinfo.getRow(i).get("CHARGE_NAME")%></td>
  157. <td class="list_data_small" nowrap><%=suppinfo.getRow(i).get("CHAGE_HP")%></td> --%>
  158. <%
  159. if(suppinfo.getRow(i).get("CREDIT_GRADE") != null && suppinfo.getRow(i).get("CREDIT_GRADE").length() > 0)
  160. {
  161. sCreditGrade = suppinfo.getRow(i).get("CREDIT_GRADE");
  162. }else
  163. {
  164. sCreditGrade = "N/A";
  165. }
  166. %>
  167. <td class="list_data_small" nowrap align="Center">&nbsp;<%=sCreditGrade%></td>
  168. <td class="list_data_small" nowrap align="Center">&nbsp;<%=suppinfo.getRow(i).get("ITEM_STD")%></td><!-- 당사 평가 등급 -->
  169. <td class="list_data_small" nowrap align="Left">&nbsp;<%=suppinfo.getRow(i).get("RECOMMEND_REASON")%></td>
  170. <%
  171. if(suppinfo.getRow(i).get("VENDOR_NO").equals("4178113681"))
  172. {
  173. sCstDocName = "평택외 다수";
  174. }else
  175. {
  176. sCstDocName = suppinfo.getRow(i).get("CST_DOC_NAME");
  177. }
  178. %>
  179. <td class="list_data_small" nowrap align="Left">&nbsp;<%=sCstDocName%></td>
  180. </tr>
  181. <%}//for end
  182. }//if End
  183. %>
  184. </TABLE>
  185. <%
  186. }//if end
  187. %>
  188. <br/>
  189. <TABLE border=0 cellSpacing=0 cellPadding=0 width=709>
  190. <tr>
  191. <td height="30px">
  192. <b style="font-size:10pt">* 특기사항 및 첨부서류</b>
  193. </td>
  194. </tr>
  195. </table>
  196. <TABLE width="709" cellspacing="0" cellpadding="0" bordercolordark="#FFFFFF" bordercolorlight="#AEAFAF" border="1">
  197. <COLGROUP>
  198. <COL width="100px"/>
  199. <COL width="100px"/>
  200. <COL/>
  201. </COLGROUP>
  202. <tr height="23">
  203. <td class="list_title" rowspan="4">내부 보고</td>
  204. <td class="list_title" nowrap>주요발주내용</td>
  205. <td class="list_data" align="Left" valign="top"><%=StringUtils.cvtHTML(BidMaster.get("MAIN_PR_CONTENTS"))%>&nbsp;</td>
  206. </tr>
  207. <tr height="23">
  208. <td class="list_title" nowrap>입찰업체선정사유</td>
  209. <td class="list_data" align="Left" valign="top"><%=StringUtils.cvtHTML(BidMaster.get("BID_SUPP_SELECT_REASON"))%>&nbsp;</td>
  210. </tr>
  211. <tr height="23">
  212. <td class="list_title" nowrap>특기사항</td>
  213. <td class="list_data" align="Left" valign="top"><%=StringUtils.cvtHTML(BidMaster.get("INNER_REMARKS"))%>&nbsp;</td>
  214. </tr>
  215. <tr>
  216. <td class="list_title" nowrap>첨부서류</td>
  217. <td class="list_data" nowrap align="Left">
  218. <div>
  219. <%
  220. String textDocEtcIn = FileManager.getFileListForSpan(BidMaster.get("DOC_ETC_IN"), BidMaster.get("DEMANDED_ID"));
  221. if(textDocEtcIn.length() == 11){
  222. %>
  223. &nbsp;
  224. <%}else{%>
  225. <%=textDocEtcIn%>
  226. <%}%>
  227. </div>
  228. </td>
  229. </tr>
  230. </table>
  231. </TD>
  232. </TR>
  233. </tbody>
  234. </TABLE>
  235. <br/>
  236. <table><tr><td style="display:none;" id=doctitle_1 class=FIELD><%=BidMaster.get("doctitle")%></td></tr></table>
  237. <br>