<%@include file="/auth.jsp"%>
<%@page import="java.util.Date"%>
<%@ page import="com.zky.bjca.SM4" %>
<%@ page import="cn.org.bjca.utils.Base64" %>
<%@page language="java" pageEncoding="utf-8" %>
<jsp:useBean id="getPara" scope="application" class="com.zky.para.SyncPara"/>
<%
HashFmlBuf bufInfo=(HashFmlBuf)request.getAttribute("by_PropertyBy");
%>
<html>
<head>
<title>资产变更</title>
<link href="../../../css/font.css" rel="stylesheet" type="text/css">
<script src="../../../js/date.js"></script>
<script src="../../../js/check.js"></script>
<script >
function check(operate) {
	form1.operate.value = operate;
	if (operate == "PropertyUseEditChangeSave") {		
		form1.action="/servlet/PropertyUseManage?operate=PropertyUseEditChangeSave";
	}
	form1.button1.disabled=true;
	form1.button2.disabled=true;
	form1.submit();
}
</script>
<style type="text/css">
.aselect
{
   width:156px;
}
</style>

<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;
}
table#csstable #bottomcss td{
	border-bottom:#D8E9FE 0px solid;
}
</style>
</head>
<body onload="setValue();">
<br>
<table width="90%"  border="0" align="center" cellpadding="0" cellspacing="1" class="box">
  <tr>
    <td valign="top"><table width="100%" height="23"  border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td width="25%" background="../../../images/tab_search_01.jpg"><table width="80%" height="23" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="3%"><img src="../../../images/little_red.jpg" width="12" height="12"></td>
                <td width="97%" class="font12b">&nbsp;资产变更</td>
              </tr>
          </table></td>
          <td width="82%" background="../../../images/tab_search_03.jpg"><img src="../../../images/tab_search_02.jpg" width="12" height="23"></td>
        </tr>
      </table> 
<form name="form1" method="post" action="/servlet/PropertyMaintainManage">
<input type="hidden" name="operate" value="operate"/>
<input type="hidden" name="usedetailid"  value="<%=bufInfo.fget("use_id",0)%>"/>
<input type="hidden" name="reverdepart" value="<%=bufInfo.fget("recover_departid",0) %>"/>
<input type="hidden" name="reverstaff" value="<%=bufInfo.fget("recover_staffid",0) %>"/>
<br>
			<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
        		<tr>
          			<td width="3%"><img src="/images/little.gif" width="12" height="12"></td>
          			<td width="97%" class="font12">详细信息</td>
        		</tr>
      		</table>	
   <table width="90%"  border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="d8e9fe" class="table02">
		<tr bgcolor="#FFFFFF">
		<td class="cell1">登记编号</td>
		<td class="cell2">
        <font color="gray" size=3><%=bufInfo.fget("use_id", 0)%></font>
		</td>		
		<td class="cell1">资产编号</td>
   		<td class="td1">
         <input type="hidden"  name="Id"  value="<%=bufInfo.fget("id", 0)%>" readonly="readonly"/> 
		 <font color="gray" size=3><%=bufInfo.fget("id", 0)%></font>
		</td>
		</tr>
		<tr bgcolor="#FFFFFF">
		<td class="cell1">使用单位</td>
		<td class="cell2">
		<font color="gray" size=3><%=bufInfo.fget("recover_departid", 0)%></font>
		</td>		
		<td class="cell1">使用人员</td>
   		<td class="td1">
<%--		<font color="gray" size=3><%=SM4.SM4Decrypt(Base64.decode(bufInfo.fget("recover_staffid", 0)))%></font>--%>
	        <font color="gray" size=3><%=bufInfo.fget("recover_staffid", 0)%></font>
		</td>
		</tr>
		<tr bgcolor="#FFFFFF">
		<td class="cell1">资产名称</td>
		<td class="cell2">
     	<font color="gray" size=3><%=bufInfo.fget("property_name", 0)%></font>
		</td>
		<td class="cell1">资产品牌</td>
		<td class="cell2">
		<%
		  String tmpbrand=bufInfo.fget("property_brand",0);
		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(多彩)";
		}
		%>
		<font color="gray" size=3><%=tmpbrand%></font>
		</td>
	    </tr>
	    <tr bgcolor="#FFFFFF">
		<td class="cell1">资产型号</td>
		<td class="cell2">
		<font color="gray" size=3><%=bufInfo.fget("property_no", 0)%></font>
		</td>
		<td class="cell1">资产SN码</td>
		<td class="cell2">
		<font color="gray" size=3><%=bufInfo.fget("property_sn", 0)%></font>
		</td>
	    </tr>
</table>
	<br>
	<table width="90%" border="0" align="center" cellpadding="0" cellspacing="0">
        		<tr>
          			<td width="3%"><img src="/images/little.gif" width="12" height="12"></td>
          			<td width="97%" class="font12">基本信息</td>
        		</tr>
    </table>	
    <table width="90%"  border="0" align="center" cellpadding="2" cellspacing="1" bgcolor="d8e9fe" class="table02">
		<tr bgcolor="#FFFFFF">
		<td class="cell1">使用单位</td>
		<td class="cell2">
        <input type="text"  name="useDepart" />
		</td>		
		<td class="cell1">使用人员</td>
   		<td class="td1">
         <input type="text"  name="useStaff" />
		</td>
		</tr>
		</table>
	<table width="90%" align="center">
		<tr align="center">
		<td><input type="button" name="button1" value=" 保存 " class="box_button" onclick="check('PropertyUseEditChangeSave');"/>
		&nbsp;&nbsp;
	<input type="button" name="button2" value=" 返回 " class="box_button" onclick="history.back();"/>
		</td>
		</tr>
	</table>	
</form>
	 </td>
  </tr>
</table>
<%@include file="/foot.jsp"%>
</body>
</html>