123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160 |
- <%@ page contentType="text/html; charset=utf-8" %>
- <%@ page import="kr.co.hsnc.common.sql.*" %>
- <%@ page import="kr.co.hsnc.common.util.*"%>
- <%@ page import="com.udapsoft.waf.system.HandlerStorage" %>
- <%@ page import="kr.co.hsnc.common.sql.util.RowSetUtility" %>
- <jsp:useBean id="ctx" class="com.udapsoft.waf.system.context.SessionContext" scope="session" />
- <%
- ctx.init(request, response);
- ValueObject params = null;
- HandlerStorage storage = ctx.getHandlerStorage();
- params = storage.getParams();
- RowSet fileListRowSet = storage.getRowSet("FileListRowSet");
- int size = (fileListRowSet != null ? fileListRowSet.size() : 0);
- %>
- <HTML>
- <STYLE>
- BODY {
- padding : 0 0 0 0;
- SCROLLBAR-3DLIGHT-COLOR : #595959;
- SCROLLBAR-ARROW-COLOR : #FFFFFF;
- SCROLLBAR-BASE-COLOR : #CFCFCF;
- SCROLLBAR-DARKSHADOW-COLOR : #FFFFFF;
- SCROLLBAR-FACE-COLOR : #CFCFCF;
- SCROLLBAR-HIGHLIGHT-COLOR : #FFFFFF;
- SCROLLBAR-SHADOW-COLOR : #595959;
- background-color : #ffffff;
- }
- .view_title {
- BACKGROUND-COLOR : #cccccc ;
- FONT-FAMILY : "굴림", "Arial" ;
- FONT-SIZE : 10pt ;
- COLOR : #000000 ;
- }
- .view_data {
- BACKGROUND-COLOR : #ffffff ;
- FONT-FAMILY : "굴림", "Arial" ;
- FONT-SIZE : 9pt ;
- COLOR : #585860 ;
- }
- </style>
- <BODY leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" style="overflow:auto">
- <FORM name="form2" id="form2">
- <INPUT type="hidden" name="fevent" value="">
- <INPUT type="hidden" name="file_gb" value="<%= params.get("file_gb") %>">
- <INPUT type="hidden" name="id" value="<%= params.get("id") %>">
- <INPUT type="hidden" name="change_file_map_id" value="">
- <INPUT type="hidden" name="change_open_corp_yn" value="">
- <INPUT type="hidden" name="change_use_con_yn" value="">
- <INPUT type="hidden" name="change_techreq_open_yn" value="">
- <INPUT type="hidden" name="size" value="<%= size %>">
- <TABLE border="0" cellspacing="0" cellpadding="0" width="100%">
- <TR>
- <TD>
- <!-- 리스트 시작 -->
- <TABLE width="725" cellspacing="0" cellpadding="0" bordercolordark="#FFFFF" bordercolorlight="#d2d2d2" border="1">
- <TR height="28" align="center">
- <TD class="view_title" nowrap width="30"><IMG src="/img/buyer/temp/check.gif" border="0" ></TD>
- <TD class="view_title" width="35" align="center">NO.</TD>
- <TD class="view_title" align="center">파일명</TD>
- <TD class="view_title" width="100" align="center">파일 크기</TD>
- <% if( params.get("IS_CORP").equals("Y") ) { %>
- <TD class="view_title" width="60" align="center">Vendor Open</TD>
- <% } %>
- <% if( params.get("IS_CON").equals("Y") ) { %>
- <TD class="view_title" width="60" align="center">Contract</TD>
- <% } %>
- <% if( params.get("IS_TECHREQ").equals("Y") ) { %>
- <TD class="view_title" width="80" align="center">TBE</TD>
- <% } %>
- <TD class="view_title" width="150" align="center">생성일시</TD>
- </TR>
- <%
- ValueObject row = null;
- for( int i = 0 ; i < size ; i++ ) {
- row = RowSetUtility.getValueObject(fileListRowSet.getRow(i));
- %>
- <TR height="25" >
- <INPUT type="hidden" name="no" value="<%= i + 1 %>">
- <INPUT type="hidden" name="file_id" value="<%= row.get("FILE_ID") %>">
- <INPUT type="hidden" name="file_map_id" value="<%= row.get("FILE_MAP_ID") %>">
- <INPUT type="hidden" name="file_name" value="<%= row.get("FILE_NAME") %>">
- <INPUT type="hidden" name="file_size" value="<%= row.get("FILE_SIZE").trim() %>">
- <% //if( row.get("FILE_GB").equals(row.get("O_FILE_GB")) && row.get("ID").equals(row.get("O_ID")) ) { %>
- <% if( row.get("ID").equals(row.get("O_ID")) || params.get("file_gb").equals("SUB_RFQ") || params.get("file_gb").equals("PUR_G_CST")) { %>
- <TD align="center" nowrap class="view_data"><INPUT type="checkbox" name="chk_file_map_id" value="<%= row.get("FILE_MAP_ID") %>"></TD>
- <% }
- else { %>
- <TD align="center" nowrap class="view_data"><INPUT type="checkbox" name="chk_file_map_id" value="<%= row.get("FILE_MAP_ID") %>" disabled></TD>
- <% } %>
- <TD align="center" nowrap class="view_data"><%= i + 1 %></TD>
- <TD class="LeftSpace" nowrap class="view_data"><A class="view_data" href="/common/file/FileDownloadServlet?file_id=<%= row.get("FILE_ID") %>" target="download"><%= row.get("FILE_NAME") %></A></TD>
- <TD align="center" nowrap class="view_data"><%= row.get("FILE_SIZE") %></TD>
- <% if( params.get("IS_CORP").equals("Y") ) { %>
- <% if( row.get("OPEN_CORP_YN").equals("Y") ) { %>
- <TD align="center" nowrap class="view_data"><INPUT type="checkbox" name="open_corp_yn" value="<%= row.get("FILE_MAP_ID") %>" checked onClick="parent.changeOpenCorpYNProc(this);"></TD>
- <% }
- else { %>
- <TD align="center" nowrap class="view_data"><INPUT type="checkbox" name="open_corp_yn" value="<%= row.get("FILE_MAP_ID") %>" onClick="parent.changeOpenCorpYNProc(this);"></TD>
- <% } %>
- <% }
- else { %>
- <INPUT type="hidden" name="open_corp_yn_value" value="<%= row.get("OPEN_CORP_YN") %>">
- <% } %>
- <% if( params.get("IS_CON").equals("Y") ) { %>
- <% if( row.get("USE_CON_YN").equals("Y") ) { %>
- <TD align="center" nowrap class="view_data"><INPUT type="checkbox" name="use_con_yn" value="<%= row.get("FILE_MAP_ID") %>" checked onClick="parent.changeUseConYNProc(this);"></TD>
- <% }
- else { %>
- <TD align="center" nowrap class="view_data"><INPUT type="checkbox" name="use_con_yn" value="<%= row.get("FILE_MAP_ID") %>" onClick="parent.changeUseConYNProc(this);"></TD>
- <% } %>
- <% }
- else { %>
- <INPUT type="hidden" name="use_con_yn_value" value="<%= row.get("USE_CON_YN") %>">
- <% } %>
- <% if( params.get("IS_TECHREQ").equals("Y") ) { %>
- <% if( row.get("TECHREQ_OPEN_YN").equals("Y") ) { %>
- <TD align="center" nowrap class="view_data"><INPUT type="checkbox" name="techreq_open_yn" value="<%= row.get("FILE_MAP_ID") %>" checked onClick="parent.changeTechreqOpenYNProc(this);"></TD>
- <% }
- else { %>
- <TD align="center" nowrap class="view_data"><INPUT type="checkbox" name="techreq_open_yn" value="<%= row.get("FILE_MAP_ID") %>" onClick="parent.changeTechreqOpenYNProc(this);"></TD>
- <% } %>
- <% }
- else { %>
- <INPUT type="hidden" name="techreq_open_yn_value" value="<%= row.get("TECHREQ_OPEN_YN") %>">
- <% } %>
- <TD align="center" nowrap class="view_data"><%= DateUtil.formatDateTime(row.get("CRE_DATE"), "yyyyMMddHHmmss", "yyyy-MM-dd HH:mm") %></TD>
- </TR>
- <%
- }
- %>
- </TABLE>
- </TD>
- </TR>
- </TABLE>
- <IFRAME width="0" height="0" name="download" src="" topmargin="0" leftmargin="0"></IFRAME>
- </FORM>
- </BODY>
- </HTML>
|