📄 sellselect.jsp
字号:
<%@page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage=""%>
<%@ page import="java.util.List"%>
<%@ page import="com.actionForm.BookSellForm"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>翼飞图书管理系统——图书管理</title>
</head>
<%
List list=(List)request.getAttribute("list");
String changeNumber=(String)request.getAttribute("number");
int number=Integer.parseInt(changeNumber);
String changeMaxPage=(String)request.getAttribute("maxPage");
int maxPage=Integer.parseInt(changeMaxPage);
%>
<script language="javascript">
function deleteForm(date){
if(confirm("确定删除吗?")){
window.location.href="bookSellAction.do?method=deleteBookSellAction&id="+date;
}
}
</script>
<body>
<div align="center">
<jsp:include page="../topOne.jsp" flush="true"/>
<jsp:include page="../topTwo.jsp" flush="true"/>
<table width="799" border="0" cellpadding="0" cellspacing="0" background="Images/upPlace.jpg">
<tr>
<td height="21" class="word_black">
您当前的位置——图书销售——销售查询</td>
</tr>
</table>
<table width="799" height="28" border="0" cellpadding="0" cellspacing="0" background="Images/operationOne.jpg">
<tr align="center">
<td class="style2"> ———————图书销售查询——————— </td>
</tr>
</table>
<table width="799" height="457" border="0" cellpadding="0" cellspacing="0" class="tableBorder_B_dashed">
<tr>
<td valign="top" align="center">
<br>
<table border="1" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#819BBC">
<tr bgcolor="#83B9FF" class="word_white" align="center">
<td width="100" height="25">销售图书编号</td>
<td width="100">图书名称</td>
<td width="100">图书零售价格</td>
<td width="100">图书零售数量</td>
<td width="100">操作</td>
</tr>
<%for(int i=0;i<list.size();i++){
BookSellForm form=(BookSellForm)list.get(i);
%>
<tr align="center">
<td height="25"><%=form.getBookCard()%></td>
<td><%=form.getBookName()%></td>
<td><%=form.getBookPrice()%>元</td>
<td><%=form.getSellNumber()%>本</td>
<td><a href="javascript:deleteForm('<%=form.getId()%>')">删除</a></td>
</tr>
<%}%>
</table>
<table width="500" height="22" border="0" cellpadding="0" cellspacing="0">
<tr align="left">
<td width="426"><%=number+1%>/<%=maxPage%>页</td>
<td width="292" align="right">
<%if(number>0){%>
<a href="bookSellAction.do?method=selectBookSellAction&number=<%=number-1%>">上一页</a>
<%}%>
<%if(number<maxPage-1){%>
<a href="bookSellAction.do?method=selectBookSellAction&number=<%=number+1%>">下一页</a></td>
<%}%>
</tr>
</table>
</td>
</tr>
</table>
<jsp:include page="../bottom.jsp" flush="true"/>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -