?? bill.jsp
字號:
<%@page contentType="text/html; charset=GBK"%>
<%@ taglib prefix="c" uri="/WEB-INF/c.tld" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/sql" prefix="sql"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<html>
<head>
<title>select</title>
<style type="text/css">
<!--
#Layer1 {
position:absolute;
left:585px;
top:16px;
width:472px;
height:279px;
z-index:1;
}
.STYLE4 {
font-family: "新宋體";
font-size: 36px;
color: #9966FF;
}
.aaa {
font-family: "宋體";
font-size: 14px;
color: #0000ff;
}
.STYLE6 {
font-size: 14px;
color: #0000FF;
}
.STYLE7 {
font-size: 14px;
font-weight: bold;
}
body {
background-image: url(images/bg3.gif);
}
.STYLE5 {font-size: 12px}
-->
</style>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/chuyun/skin.css">
<script type="text/javascript" src="<%=request.getContextPath()%>/chuyun/skin.js"></script>
<script type="text/javaScript">
function submitForm()
{
if(document.form1.selectValue.value=="")
{
alert("請輸入查找關鍵字");
document.form1.selectValue.focus();
return false;
}else
{
return true;
}
}
function toPage()
{
if(document.form1.pageText.value=="")
{
alert("請輸入要前往的頁數");
document.form1.pageText.focus();
return false;
}else
{
a=document.form1.pageText.value;
if(parseInt(a) <= 0||parseInt(a) >= parseInt("${requestScope.pagecount}"))
a="${requestScope.pagecount}";
if(parseInt(a) >= parseInt("${requestScope.pagecount}"))
a="${requestScope.pagecount}";
document.form1.action = "<%=request.getContextPath()%>/select.do?page="+a;
return true;
}
}
function gomake(id)
{
window.location = "<%=request.getContextPath()%>/makes.do?id="+id;
}
</script>
</head>
<body bgcolor="#ffffff">
<center>
<form name="form1" action="<%=request.getContextPath()%>/query.do" method="POST" >
<c:if test="${not empty requestScope.queryList}">
<table border="0" cellpadding="3" cellspacing="3" width="725" height="16">
<tr height="1" class="head" >
<th>顧客姓名 </th>
<th>分銷商名稱 </th>
<th>訂貨日期 </th>
<th>負責人姓名 </th>
<th>狀態</th>
<th>類型</th>
<th>確認日期 </th>
<th>選擇倉庫</th>
</tr>
<c:forEach var="order" items="${requestScope.queryList}">
<tr height="1" class="single-item">
<td>${order.customername} </td>
<td>${order.sell} </td>
<td>${order.ordertime}</td>
<td>${order.principal}</td>
<td>${order.status}</td>
<td>${order.type} </td>
<td>${order.verifytime}</td>
<td> <center> <input type="button" onclick="return gomake('${order.ID}');" value="提交"/></center></td>
</tr>
</c:forEach>
</table>
<table>
<tr class="double-item">
<td>
<a href="<%=request.getContextPath()%>/query.do?action=frist&selectValue=${requestScope.selectValue}">首頁</a>
</td>
<td>
<c:if test="${requestScope.page==1}">上一頁</c:if>
<c:if test="${requestScope.page!=1}">
<a href="<%=request.getContextPath()%>/query.do?action=next&page=${requestScope.page-1}&selectValue=${requestScope.selectValue}">上一頁</a>
</c:if>
</td>
<td>
<c:if test="${requestScope.page==requestScope.pagecount}">下一頁</c:if>
<c:if test="${requestScope.page!=requestScope.pagecount}">
<a href="<%=request.getContextPath()%>/query.do?action=next&page=${requestScope.page+1}&selectValue=${requestScope.selectValue}">下一頁</a>
</c:if>
</td>
<td>
<a href="<%=request.getContextPath()%>/query.do?action=last&selectValue=${requestScope.selectValue}">尾頁</a>
</td>
<td>${requestScope.page} /
${requestScope.pagecount} </td>
<td> 轉到
<input type="text" size="2" name="pageText" onkeyup="value=value.replace(/[^\d]/g,'') " onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" value="${requestScope.page}"/>
<input type="submit" onclick="return toPage(this)" value="GO"/>
</td>
</tr>
</table>
<center><a href="${pageContext.request.contextPath}/chuyun/main.jsp"><img src="${pageContext.request.contextPath}/images/gone.png" width="60" height="30"></a></center>
<br>
<br>
<hr>
</c:if>
</form>
</center>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -