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

📄 ulltageproductreport.jsp

📁 (Java+SQL)-大型企业JAVA的ERP系统
💻 JSP
字号:
<%@page import="java.sql.*"%>
<jsp:useBean id="ulltageProduct" class="src.report.UlltageProductReport" scope="session"/>
<jsp:useBean id="global" class="src.com.MyGlobal" scope="session"/>

<% if (global.isLogined == false) {
%>
<jsp:forward page="../pub/DBErr.jsp" > 
	<jsp:param name="rtcode" value="-4" />
</jsp:forward>
<%	}
%>

<html>
<head>
<title>领用记录表</title>
<link rel="stylesheet" href="report.css">
</head>

<body>
<center><br><FONT class=f16>江苏五洋集团有限公司 <%= ulltageProduct.getStringDate(ulltageProduct.beginDate,1) %> 年到货记录表</FONT><center>
<%= ulltageProduct.getStringDate(ulltageProduct.beginDate,1) %>-<%= ulltageProduct.getStringDate(ulltageProduct.beginDate,2) %>
<table border="1" cellspacing="0" cellpadding="2" bordercolor="#000000">
	<tr>
		<td align="center">部门</td>
		<td align="center">易耗品名称</td>		
		<td align="center">规格/型号</td>
		<td align="center">数量</td>		
		<td align="center">价格</td>
		<td align="center">总价</td>		
	</tr>	
<%
int position,state,curPage,totalPage;    
int numInOnePage = ulltageProduct.getNumInOnePage();
ulltageProduct.listPage(request);

position = ulltageProduct.listPosition;
state = ulltageProduct.state;
curPage = ulltageProduct.curPage;
totalPage = ulltageProduct.totalPage;

for(int listCount = 0; listCount < numInOnePage && (ulltageProduct.next() > 0) ; listCount++) {
%>
	<tr> 
		<td><%= ulltageProduct.getDepartmentName() %></td>
		<td align="center"><%= ulltageProduct.getProductName() %></td>		
		<td align="center"><%= ulltageProduct.getProductType() %></td>
		<td align="right"><%= ulltageProduct.doubleFormat(ulltageProduct.getQuantity(),4) %></td>
		<td align="right"><%= ulltageProduct.doubleFormat(ulltageProduct.getPrice(),2) %></td>
		<td align="right"><%= ulltageProduct.doubleFormat(ulltageProduct.getQuantity()*ulltageProduct.getPrice(),2) %></td>
	</tr>
<%} %>
</table>
<p>
<table border="0" align="center">
<div id = "pannel">
		<input type="button" value=" 打印 " onclick=" window.pannel.style.visibility='hidden';window.print(); window.pannel.style.display='block';">
<%    if (position==0&&state==0){ %>
         页码 <%=curPage %>&nbsp/&nbsp<%=totalPage%>                     
<% } else if (position==0&&state==2){ %>
	<a href="UlltageProductReport.jsp?browseMode=next&position=<%=position%>&curPage=<%=curPage%>">下一页</a>&nbsp&nbsp&nbsp页码 <%=curPage %>&nbsp/&nbsp<%=totalPage%>
<% } else if (position>0&&state==-1){ %>
	<a href="UlltageProductReport.jsp?browseMode=previous&position=<%=position%>&curPage=<%=curPage%>">上一页</a>&nbsp&nbsp&nbsp&nbsp&nbsp页码 <%=curPage %>&nbsp/&nbsp<%=totalPage%>
<% } else if (position>0&&state==1){ %>
	<a href="UlltageProductReport.jsp?browseMode=previous&position=<%=position%>&curPage=<%=curPage%>">上一页</a>&nbsp&nbsp<a href="UlltageProductReport.jsp?browseMode=next&position=<%=position%>&curPage=<%=curPage%>">下一页</a>&nbsp&nbsp页码 <%=curPage %>&nbsp/&nbsp<%=totalPage%>
<% } %>	
<div>
</table>
</body>
</html>

⌨️ 快捷键说明

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