selsporpt.jsp

来自「阳光超市管理系统 阳光超市管理系统(07.6.12」· JSP 代码 · 共 59 行

JSP
59
字号
<%@ page language="java"  pageEncoding="gb2312"%>
<jsp:directive.page import="finance.FinanceBean;"/>
<html>
  <head>
    <title>商品报损报表</title>
  </head>
  
	<body text="#666666">


<div align=center>
  <%
	FinanceBean[] fbs=(FinanceBean[])request.getAttribute("fbs");
	if (fbs!= null) {
 %>
    <div align="center"><h3>欣欣超市商品报损报表</h3></div>
    <p>
   	统计日期:<%=request.getParameter("fromdate")%>
   至 <%=request.getParameter("todate")%>
   <table align="center" border="1" width="98%" cellspacing="1" cellpadding="1" bordercolor="#DADADA" bordercolordark="EBEBEB">
			<tr bgcolor="#EBEBEB">
				<th width="%8" align="center"><font size="3"><span style="font-weight: normal;">商品编号</span></font><br></th>
				<th width="%8" align="center"><font size="3"><span style="font-weight: normal;">商品名称</span></font><br></th>
				<th width="%8" align="center"><font size="3"><span style="font-weight: normal;">报损数量</span></font><br></th>
				<th width="%8" align="center"><font size="3"><span style="font-weight: normal;">报损金额</span></font><br></th>
				<th width="%8" align="center"><font size="3"><span style="font-weight: normal;">报损日期</span></font><br></th>
				<th width="%8" align="center"><font size="3"><span style="font-weight: normal;">报损原因</span></font><br></th>
			</tr>
			
			<%
			for (int i = 0; i <fbs.length; i++) {
			%>
				<tr>
				<th width="%8" align="center"><span style="font-weight: normal;">
					<%=fbs[i].getMerchID()%></span><br></th>
				<th width="%8" align="center"><span style="font-weight: normal;">
					<%=fbs[i].getMerchName()%></span><br></th>
				<th width="%8" align="center"><span style="font-weight: normal;">
					<%=fbs[i].getSpoilNum()%></span><br></th>
				<th width="%8" align="center"><span style="font-weight: normal;">
					<%=fbs[i].getSpoTotal()%></span><br></th>
				<th width="%8" align="center"><span style="font-weight: normal;">
					<%=fbs[i].getRegDate()%></span><br></th>
				<th width="%5" align="center"><span style="font-weight: normal;">
					<%=fbs[i].getSpoilageCause() %></span><br></th>
				</tr>
			<%
			}
			%>
			
	</table>
	<%
	}
	%>
	</div>	
  </body>
</html>

⌨️ 快捷键说明

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