123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224 |
- <%@page import="monfox.toolkit.snmp.agent.modules.SnmpV2Mib.SysOREntry"%>
- <%@ page contentType="text/html; charset=utf-8" %>
- <%@ page import="com.udapsoft.waf.system.*"%>
- <%@ page import="com.udapsoft.waf.common.ui.*" %>
- <%@ page import="com.udapsoft.waf.common.web.*" %>
- <%@ page import="kr.co.hsnc.common.sql.*"%>
- <%@ page import="kr.co.hsnc.common.util.*"%>
- <%@ page import="kr.co.hsnc.common.sql.util.*"%>
- <%@ page import="com.udapsoft.waf.system.HandlerStorage"%>
- <%@ page import="kr.co.hsnc.common.util.ValueObject"%>
- <%@ page import="kr.co.hsnc.common.message.WAFMessage"%>
- <%@ page import="kr.co.udapsoft.ebid.buyer.common.file.FileManager"%>
- <%@ page import="com.udapsoft.waf.common.util.StringUtils" %>
- <%@ page import="kr.co.udapsoft.common.util.PCMSUtil" %>
- <%@ page import="kr.co.hsnc.common.util.Formatter"%>
- <%@ page import="com.udapsoft.waf.common.util.Formatter2"%>
- <%@page import="java.net.URLEncoder"%>
- <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <%
- ctx.init(request, response);
- String link = ctx.getServerDomain();
- HandlerStorage storage = ctx.getHandlerStorage();
- ValueObject params = storage.getParams();
-
- WAFMessage wafMessage = WAFMessage.getInstance();
-
- ValueObject ContInfo = storage.getValueObject("ContInfo");
- /*계약서식 FILE */
- RowSet autofile_list = storage.getRowSet("AUTOFILE_LIST");
-
- ValueObject sign_info = storage.getValueObject("SIGN_INFO");
-
- RowSet getFileListRowSet = storage.getRowSet("getFileListRowSet");
- ValueObject suppinfo = storage.getValueObject("suppinfo");
- %>
- <br>
- <TABLE width="709" border="0" cellspacing="0" cellpadding="0">
- <tbody>
- <TR>
- <TD>
- <TABLE width="709" cellspacing="0" cellpadding="1" bordercolordark="#FFFFFF" bordercolorlight="#AEAFAF" border="1">
- <COLGROUP>
- <COL width="100px">
- <COL width="254px">
- <COL width="100px">
- <COL width="255px">
- <COL/>
- </COLGROUP>
- <tr height="23" align="center">
- <td class="list_title4" nowrap align="Center">요청부서</td>
- <td class="list_data" nowrap align="Left" > <%=ContInfo.get("DEPART_DEPT_NM")%></td>
- <td class="list_title3" nowrap align="Center">작성일</td>
- <td class="list_data" nowrap align="Left"> <%=ContInfo.get("CRE_DATE")%></td>
- </tr>
- <tr height="23" align="center">
- <td class="list_title3" nowrap align="Center">작성자</td>
- <td class="list_data" nowrap align="Left"> <%=ContInfo.get("USER_NAME")%></td>
- <td class="list_title4" nowrap align="Center">사업주명</td>
- <td class="list_data" nowrap align="Left"> <%=ContInfo.get("M_MEMBER_NAME")%></td>
- </tr>
- <tr height="23" align="center">
- <td class="list_title6" nowrap align="Center">PROJECT명</td>
- <td class="list_data" nowrap align="Left"> <%=ContInfo.get("DEPT_NM")%></td>
- <td class="list_title4" nowrap align="Center">현장위치</td>
- <td class="list_data" nowrap align="Left"> <%=ContInfo.get("LEAD_PLACE")%></td>
- </tr>
- <tr height="23" align="center">
- <td class="list_title6" nowrap align="Center"><font color='yellow'><b>구매발주진행율누계</b></font></td>
- <td class="list_data" nowrap align="Left"><font color='red' size ='4px'><b> <%=ContInfo.get("PO_PRC")%>%</b></font></td>
- <td class="list_title6" nowrap align="Center"><font color='yellow'><b>구매발주실적율누계</b></font></td>
- <td class="list_data" nowrap align="Left"><font color='red' size ='4px'><b> <%=ContInfo.get("RES_PRC")%>%</b></font></td>
- </tr>
- <tr height="23" align="center">
- <td class="list_title4" nowrap align="Center">계약번호</td>
- <td class="list_data" nowrap align="Left" colspan="3"> <%=ContInfo.get("ORD_DOC_NO")%></td>
- </tr>
- <tr height="23" align="center">
- <td class="list_title3" nowrap align="Center">계약명</td>
- <td class="list_data" nowrap align="Left" colspan="3"> <%=ContInfo.get("CST_DOC_NAME")%></td>
- </tr>
- <tr height="23" align="center">
- <td class="list_title3" align="Center">계약자</td>
- <td class="list_data" nowrap align="Left" colspan="3" > <%=ContInfo.get("S_MEMBER_NAME")%></td>
- </tr>
- <tr height="100px" align="center">
- <td class="list_title" align="Center">계약변경</br>내역</br>(부가세</br>별도)</td>
- <td class="list_data" nowrap align="Center" colspan="3" >
- <table width="99%" height="100%" cellspacing="0" cellpadding="1" bordercolordark="#FFFFFF" bordercolorlight="#AEAFAF" border="1">
- <COLGROUP>
- <COL width="90px">
- <COL width="110px">
- <COL width="110px">
- <COL width="110px">
- <COL width="80px">
- </COLGROUP>
- <tr height="23" align="center">
- <td class="list_title" nowrap align="Center">변경 후 계약금액</td>
- <td class="list_data" nowrap align="right" style="border-right-width: 0px;"> <%=ContInfo.get("BEF_HAN")%></td>
- <td class="list_data" nowrap align="right" colspan="2" style="border-left-width: 0px; border-right-width: 0px;"> <%=ContInfo.get("CHG_ORD_SUPPLY_AMT_HAN")%></td>
- <td class="list_data" nowrap align="left" style="border-left-width: 0px;"> <%=ContInfo.get("ATF_HAN")%></td>
- </tr>
- <tr height="23" align="center">
- <td class="list_title" nowrap align="Center">구 분</td>
- <%if(ContInfo.getInt("MOD_NO") >= 2 ){ %>
- <td class="list_title" nowrap align="Center">기존 계약</td>
- <%}else{ %>
- <td class="list_title" nowrap align="Center">기존 계약</td>
- <%} %>
- <td class="list_title" nowrap align="Center">변경 계약</td>
- <td class="list_title" nowrap align="Center">증감(▲ ▼)</td>
- <td class="list_title" nowrap align="Center">비고</td>
- </tr>
- <tr height="23" align="center">
- <td class="list_title" nowrap align="Center">도 급 금 액(원화)</td>
- <td class="list_data" nowrap align="right"> <%=Formatter2.currency(ContInfo.get("FRST_CON_AMT"), 0)%> </td>
- <td class="list_data" nowrap align="right"> <%=Formatter2.currency(ContInfo.get("CHG_CON_AMT"), 0)%> </td>
- <td class="list_data" nowrap align="Center"> <%=ContInfo.get("CON_AMT_NM")%></td>
- <td class="list_data" nowrap align="Center"> </td>
- </tr>
- <tr height="23" align="center">
- <td class="list_title" nowrap align="Center">예 산 금 액(원화)</td>
- <td class="list_data" nowrap align="right"> <%=Formatter2.currency(ContInfo.get("FRST_EXE_AMT"), 0)%> </td>
- <td class="list_data" nowrap align="right"> <%=Formatter2.currency(ContInfo.get("CHG_EXE_AMT"), 0)%> </td>
- <td class="list_data" nowrap align="Center"> <%=ContInfo.get("EXE__NM")%></td>
- <td class="list_data" nowrap align="Center"> </td>
- </tr>
- <tr height="23" align="center">
- <td class="list_title" nowrap align="Center">계 약 금 액(<%=ContInfo.get("ATF_HAN")%>)</td>
- <td class="list_data" nowrap align="right"> <%=Formatter2.currency(ContInfo.get("FRST_ORD_SUPPLY_AMT"),ContInfo.getInt("DIGIT"))%> </td>
- <td class="list_data" nowrap align="right"> <%=Formatter2.currency(ContInfo.get("CHG_ORD_SUPPLY_AMT"),ContInfo.getInt("DIGIT"))%> </td>
- <td class="list_data" nowrap align="Center"> <%=ContInfo.get("ORD_SUPPLY_NM")%></td>
- <td class="list_data" nowrap align="Center"> <%=ContInfo.get("ORD_SUPPLY_BIGO")%></td>
- </tr>
- <tr height="23" align="center">
- <td class="list_title" nowrap align="Center">계 약 금 액(원화)</td>
- <td class="list_data" nowrap align="right"> <%=Formatter2.currency(ContInfo.get("FRST_ORD_SUPPLY_AMT_KRW"),0)%> </td>
- <td class="list_data" nowrap align="right"> <%=Formatter2.currency(ContInfo.get("CHG_ORD_SUPPLY_AMT_KRW"),0)%> </td>
- <td class="list_data" nowrap align="Center"> <%=ContInfo.get("ORD_SUPPLY_NM_KRW")%></td>
- <td class="list_data" nowrap align="Center"> <%=ContInfo.get("ORD_SUPPLY_BIGO")%></td>
- </tr>
- <tr height="23" align="center">
- <td class="list_title" nowrap align="Center">납 품 일 자</td>
- <td class="list_data" nowrap align="Center"> <%=ContInfo.get("FRST_ORD_END_DATE")%></td>
- <td class="list_data" nowrap align="Center"> <%=ContInfo.get("CHG_ORD_END_DATE")%></td>
- <td class="list_data" nowrap align="Center"> <%=ContInfo.get("ORD_DATE_NM")%></td>
- <td class="list_data" nowrap align="Center"> </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr height="50" align="center">
- <td class="list_title4" nowrap align="Center">변경내용</td>
- <td class="list_data" nowrap align="Left" colspan="3" ><%=StringUtils.cvtHTML(ContInfo.get("IN_CHG_INFO"))%> </td>
- </tr>
- <tr height="50" align="center">
- <td class="list_title4" nowrap align="Center">특기사항</td>
- <td class="list_data" nowrap align="Left" colspan="3" ><%=StringUtils.cvtHTML(ContInfo.get("IN_SPE_INFO"))%> </td>
- </tr>
- <tr height="60" align="center">
- <td class="list_title4" nowrap align="Center">첨부서류</td>
- <td class="list_data" nowrap align="Left" colspan="3">
- <table style="height: 100%" width="100%" cellspacing="0" cellpadding="0" bordercolordark="#FFFFFF" bordercolorlight="#AEAFAF" border="1">
- <%
- if(getFileListRowSet.size() > 0){
- int i_mod = 0;
- for(int i = 0; getFileListRowSet.size() > i; i++){
- i_mod = i%4;
- if(i_mod == 0){ %>
- <TR>
- <% } %>
- <td width="27%">
- <% if(getFileListRowSet.getRow(i).get("DETAILCD").equals("100")) { %>
- <%if(!getFileListRowSet.getRow(i).get("DOC_CD").equals("")){%>
- <input type="checkbox" <%if(!getFileListRowSet.getRow(i).get("DOC_CD").equals("")){out.print("checked");} %> disabled>
- <span <%if(!getFileListRowSet.getRow(i).get("DOC_CD").equals("")){%>class="button list_data" style="color:#4b70fd;text-decoration:underline;" <%}else{%>class="list_data"<%}%> nowrap onclick="open_apppend_file2('<%=getFileListRowSet.getRow(i).get("FILE_GB") %>', '<%=getFileListRowSet.getRow(i).get("ID")%>');">
- <%=getFileListRowSet.getRow(i).get("DETAILNM") %>
- </span>
- <%}else if(!sign_info.get("doc_id").equals("")){ %>
- <input type="checkbox" <%if(!sign_info.get("doc_id").equals("")){out.print("checked");} %> disabled>
- <span <%if(!sign_info.get("doc_id").equals("")){%>class="button list_data" style="color:#4b70fd;text-decoration:underline;" <%}else{%>class="list_data"<%}%> nowrap onClick="doSignFile('<%=sign_info.get("doc_id")%>', '<%=sign_info.get("year")%>');">
- <%=getFileListRowSet.getRow(i).get("DETAILNM") %>
- </span>
- <%} else {%>
- <input type="checkbox" disabled>
- <span <%if(!getFileListRowSet.getRow(i).get("DOC_CD").equals("")){%>class="button list_data" style="color:#4b70fd;text-decoration:underline;" <%}else{%>class="list_data"<%}%> nowrap>
- <%=getFileListRowSet.getRow(i).get("DETAILNM") %>
- </span>
- <%} %>
- <%}else{ %>
- <input type="checkbox" <%if(!getFileListRowSet.getRow(i).get("DOC_CD").equals("")){out.print("checked");} %> disabled>
- <span <%if(!getFileListRowSet.getRow(i).get("DOC_CD").equals("")){%>class="button list_data" style="color:#4b70fd;text-decoration:underline;" <%}else{%>class="list_data"<%}%> nowrap onclick="open_apppend_file2('<%=getFileListRowSet.getRow(i).get("FILE_GB") %>', '<%=getFileListRowSet.getRow(i).get("ID")%>');">
- <%=getFileListRowSet.getRow(i).get("DETAILNM") %>
- </span>
- <%} %>
- </td>
- <% if(i_mod == 4) { %>
- </TR>
- <% } %>
- <%
- }
- for(int i=i_mod+1; i<4; i++){ %>
- <td> </td>
- <% }
- if(i_mod < 4){ %>
- </TR>
- <% }
- }
- %>
- </table>
- </td>
- </tr>
- </TABLE>
- </TD>
- </TR>
- </tbody>
- </TABLE>
- <br>
- <table><tr><td style="display:none;" id=doctitle_1 class=FIELD><%=ContInfo.get("doctitle")%></td></tr></table>
- <br>
|