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.
153 lines
4.8 KiB
153 lines
4.8 KiB
<%@page import="com.zky.pub.HashFmlBuf"%>
|
|
<%@page language="java" contentType="text/html;charset=utf-8"%>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<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>
|
|
<style>
|
|
.bt{text-align:center;}
|
|
body {
|
|
background-color: #FFF;
|
|
margin:0 auto; width:650px;
|
|
}
|
|
.partone{float:left; font-family:宋体; font-size:16px; font-weight:bolder;}
|
|
.main{float:left; font-family:宋体; font-size:14px; text-align:center;}
|
|
table{border-collapse:collapse; cellspacing="0px" cellpadding="0px"}
|
|
.maintwo{float:left;font-family:宋体; font-size:14px; text-align:center;}
|
|
.footer{float:left;font-family:宋体; font-size:14px; margin-left:500px; margin-top:10px;}
|
|
</style>
|
|
</head>
|
|
<%
|
|
HashFmlBuf buf=(HashFmlBuf)request.getAttribute("useBuf");
|
|
%>
|
|
<!--
|
|
手机型号 HTC HD7
|
|
IMEI码 352811042278873
|
|
SN码 HT11DRG01687
|
|
出厂时间 2011年1月13日
|
|
销售地 新加坡
|
|
-->
|
|
<body>
|
|
<div class="bt">
|
|
<h1>庆阳市资产登记表</h1>
|
|
</div>
|
|
<div class="main">
|
|
<table width="650px" border="1">
|
|
<tr>
|
|
<td>登记人员</td>
|
|
<td><%=buf.fget("use_staffid", 0) %></td>
|
|
<td>登记时间</td>
|
|
<td><%=buf.fget("use_date", 0) %></td>
|
|
</tr>
|
|
<tr>
|
|
<td>使用单位</td>
|
|
<td><%=buf.fget("departname", 0) %></td>
|
|
<td>使用人员</td>
|
|
<td><%=buf.fget("recover_staffid", 0) %></td>
|
|
</tr>
|
|
<tr>
|
|
<td>接受时间</td>
|
|
<td><%=buf.fget("use_date", 0) %></td>
|
|
<td>登记编号</td>
|
|
<td><%=buf.fget("use_id", 0) %></td>
|
|
</tr>
|
|
</table>
|
|
<table width="650px" border="1"cellspacing="0px" cellpadding="0px" style="border-top:none">
|
|
<tr>
|
|
<td width="90" height="30" style="border-top:none">资产编号</td>
|
|
<td width="80" height="30" style="border-top:none">种类</td>
|
|
<td width="80" height="30" style="border-top:none">品牌</td>
|
|
<td width="80" height="30" style="border-top:none">电脑类型</td>
|
|
<td width="80"height="30" style="border-top:none">型号</td>
|
|
<td width="80"height="30" style="border-top:none">资产SN码</td>
|
|
<td width="80"height="30" style="border-top:none">电脑Mac地址</td>
|
|
<td width="80"height="30" style="border-top:none">硬盘序列号</td>
|
|
</tr>
|
|
<%
|
|
HashFmlBuf buf1=(HashFmlBuf)request.getAttribute("useInfo");
|
|
if (buf1 != null) {
|
|
int rowcount = buf1.getRowCount();
|
|
for (int i=0; i<rowcount; i++) {
|
|
String tmpbrand=buf1.fget("property_brand",i);
|
|
if (tmpbrand.equals("1")) {
|
|
tmpbrand = "lenovo(联想)";
|
|
} else if(tmpbrand.equals("2")) {
|
|
tmpbrand = "ASUS(华硕)";
|
|
} else if(tmpbrand.equals("3")) {
|
|
tmpbrand = "HP(惠普)";
|
|
}else if(tmpbrand.equals("4")) {
|
|
tmpbrand="DELL(戴尔)";
|
|
}else if(tmpbrand.equals("5")) {
|
|
tmpbrand="Acer(宏基)";
|
|
}else if(tmpbrand.equals("6")) {
|
|
tmpbrand="Toshiba(东芝)";
|
|
}else if(tmpbrand.equals("7")) {
|
|
tmpbrand="SONY(索尼)";
|
|
}else if(tmpbrand.equals("8")) {
|
|
tmpbrand="Samsung(三星)";
|
|
}else if(tmpbrand.equals("9")) {
|
|
tmpbrand="ThinkPad(联想)";
|
|
}else if(tmpbrand.equals("10")) {
|
|
tmpbrand="清华同方";
|
|
}else if(tmpbrand.equals("11")) {
|
|
tmpbrand="Alienware";
|
|
}else if(tmpbrand.equals("12")) {
|
|
tmpbrand="Apple(苹果)";
|
|
}else if(tmpbrand.equals("13")) {
|
|
tmpbrand="FUJITSU(富士通)";
|
|
}else if(tmpbrand.equals("14")) {
|
|
tmpbrand="GIGABYTE(技嘉)";
|
|
}else if(tmpbrand.equals("15")) {
|
|
tmpbrand="HEDY(七喜)";
|
|
}else if(tmpbrand.equals("16")) {
|
|
tmpbrand="BenQ(明基)";
|
|
}else if(tmpbrand.equals("17")) {
|
|
tmpbrand="Founder(方正)";
|
|
}else if(tmpbrand.equals("18")) {
|
|
tmpbrand="LG";
|
|
}else if(tmpbrand.equals("19")) {
|
|
tmpbrand="Great Wall(长城)";
|
|
}else if(tmpbrand.equals("20")) {
|
|
tmpbrand="Intel";
|
|
}else if(tmpbrand.equals("21")) {
|
|
tmpbrand="典籍";
|
|
}else if(tmpbrand.equals("22")) {
|
|
tmpbrand="DELUX(多彩)";
|
|
}
|
|
|
|
%>
|
|
<tr>
|
|
<td height="28" width="10" align="center"><%=buf1.fget("id",i) %></td>
|
|
<td><%=buf1.fget("property_name",i) %></td>
|
|
<td><%=tmpbrand%></td>
|
|
<td><%=buf1.fget("property_type",i) %></td>
|
|
<td><%=buf1.fget("property_no",i) %></td>
|
|
<td><%=buf1.fget("property_sn",i) %></td>
|
|
<td><%=buf1.fget("property_mac",i) %></td>
|
|
<td><%=buf1.fget("property_soffwe",i) %></td>
|
|
</tr>
|
|
<%
|
|
}
|
|
%>
|
|
<%
|
|
}
|
|
%>
|
|
</table>
|
|
<br/>
|
|
<table align="right">
|
|
<tr>
|
|
<td><b>分发人:</b><%=buf.fget("use_staffid", 0) %></td>
|
|
</tr>
|
|
</table>
|
|
<br/>
|
|
<table align="center">
|
|
<tr>
|
|
<td><%@include file="/print/print.jsp"%></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</body>
|
|
</html>
|