📄 selsporpt.jsp
字号:
<%@ 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -