ContSign.jsp 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  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. <%
  20. ctx.init(request, response);
  21. String link = ctx.getServerDomain();
  22. HandlerStorage storage = ctx.getHandlerStorage();
  23. ValueObject params = storage.getParams();
  24. WAFMessage wafMessage = WAFMessage.getInstance();
  25. ValueObject ContInfo = storage.getValueObject("ContInfo");
  26. /*계약서식 FILE */
  27. RowSet autofile_list = storage.getRowSet("AUTOFILE_LIST");
  28. %>
  29. <br>
  30. <TABLE width="709" border="0" cellspacing="0" cellpadding="0">
  31. <tbody>
  32. <TR>
  33. <TD align="center">
  34. <TABLE width="709" cellspacing="0" cellpadding="1" bordercolordark="#FFFFFF" bordercolorlight="#AEAFAF" border="1">
  35. <COLGROUP>
  36. <COL width="100">
  37. <COL width="254px">
  38. <COL width="100px">
  39. <COL width="255px">
  40. <COL/>
  41. </COLGROUP>
  42. <tr height="23" align="center">
  43. <td class="list_title4" nowrap align="Center">요청부서</td>
  44. <td class="list_data" nowrap align="Left" >&nbsp;<%=ContInfo.get("DEPART_DEPT_NM")%></td>
  45. <td class="list_title3" nowrap align="Center">작성일</td>
  46. <td class="list_data" nowrap align="Left">&nbsp;<%=ContInfo.get("CRE_DATE")%></td>
  47. </tr>
  48. <tr height="23" align="center">
  49. <td class="list_title3" nowrap align="Center">작성자</td>
  50. <td class="list_data" nowrap align="Left">&nbsp;<%=ContInfo.get("USER_NAME")%></td>
  51. <td class="list_title4" nowrap align="Center">사업주명</td>
  52. <td class="list_data" nowrap align="Left">&nbsp;<%=ContInfo.get("M_MEMBER_NAME")%></td>
  53. </tr>
  54. <tr height="23" align="center">
  55. <td class="list_title4" nowrap align="Center">계약번호</td>
  56. <td class="list_data" nowrap align="Left">&nbsp;<%=ContInfo.get("ORD_DOC_NO")%></td>
  57. <td class="list_title6" nowrap align="Center">PROJECT 명</td>
  58. <td class="list_data" nowrap align="Left">&nbsp;<%=ContInfo.get("DEPT_NM")%></td>
  59. </tr>
  60. <tr height="23" align="center">
  61. <td class="list_title3" nowrap align="Center">계약명</td>
  62. <td class="list_data" nowrap align="Left" colspan="3">&nbsp;<%=ContInfo.get("CST_DOC_NAME")%></td>
  63. </tr>
  64. <tr height="23" align="center">
  65. <td class="list_title3" nowrap align="Center">공급자</td>
  66. <td class="list_data" nowrap align="Left" colspan="3" >&nbsp;<%=ContInfo.get("S_MEMBER_NAME")%></td>
  67. </tr>
  68. <tr height="115px" align="center">
  69. <td class="list_title" align="Center">계약변경</br>내역</br>(부가세</br>별도)</td>
  70. <td class="list_data" nowrap align="Center" colspan="3" >
  71. <table width="99%" height="100%" cellspacing="0" cellpadding="1" bordercolordark="#FFFFFF" bordercolorlight="#AEAFAF" border="1">
  72. <COLGROUP>
  73. <COL width="90px">
  74. <COL width="110px">
  75. <COL width="110px">
  76. <COL width="110px">
  77. <COL width="80px">
  78. </COLGROUP>
  79. <tr height="23" align="center">
  80. <td class="list_title" nowrap align="Center">변경후계약금액</td>
  81. <td class="list_data" nowrap align="right" style="border-right-width: 0px;">&nbsp;<%=ContInfo.get("BEF_HAN")%></td>
  82. <td class="list_data" nowrap align="right" colspan="2" style="border-left-width: 0px; border-right-width: 0px;">&nbsp;<%=ContInfo.get("CHG_ORD_SUPPLY_AMT_HAN")%></td>
  83. <td class="list_data" nowrap align="left" style="border-left-width: 0px;">&nbsp;<%=ContInfo.get("ATF_HAN")%></td>
  84. </tr>
  85. <tr height="23" align="center">
  86. <td class="list_title" nowrap align="Center">구 분</td>
  87. <%if(ContInfo.getInt("MOD_NO") >= 2 ){ %>
  88. <td class="list_title" nowrap align="Center">이전계약</td>
  89. <%}else{ %>
  90. <td class="list_title" nowrap align="Center">원 계약</td>
  91. <%} %>
  92. <td class="list_title" nowrap align="Center">변경 계약</td>
  93. <td class="list_title" nowrap align="Center">증감(▲ ▼)</td>
  94. <td class="list_title" nowrap align="Center">비고</td>
  95. </tr>
  96. <tr height="23" align="center">
  97. <td class="list_title" nowrap align="Center">도 급 금 액</td>
  98. <td class="list_data" nowrap align="right">&nbsp;<%=Formatter2.currency(ContInfo.get("FRST_CON_AMT"), 0)%>&nbsp;</td>
  99. <td class="list_data" nowrap align="right">&nbsp;<%=Formatter2.currency(ContInfo.get("CHG_CON_AMT"), 0)%>&nbsp;</td>
  100. <td class="list_data" nowrap align="Center">&nbsp;<%=ContInfo.get("CON_AMT_NM")%></td>
  101. <td class="list_data" nowrap align="Center">&nbsp;<%=ContInfo.get("CON_AMT_BIGO")%></td>
  102. </tr>
  103. <tr height="23" align="center">
  104. <td class="list_title" nowrap align="Center">예 산 금 액</td>
  105. <td class="list_data" nowrap align="right">&nbsp;<%=Formatter2.currency(ContInfo.get("FRST_EXE_AMT"), 0)%>&nbsp;</td>
  106. <td class="list_data" nowrap align="right">&nbsp;<%=Formatter2.currency(ContInfo.get("CHG_EXE_AMT"), 0)%>&nbsp;</td>
  107. <td class="list_data" nowrap align="Center">&nbsp;<%=ContInfo.get("EXE__NM")%></td>
  108. <td class="list_data" nowrap align="Center">&nbsp;<%=ContInfo.get("EXE__BIGO")%></td>
  109. </tr>
  110. <tr height="23" align="center">
  111. <td class="list_title" nowrap align="Center">계 약 금 액</td>
  112. <td class="list_data" nowrap align="right">&nbsp;<%=Formatter2.currency(ContInfo.get("FRST_ORD_SUPPLY_AMT"),ContInfo.getInt("DIGIT"))%>&nbsp;</td>
  113. <td class="list_data" nowrap align="right">&nbsp;<%=Formatter2.currency(ContInfo.get("CHG_ORD_SUPPLY_AMT"),ContInfo.getInt("DIGIT"))%>&nbsp;</td>
  114. <td class="list_data" nowrap align="Center">&nbsp;<%=ContInfo.get("ORD_SUPPLY_NM")%></td>
  115. <td class="list_data" nowrap align="Center">&nbsp;<%=ContInfo.get("ORD_SUPPLY_BIGO")%></td>
  116. </tr>
  117. </table>
  118. </td>
  119. </tr>
  120. <tr height="23" align="center">
  121. <td class="list_title4" nowrap align="Center">시행기간</td>
  122. <td class="list_data" nowrap align="Left" colspan="2" style="border-right-width: 0px;">&nbsp;<%=ContInfo.get("CHG_ORD_START_DATE")%> ~ <%=ContInfo.get("CHG_ORD_END_DATE")%></td>
  123. <td class="list_data" nowrap align="Left" style="border-left-width: 0px;">&nbsp;<%=ContInfo.get("ORD_DATE_NM")%></td>
  124. </tr>
  125. <tr height="50" align="center">
  126. <td class="list_title4" nowrap align="Center">특기사항</td>
  127. <td class="list_data" nowrap align="Left" colspan="3" ><%=StringUtils.cvtHTML(ContInfo.get("IN_SPE_INFO"))%></td>
  128. </tr>
  129. <tr height="50" align="center">
  130. <td class="list_title4" nowrap align="Center">변경사유</td>
  131. <td class="list_data" nowrap align="Left" colspan="3" ><%=StringUtils.cvtHTML(ContInfo.get("IN_CHG_INFO"))%></td>
  132. </tr>
  133. <tr height="60" align="center">
  134. <td class="list_title4" nowrap align="Center">첨부서류</td>
  135. <td class="list_data" nowrap align="Center" colspan="3">
  136. <table style="height: 100%" width="99%" height="100%" cellspacing="0" cellpadding="0" bordercolordark="#FFFFFF" bordercolorlight="#AEAFAF" border="1">
  137. <tr>
  138. <td class="list_title" width="50%" height="100%" nowrap>자동생성파일</td>
  139. <td class="list_title" width="50%" height="100%" nowrap>직접첨부</td>
  140. </tr>
  141. <tr height="30">
  142. <td class="list_data" nowrap align="center">
  143. <%
  144. if(autofile_list.size()>0){
  145. %>
  146. <IMG src="<%=link %>/img/buyer/button/bt_attach_file.gif" id="bt_attach_file" alt="첨부파일 관리" align="top" valign="top" onClick="getFileList('<%=ContInfo.get("SUB_CONT_MOD_ID")%>');" class="button">
  147. <%
  148. }
  149. %>
  150. </td>
  151. <td class="list_data" nowrap align="center">
  152. <%
  153. RowSet addFile = FileManager.getFileList("SUB_CONT_MOD_ID", ContInfo.get("SUB_CONT_MOD_ID"));
  154. if (addFile.size()>0){
  155. %>
  156. <IMG src="<%=link %>/img/buyer/button/bt_attach_file.gif" id="bt_attach_file" alt="첨부파일 관리" align="top" valign="top" onClick="open_apppend_file('SUB_CONT_MOD_ID', '<%=ContInfo.get("SUB_CONT_MOD_ID")%>');" class="button">
  157. <%
  158. }
  159. %>
  160. </td>
  161. </tr>
  162. </table>
  163. </td>
  164. </tr>
  165. </TABLE>
  166. </TD>
  167. </TR>
  168. </tbody>
  169. </TABLE>
  170. <br>
  171. <table><tr><td style="display:none;" id=doctitle_1><%=ContInfo.get("doctitle")%></td></tr></table>
  172. <br>