123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256 |
- <%@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"%>
- <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
- <%
- ctx.init(request, response);
- String link = ctx.getServerDomain();
- HandlerStorage storage = ctx.getHandlerStorage();
- ValueObject params = storage.getParams();
-
- WAFMessage wafMessage = WAFMessage.getInstance();
-
- ValueObject BidMaster = storage.getValueObject("bidmaster");
- //RowSet suppinfo = null;
- //suppinfo = storage.getRowSet("suppinfo");
-
- ValueObject File_in = storage.getValueObject(BidMaster.get("DOC_ETC_IN"));
- ValueObject File_out = storage.getValueObject(BidMaster.get("DOC_ETC_OUT"));
- ValueObject File_tbe = storage.getValueObject(BidMaster.get("TOT_FILE_GB"));
-
- ValueObject sign_info = storage.getValueObject("SIGN_INFO");
-
- RowSet getFileListRowSet = storage.getRowSet("getFileListRowSet");
- ValueObject suppinfo = storage.getValueObject("suppinfo");
-
- String gwurl = "http://gw.sgcenc.co.kr/";//WAFConfig.get("gw.url.address2");
-
- %>
- <br>
- <TABLE width="709" border="0" cellspacing="0" cellpadding="0">
- <tbody>
- <TR>
- <TD align="center">
- <TABLE width="709" cellspacing="0" cellpadding="0" bordercolordark="#FFFFFF" bordercolorlight="#AEAFAF" border="1">
- <COLGROUP>
- <COL width="110"/>
- <COL width="100"/>
- <COL width="200"/>
- <COL width="110"/>
- <COL width="200"/>
- </COLGROUP>
- <tr height="23" align="center">
- <td class="list_title4" nowrap align="Center">요청부서</td>
- <td class="list_data" nowrap align="Left" colspan="2"> <%=BidMaster.get("DEPART_DEPT_NM")%></td>
- <td class="list_title3" nowrap align="Center">작성일</td>
- <td class="list_data" nowrap align="Left"> <%=BidMaster.get("CRE_DT")%></td>
- </tr>
- <tr height="23" align="center">
- <td class="list_title3" nowrap align="Center">작성자</td>
- <td class="list_data" nowrap align="Left" colspan="2" > <%=BidMaster.get("CRE_NAME")%></td>
- <td class="list_title4" nowrap align="Center">사업주명</td>
- <td class="list_data" nowrap align="Left"> <%=BidMaster.get("DEALER_NM")%></td>
- </tr>
- <tr height="23" align="center">
- <td class="list_title7" nowrap align="Center">PROJECT명</td>
- <td class="list_data" nowrap align="Left" colspan="2" > <%=BidMaster.get("DEPT_NM")%></td>
- <td class="list_title4" nowrap align="Center">현장위치</td>
- <td class="list_data" nowrap align="Left"> <%=BidMaster.get("DELIVERY_PLACE")%></td>
- </tr>
- <tr height="23" align="center">
- <td class="list_title4" nowrap align="Center">계약번호</td>
- <td class="list_data" nowrap align="Left" colspan="2" > <%=BidMaster.get("CONF_NO")%></td>
- <td class="list_title6" nowrap align="Center">발주의뢰번호</td>
- <td class="list_data" nowrap align="Left" >
- <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>
- <%-- <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"> --%>
- </td>
- </tr>
- <tr height="23" align="center">
- <td class="list_title3" nowrap align="Center">계약명</td>
- <td class="list_data" nowrap align="Left" colspan="2" > <%=BidMaster.get("BID_MASTER_NM")%></td>
- <td class="list_title7" nowrap align="Center">시행결의요청일</td>
- <td class="list_data" nowrap align="Left" > <%=BidMaster.get("CONT_APP_REQ_DATE")%></td>
- </tr>
- <tr height="23" align="center">
- <td class="list_title3" nowrap align="Center">계약자</td>
- <td class="list_data" nowrap align="Left" colspan="4"> <%=BidMaster.get("VENDOR_NAME")%> </td>
- </tr>
- <tr height="23" align="center">
- <%if(!BidMaster.get("CURRENCY_GB").equals("KRW")){ %>
- <td class="list_title" nowrap align="Center" rowspan="5">예산집행<br>개요<br>(부가세별도)</td>
- <%}else{ %>
- <td class="list_title" nowrap align="Center" rowspan="4">예산집행<br>개요<br>(부가세별도)</td>
- <%}%>
- <td class="list_title4" nowrap align="Center">도급금액</td>
- <td class="list_data" nowrap align="left" colspan="3" ><table style="width: 99%"><tr><td align="left" class="list_data"><%if(!BidMaster.get("CONT_AMT_NM").isEmpty()){%>일금 <%=BidMaster.get("CONT_AMT_NM")%> 원정<%} %></td><td align="right" class="list_data">(<%=Formatter2.currency(BidMaster.get("CONT_AMT"),0)%>)</td></tr></table></td>
- </tr>
- <tr height="23" align="center">
- <td class="list_title4" nowrap align="Center">예산금액</td>
- <td class="list_data" nowrap align="left" colspan="3" ><table style="width: 99%"><tr><td align="left" class="list_data"><%if(!BidMaster.get("ACT_AMT_NM").isEmpty()){%>일금 <%=BidMaster.get("ACT_AMT_NM")%> 원정<%} %></td><td align="right" class="list_data">(<%=Formatter2.currency(BidMaster.get("ACT_AMT"),0)%>)</td></tr></table></td>
- </tr>
- <tr height="23" align="center">
- <td class="list_title4" nowrap align="Center">결의금액</td>
- <td class="list_data" nowrap align="left" colspan="3" >
- <%if(BidMaster.get("AMT_HIDDEN").equals("Y")){ %>
- <table style="width: 99%"><tr><td align="left" class="list_data">단가계약</td></tr></table>
- <%}else{ %>
- <table style="width: 99%"><tr><td align="left" class="list_data"><%if(!BidMaster.get("WON_ESTI_AMT_NM").isEmpty()){%>일금 <%=BidMaster.get("WON_ESTI_AMT_NM")%> 원정<%} %><td align="right" class="list_data"><%if(!BidMaster.get("WON_ESTI_TOT_AMT").isEmpty()){ %>(<%=Formatter2.currency(BidMaster.get("WON_ESTI_TOT_AMT"),0)%>)<%} %></td></tr></table>
- <%}%>
-
- </td>
- </tr>
- <%if(!BidMaster.get("CURRENCY_GB").equals("KRW") && !BidMaster.get("AMT_HIDDEN").equals("Y")){ %>
- <tr height="23" align="center">
- <td class="list_title" nowrap align="Center">결의금액(외화)</td>
- <td class="list_data" nowrap align="left" colspan="3" >
- <table style="width: 99%"><tr><td align="left" class="list_data"><%if(!BidMaster.get("ESTI_TOT_AMT_NM").isEmpty()){%><%if("KRW".equals(BidMaster.get("CONT_AMT_NM"))){%>일금 <%} %><%=BidMaster.get("ESTI_TOT_AMT_NM")%> <%if("KRW".equals(BidMaster.get("CONT_AMT_NM"))){%>원정<%}else{ %><%=BidMaster.get("CHG_CODE06") %><%} %><%} %></td><td align="right" class="list_data"><%if(!BidMaster.get("ESTI_TOT_AMT").isEmpty()){ %>(<%=Formatter2.currency(BidMaster.get("ESTI_TOT_AMT"),0)%>)<%} %></td></tr></table>
- </td>
- </tr>
- <%} %>
- <tr height="23" align="center">
- <td class="list_title" nowrap align="Center">실행예산대비(%)</td>
- <td class="list_data" nowrap align="Center"> <%=BidMaster.get("ACT_RATE")%>%</td>
- <td class="list_title" nowrap align="Center">실행예산대비절감액</td>
- <td class="list_data" nowrap align="right">(<%=Formatter2.currency(BidMaster.get("ACT_SAVINGS"),0)%>) </td>
- </tr>
- <tr height="23" align="center">
- <td class="list_title4" nowrap align="Center" >납품일자</td>
- <td class="list_data" nowrap align="Left" colspan="2"> <%=BidMaster.get("DELI_TO_DY")%></td>
- <td class="list_title4" nowrap align="Center">인도조건</td>
- <td class="list_data" nowrap align="Left"> <%=BidMaster.get("DELIVERY_CONDITION")%></td>
- </tr>
- <!--<tr height="23" align="center"> 2015.3.9 계약범위 납품설치 : 구매팀 수정요청 : 삭제
- <td class="list_title4" nowrap align="Center">계약범위</td>
- <td class="list_data" nowrap align="Left" colspan="2"> <%=BidMaster.get("PAY_DIV")%></td>
- <td class="list_title4" nowrap align="Center">인도조건</td>
- <td class="list_data" nowrap align="Left"> <%=BidMaster.get("DELIVERY_CONDITION")%></td>
- </tr>-->
- <tr height="23" align="center">
- <td class="list_title4" nowrap align="Center">지불조건</td>
- <%
- String sPamentCondition = "";
- if(BidMaster.get("FIRST_AMT") != null && BidMaster.get("FIRST_AMT").length() > 0)
- {
- sPamentCondition += " " + BidMaster.get("FIRST_AMT")+"<br/>";
- }
- if(BidMaster.get("MID_AMT") != null && BidMaster.get("MID_AMT").length() > 0)
- {
- sPamentCondition += " " + BidMaster.get("MID_AMT")+"<br/>";
- }
- if(BidMaster.get("REST_AMT") != null && BidMaster.get("REST_AMT").length() > 0)
- {
- sPamentCondition += " " + BidMaster.get("REST_AMT");
- }
-
- if(sPamentCondition.length() > 0)
- {
- sPamentCondition = sPamentCondition+"<br/>";
- }
- %>
- <td class="list_data" nowrap align="Left" colspan="4"><%=sPamentCondition %></td>
- </tr>
- <tr height="23" align="center">
- <td class="list_title5" nowrap align="Center">하자보증율</td>
- <td class="list_data" nowrap align="Left" colspan="2"> <%=BidMaster.get("WARR_CONDI")%> <%if(!BidMaster.get("WARR_RATE").isEmpty()){%><%=BidMaster.get("WARR_RATE")%>%<%} %></td>
- <%-- <td class="list_title6" nowrap align="Center">외국환거래<BR>신고대상</td>
- <td class="list_data" nowrap align="Left" > <%=BidMaster.get("FOREIGN_NM")%>
- <%if(!BidMaster.get("FOREIGN_CHK").equals("A")){%>
- <IMG src="<%=link %>/img/buyer/button/bt_attach_file.gif" id="bt_foreign" alt="외국환거래" align="top" valign="top" onClick="open_foreign('<%=BidMaster.get("BID_NO")%>', '<%=BidMaster.get("BID_DEG") %>', '<%=BidMaster.get("VENDOR_CD") %>');" class="button">
- <%} %></td> --%>
- <td class="list_title6" nowrap align="Center">하자보증기간</td>
- <td class="list_data" nowrap align="Left"> <%=BidMaster.get("PBC_DEFECT_CONDI")%> <%=BidMaster.get("CBC_DEFECT_DAY")%><%=BidMaster.get("CBC_DERECT_TERM_NM")%>
- <%if(BidMaster.get("PBC_DEFECT_CONDI2") != ""){ %> OR<br> <%=BidMaster.get("PBC_DEFECT_CONDI2")%> <%=BidMaster.get("CBC_DEFECT_DAY2")%><%=BidMaster.get("CBC_DERECT_TERM_NM2")%> 중 선도래일<%} %></td>
- </tr>
- <tr height="23" align="center">
- <td class="list_title" nowrap align="Center"><font color='yellow'><b>구매 발주진행율 누계</b></font></td>
- <td class="list_data" nowrap align="Left" colspan="2"><font color='red' size ='4px'><b> <%=BidMaster.get("PO_PRC")%>%</b></font></td>
- <td class="list_title" nowrap align="Center"><font color='yellow'><b>구매 발주실적율 누계</b></font></td>
- <td class="list_data" nowrap align="Left"><font color='red' size ='4px'><b> <%=BidMaster.get("RES_PRC")%>%</b></font></td>
- </tr>
- <tr height="23" align="center">
- <td class="list_title6" nowrap align="Center">주요발주내용</td>
- <td class="list_data" nowrap align="Left" colspan="4"><%=StringUtils.cvtHTML(BidMaster.get("MAIN_PR_CONTENTS"))%> </td>
- </tr>
- <tr height="23" align="center">
- <td class="list_title6" nowrap align="Center">특기사항</td>
- <td class="list_data" nowrap align="Left" colspan="4"><%=StringUtils.cvtHTML(BidMaster.get("CON_REMARK"))%> </td>
- </tr>
- <tr height="60" align="center">
- <td class="list_title4" nowrap align="Center">첨부서류</td>
- <td class="list_data" nowrap align="Left" colspan="4">
- <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")) { %>
- <input type="checkbox" checked disabled>
- <%if(!getFileListRowSet.getRow(i).get("DOC_CD").equals("")){%>
- <span class="button list_data" style="color:#4b70fd;text-decoration:underline;" nowrap onclick="open_apppend_file('<%=getFileListRowSet.getRow(i).get("FILE_GB") %>', '<%=getFileListRowSet.getRow(i).get("ID")%>');">
- <%=getFileListRowSet.getRow(i).get("DETAILNM") %>
- </span>
- <%}else{ %>
- <span class="button list_data" style="color:#4b70fd;text-decoration:underline;" nowrap onClick="detailRdProc('<%=BidMaster.get("BID_NO")%>', '<%=BidMaster.get("BID_DEG") %>', '<%=BidMaster.get("PBC_CBE_TYPE_CD")%>');">
- <%=getFileListRowSet.getRow(i).get("DETAILNM") %>
- </span>
- <%} %>
- <%}else if(getFileListRowSet.getRow(i).get("DETAILCD").equals("130")) { %>
- <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_bidamtpop('<%=suppinfo.get("BID_NO")%>','<%=suppinfo.get("BID_DEG")%>','<%=suppinfo.get("VENDOR_CD")%>','<%=suppinfo.get("VENDOR_NAME")%>','<%=suppinfo.get("ESTI_TOT_AMT")%>','<%=suppinfo.get("FILE_GB")%>','<%=suppinfo.get("DIV_PO_YN")%>','<%=suppinfo.get("DEMANDED_ID")%>');">
- <%=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_file('<%=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><%=BidMaster.get("doctitle")%></td></tr></table>
- <br>
|