⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 asset.jsp

📁 设备管理系统 包括设备管理
💻 JSP
字号:
<%@ page contentType="text/html;charset=gb2312" %>
<%@ include file="../incoming/Common.jsp"%>
<%@ include file="../Check.jsp"%>
<%			
	Vector listasset = Asset.ListAll();
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<title><%=title%></title>
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen">
<script language="javascript">
function confirmdel(a) 
{
if (confirm("真的要删除固定资产 "+a+" ?") )
  top.location="DelAssetStep1.jsp?assetid="+a
}
</script>
</head>
<body>
<%@ include file="../incoming/Header.jsp"%>
<table width="900" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td width="100" valign="top" background="../images/in_left_bg.gif"><%@ include file="AssetLeft.jsp"%></td>
    <td width="800" align="center" valign="top">
	<p align="center" class="title2">固定资产</p>
    <table width="780"  border="1" cellpadding="3" cellspacing="0" bordercolor="#CCCCCC">
      <tr bgcolor="#E7E7E7">
        <td width="67"><div align="center">资产编号</div></td>
        <td width="71"><div align="center">资产名称</div></td>
        <td width="64"><div align="center">类别</div></td>
        <td width="67"><div align="center">型号</div></td>
        <td width="72"><div align="center">入帐日期</div></td>
        <td width="45"><div align="center">数量</div></td>
        <td width="69"><div align="center">使用部门</div></td>
        <td width="91"><div align="center">添加类型</div></td>
        <td width="160"><div align="center">操作</div></td>
      </tr>
<%		
      for(int i=0;i<listasset.size();i++) 
	  {
			Asset asset = (Asset)listasset.elementAt(i);  
%>			
	  <tr>
        <td><div align="center"><a href="ViewAssetStep1.jsp?assetid=<%=asset.getAssetID()%>"><%=DataConvert.ViewStr(asset.getAssetID())%></a></div></td>
        <td><div align="center"><%=DataConvert.ViewStr(asset.getAssetName())%></div></td>
        <td><div align="center"><%=DataConvert.ViewStr(asset.getType())%></div></td>
        <td><div align="center"><%=DataConvert.ViewStr(asset.getSubType())%></div></td>
        <td><div align="center"><%=DataConvert.ViewStr(asset.getAddDate())%></div></td>
        <td><div align="center"><%=DataConvert.ViewStr(asset.getAssetNum())%></div></td>
        <td><div align="center"><%=DataConvert.ViewStr(asset.getUseDept())%></div></td>
		<td><div align="center"><%=DataConvert.ViewStr(asset.getAddType())%></div></td>
        <td><div align="center"><a href="ClearAssetStep1.jsp?assetid=<%=asset.getAssetID()%>">清理</a> <a href="ModifyAssetStep1.jsp?assetid=<%=asset.getAssetID()%>">修改</a> <a href="javascript:confirmdel('<%=asset.getAssetID()%>')">删除</a></div></td>
	  </tr>
<%
	}
%>		
    </table>
    </td>
  </tr>
</table>
<%@ include file="../incoming/Footer.jsp"%>	
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -