ContDeciSign.jsp 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  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. <%@page import="java.net.URLEncoder"%>
  18. <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
  19. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  20. <%
  21. ctx.init(request, response);
  22. String link = ctx.getServerDomain();
  23. HandlerStorage storage = ctx.getHandlerStorage();
  24. ValueObject params = storage.getParams();
  25. WAFMessage wafMessage = WAFMessage.getInstance();
  26. ValueObject ContInfo = storage.getValueObject("ContInfo");
  27. /*계약서식 FILE */
  28. RowSet autofile_list = storage.getRowSet("AUTOFILE_LIST");
  29. String gwurl = "http://gw.sgcenc.co.kr/";
  30. %>
  31. <br>
  32. <TABLE width="709" border="0" cellspacing="0" cellpadding="0">
  33. <tbody>
  34. <TR>
  35. <TD>
  36. <TABLE width="709" cellspacing="0" cellpadding="1" bordercolordark="#FFFFFF" bordercolorlight="#AEAFAF" border="1">
  37. <COLGROUP>
  38. <COL width="70px">
  39. <COL width="70px">
  40. <COL width="214px">
  41. <COL width="140px">
  42. <COL width="215px">
  43. <COL/>
  44. </COLGROUP>
  45. <tr height="23" align="center">
  46. <td class="list_title" nowrap align="Center" colspan="2">작성자</td>
  47. <td class="list_data" nowrap align="Left" >&nbsp;<%=ContInfo.get("USER_NAME")%></td>
  48. <td class="list_title" nowrap align="Center">사업주명</td>
  49. <%
  50. if(ContInfo.get("M_MEMBER_NAME").length() > 18) {
  51. %>
  52. <td class="list_data" nowrap align="left">&nbsp;<%=ContInfo.get("M_MEMBER_NAME").substring(0, 15)+"..." %></td>
  53. <%
  54. } else {
  55. %>
  56. <td class="list_data" nowrap align="left">&nbsp;<%=ContInfo.get("M_MEMBER_NAME")%></td>
  57. <%
  58. }
  59. %>
  60. </tr>
  61. <tr height="23" align="center">
  62. <td class="list_title" nowrap align="Center" colspan="2">계약번호</td>
  63. <td class="list_data" nowrap align="Left">&nbsp;<%=ContInfo.get("ORD_DOC_NO")%></td>
  64. <td class="list_title" nowrap align="Center">PROJECT명</td>
  65. <%
  66. if(ContInfo.get("DEPT_NM").length() > 18) {
  67. %>
  68. <td class="list_data" nowrap align="left">&nbsp;<%=ContInfo.get("DEPT_NM").substring(0, 15)+"..." %></td>
  69. <%
  70. } else {
  71. %>
  72. <td class="list_data" nowrap align="left">&nbsp;<%=ContInfo.get("DEPT_NM")%></td>
  73. <%
  74. }
  75. %>
  76. </tr>
  77. <tr height="23" align="center">
  78. <td class="list_title" nowrap align="Center" colspan="2">계약명</td>
  79. <td class="list_data" nowrap align="Left" colspan="3">&nbsp;<%=ContInfo.get("CST_DOC_NAME")%></td>
  80. </tr>
  81. <tr height="23" align="center">
  82. <td class="list_title" nowrap align="Center" rowspan="2">공급자 </br>정보</td>
  83. <td class="list_title" nowrap align="Center">상호</td>
  84. <td class="list_data" nowrap align="Left" colspan="3">&nbsp;<%=ContInfo.get("S_MEMBER_NAME")%></td>
  85. </tr>
  86. <tr height="23" align="center">
  87. <td class="list_title" align="Center">사업자번호</td>
  88. <td class="list_data" nowrap align="Left" colspan="3" >&nbsp;<%=StringUtils.getBizNo(ContInfo.get("S_VENDCD"))%></td>
  89. </tr>
  90. <tr height="23" align="center">
  91. <td class="list_title" align="Center" colspan="2">계약일자</td>
  92. <td class="list_data" nowrap align="Left" >&nbsp;<%=ContInfo.get("ORD_CON_DATE")%></td>
  93. <td class="list_title" nowrap align="Center">공급가액</td>
  94. <td class="list_data" nowrap align="right">&nbsp;<%=ContInfo.get("ORD_SUPPLY_AMT")%>&nbsp;</td>
  95. </tr>
  96. <tr height="23" align="center">
  97. <td class="list_title" align="Center" colspan="2">부가세</td>
  98. <td class="list_data" nowrap align="right" >&nbsp;<%=ContInfo.get("ORD_SURTAX_AMT")%>&nbsp;</td>
  99. <td class="list_title" nowrap align="Center">계약금액</td>
  100. <td class="list_data" nowrap align="right">&nbsp;<%=ContInfo.get("ORD_AMT")%>&nbsp;</td>
  101. </tr>
  102. <tr height="23" align="center">
  103. <td class="list_title" align="Center" colspan="2">계약서</td>
  104. <td class="list_data" nowrap align="Center" >
  105. <%
  106. if(autofile_list.size()>0){
  107. %>
  108. <IMG src="<%=link %>/img/buyer/button/bt_attach_file.gif" id="bt_attach_file" alt="첨부파일 관리" align="top" valign="top" onClick="getFileList('<%=ContInfo.get("PUR_CONT_MOD_ID")%>');" class="button">
  109. <%
  110. }
  111. %>
  112. </td>
  113. <td class="list_title" nowrap align="Center">시행결의서</td>
  114. <td class="list_data" nowrap align="Center">
  115. <%
  116. if(!"".equals(ContInfo.get("DOC_ID")) ){
  117. %>
  118. <img align="absmiddle" style="cursor: pointer;" src="<%=link %>/img/buyer/button/bt_attach_file.gif" border="0" onclick="viewDraft('<%=ContInfo.get("DOC_ID")%>', '<%=ContInfo.get("year")%>');"/>
  119. <%
  120. }
  121. %>
  122. </td>
  123. </tr>
  124. <tr height="23" align="center">
  125. <td class="list_title" align="Center" colspan="2">첨부서류</td>
  126. <td class="list_data" nowrap align="Center" colspan="3">
  127. <%
  128. RowSet addFile = FileManager.getFileList("PUR_CONT_MOD_ID", ContInfo.get("PUR_CONT_MOD_ID"));
  129. if (addFile.size()>0){
  130. %>
  131. <IMG src="<%=link %>/img/buyer/button/bt_attach_file.gif" id="bt_attach_file" alt="첨부파일 관리" align="top" valign="top" onClick="open_apppend_file('PUR_CONT_MOD_ID', '<%=ContInfo.get("PUR_CONT_MOD_ID")%>');" class="button">
  132. <%
  133. }
  134. %>
  135. </td>
  136. </tr>
  137. </TABLE>
  138. </TD>
  139. </TR>
  140. </tbody>
  141. </TABLE>
  142. <br>
  143. <table><tr><td style="display:none;" id=doctitle_1 class=FIELD><%=ContInfo.get("doctitle")%></td></tr></table>
  144. <br>