You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zhky/web/zhyw/smsb/sbwx/showPropertyMaintain.jsp

160 lines
4.2 KiB

1 year ago
<%@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("maintainBuf");
//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("maintain_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("update_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("extract_state",0).equals("1")){ %>
<font color="#ff0000">已取回</font>
<%}else{ %>
<font color="#ff0000">未取回</font>
<%} %>
</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>