<%@include file="/auth.jsp"%>
<%@page language="java" contentType="text/html;charset=utf-8"%>
<jsp:useBean id="getPara" scope="application" class="com.zky.para.SyncPara"/>
<%
	
	HashFmlBuf bufInfo=(HashFmlBuf)request.getAttribute("recoverBuf");
	//HashFmlBuf param=Util.readStatic("SCOREVALUE");
	String writeDate="";
	String year[]=null;
	String fileSecret="";
	String fileState="";
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>设备回收管理</title>
<link href="../../../css/font.css" rel="stylesheet" type="text/css">

<link rel="stylesheet" type="text/css" href="../../../js/2k3Grid.css">
<link rel="stylesheet" type="text/css" href="../../../js/2k3Menu.css">
<link rel="stylesheet" type="text/css" href="../../../js/2k3Dialog.css">
<script src="/js/check.js"></script>
<style type="text/css">
	
	.td1{
		width: 30%;
	}


table#csstable{
border-top:#D8E9FE 1px solid;
border-left:#D8E9FE 1px solid;
}
table#csstable td{
border-bottom:#D8E9FE 1px solid;
border-right:#D8E9FE 1px solid;
}


</style>
</head>
<body>
<h3 align="center">设备回收管理</h3>
<table id="csstable" width="90%"  border="0" align="center" cellpadding="0" cellspacing="0">
		
   		<tr bgcolor="#FFFFFF">
   			<td class="cell3">回收编号</td>
   			<td class="cell4"><%=bufInfo.fget("recover_id",0) %></td>
   			<td class="cell3">领用编号</td>
   			<td class="cell4"><%=bufInfo.fget("use_id",0)%></td>
   		</tr>
   		<tr bgcolor="#FFFFFF">
   			<td class="cell3">提交日期</td>
   			<td class="cell4"><%
   				writeDate=bufInfo.fget("commit_date",0);
   				 year=writeDate.split(" ");
   			%>
   				<%=year[0]%></td>
   				<td class="cell3">
    				提交单位
    			</td>
    			<td class="cell4">
    			<%=bufInfo.fget("departname",0) %>
    			</td>	
   		</tr>
   		
   		<tr bgcolor="#FFFFFF">
   		<td class="cell3">提交人员</td>
   			<td class="cell4">
   			<%=bufInfo.fget("empname",0) %>
   			</td>
   			<td class="cell3">设备名称</td>
   			<td class="cell4">
   				<%if(bufInfo.fget("property_name",0).equals("")){ %>
   					未填写
   				<%}else{ %>
   					<%=bufInfo.fget("property_name",0)%>
   				<%} %>
   			</td>
   			
   		</tr>
   			<tr bgcolor="#FFFFFF">
   		<td class="cell3">设备型号</td>
   			<td class="cell4">
   			<%if(bufInfo.fget("property_no",0).equals("")){ %>
   					未填写
   				<%}else{ %>
   					<%=bufInfo.fget("property_no",0)%>
   				<%} %>
   			</td>
   			<td class="cell3">设备单位</td>
   			<td class="cell4">
   				<%if(bufInfo.fget("property_unit",0).equals("")){ %>
   					未填写
   				<%}else{ %>
   					<%=bufInfo.fget("property_unit",0)%>
   				<%} %>
   			</td>
   			
   		</tr>
   		<tr bgcolor="#FFFFFF">
   			<td class="cell3">设备类型</td>
   			<td class="cell4">
   				<%
   					if(bufInfo.fget("property_type",0).equals(""))
   					{
   				%>未填写<%} else{
   					String propertyType="";
   					if(bufInfo.fget("property_type",0).toString().trim().equals("1"))
   					{
   						propertyType="笔记本";
   					}
   					else if(bufInfo.fget("property_type",0).toString().trim().equals("2"))
   					{
   						propertyType="移动硬盘";
   					}
   					else if(bufInfo.fget("property_type",0).toString().trim().equals("3"))
   					{
   						propertyType="工具";
   					}
   					else if(bufInfo.fget("property_type",0).toString().trim().equals("4"))
   					{
   						propertyType="存储介质";
   					}
   					else
   					{
   						propertyType="其它";
   					}
   				%>
   				<%=propertyType%>
   				<%} %>
   			</td>
   			<td class="cell3">回收类型</td>
   			<td class="cell4">
   			<%if(bufInfo.fget("recover_type",0).equals("1")){ %>
    			维修
    			<%}else{ %>
    			报废
    			<%} %>
   		</tr>
   	<tr bgcolor="#FFFFFF">
   			<td class="cell3">回收状态</td>
   			<td class="cell4">
   				<%
   					if(bufInfo.fget("recover_state",0).equals("1"))
   					{
   				%>
   				
   				<font color="#ff0000">已回收</font><%} else{
   					
   				%>
   				<font color="#ff0000">未回收</font>
   				<%} %>
   			</td>
   			<td class="cell3">&nbsp;</td>
   			<td class="cell4">
   			&nbsp;
   		</tr>
    		<tr bgcolor="#FFFFFF" >
    			<td class="cell3" >
    				备注
    			</td>
    			<td class="cell4" colspan="3">
    			<%if(bufInfo.fget("remark",0).equals("")){ %>
    				未填写
    			<%}else{ %>
    				<%=bufInfo.fget("remark",0) %>
    				<%} %>
    			</td>
    			
    		
    		</tr>
    		
</table><br>
<%@include file="../../../print/print.jsp"%>
</body>
</html>