<%@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("useBuf");
	//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("provide_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("provide_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("provide_state",0).equals("1")){ %>
    			<font color="#ff0000">已发放</font>
    			<%}else{ %>
    			<font color="#ff0000">未发放</font>
    			<%} %>
   		</tr>
   		<tr bgcolor="#FFFFFF">
   				<td class="cell3">接收状态</td>
   			<td class="cell4">
   			<%if(bufInfo.fget("receive_state",0).equals("1")){ %>
    			<font color="#ff0000">已接收</font>
    			<%}else{ %>
    			<font color="#ff0000">未接收</font>
    			<%} %>
   			<td class="cell3">回收状态</td>
   			<td class="cell4">
   			<%if(bufInfo.fget("recover_state",0).equals("1")){ %>
    			<font color="#ff0000">已回收</font>
    			<%}else{ %>
    			<font color="#ff0000">未回收</font>
    			<%} %>
   		</tr>
    	<tr bgcolor="#FFFFFF">
   			<td class="cell3">回收类型</td>
   			<td class="cell4">
   			<%if(bufInfo.fget("recover_type",0).equals("1")){ %>
    			维修
    			<%}else{ %>
    			报废
    			<%} %>
   			<td class="cell3">维修状态</td>
   			<td class="cell4">
   			<%if(bufInfo.fget("maintain_state",0).equals("1")){ %>
    			<font color="#ff0000">送修未取回</font>
    			<%}else if(bufInfo.fget("maintain_state",0).equals("2")){ %>
    			<font color="#ff0000">已取回</font>
    			<%}else{ %><font color="#ff0000">未送修</font>
    			<%} %>
   		</tr>
    	<tr bgcolor="#FFFFFF">
   			<td class="cell3">提取状态</td>
   			<td class="cell4">
   			<%if(bufInfo.fget("extract_state",0).equals("1")){ %>
    			<font color="#ff0000">已提取</font>
    			<%}else{ %>
    			<font color="#ff0000">未提取</font>
    			<%} %>
   			<td class="cell3">报废状态</td>
   			<td class="cell4">
   			<%if(bufInfo.fget("scrap_state",0).equals("0")){ %>
    			<font color="#ff0000">未报废</font>
    			
    			<%}else{ %><font color="#ff0000">已报废</font>
    			
    			<%} %>
   		</tr>
   		<tr bgcolor="#FFFFFF">
   			<td class="cell3">销毁状态</td>
   			<td class="cell4">
   			<%if(bufInfo.fget("destory_state",0).equals("1")){ %>
    			<font color="#ff0000">已销毁M</font>
    			<%}else{ %>
    			<font color="#ff0000">未销毁</font>
    			<%} %>
   			<td class="cell3">&nbsp;</td>
   			<td class="cell4">&nbsp;</td>
   		</tr>
</table><br>
<%@include file="../../../print/print.jsp"%>
</body>
</html>