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

📄 orderformlist.jsp

📁 java开发购物车+网上书城
💻 JSP
字号:
<%@ page contentType="text/html; charset=UTF-8" language="java" import="java.sql.*" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html>
<head>
<style>
<!--
.wr{font-size: 12pt; line-height: 22px}
.wr1 {	FONT-SIZE: 12px; LINE-HEIGHT: 200%}
.wr2 {	FONT-SIZE: 14px; LINE-HEIGHT: 200%}
.wr3 {	FONT-SIZE: 12px}
.wr4 {	FONT-SIZE: 12px; LINE-HEIGHT: 150%}
// -->
</style>
<title>清韵网上书店后台管理系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>

<body bgcolor="#FFFFDB" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<table width="700" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td width="120" class="wr4">&nbsp; </td>
    <td width="1"><img src="images/point.gif" width="1" height="1"></td>
    <td> 
      <div align="center" class="wr4"><b>订单列表</b></div>
    </td>
  </tr>
  <tr> 
    <td width="120" height="30" class="wr4"> 
      <div align="center">[订单状态列表]</div>
    </td>
    <td width="1" height="30" bgcolor="#000000"><img src="images/point.gif" width="1" height="1"></td>
    <td height="30">
    <form action="${pageContext.request.contextPath }/orderSeach.do" method="post" > 
      <div align="center">
        <input type="text" name="condition">
        <input type="submit" name="Submit" value="查找">
      </div>
      </form>
    </td>
  </tr>
  <tr valign="top"> 
    <td width="120" class="wr4"> 
      <div align="center"> 
        <p><a href="${pageContext.request.contextPath }/sale.do">待发货订单</a></p>
        <p><a href="${pageContext.request.contextPath }/pay.do">待付款订单</a></p>
        <p><a href="${pageContext.request.contextPath }/cancle.do">已取消订单</a></p>
        <p><a href="${pageContext.request.contextPath }/history.do">历史订单</a></p>
        <p>
        <c:if test="${sessionScope.name.adminLevel==2}">
			<a href="${pageContext.request.contextPath }/exit.do" style="font-size: 13px;">安全退出</a>
		</c:if>
        </p>
      </div>
    </td>
    <td width="1" bgcolor="#000000"><img src="images/point.gif" width="1" height="1"></td>
    <td> 
      <table width="550" border="0" cellspacing="1" cellpadding="2" align="center" bgcolor="#000000">
        <tr bgcolor="#FFFFDB"> 
          <td class="wr4" width="72" align="center">订单号</td>
          <td class="wr4" width="75" align="center">下单时间</td>
          <td class="wr4" width="74" align="center">收货人</td>
          <td class="wr4" width="64" align="center">订单状态</td>
          <td class="wr4" width="43" align="center">查看</td>
          <td class="wr4" width="85" align="center">操作</td>
        </tr>
        <c:forEach items="${requestScope.order_list}" var="order">
        <tr bgcolor="#FFFFDB" align="center"> 
          <td class="wr4" width="72">${order.orderId }</td>
          <td class="wr4" width="75">${order.orderTime }</td>
          <td class="wr4" width="74">${order.custmorName }</td>
          <td class="wr4" width="64" align="center">
          	<c:choose>
          		<c:when test="${order.orderState==1}">等待发货</c:when>
          		<c:when test="${order.orderState==2}">等待付款</c:when>
          		<c:when test="${order.orderState==3}">已取消</c:when>
          		<c:otherwise>已付款</c:otherwise>
          	</c:choose>
          </td>
          <td class="wr4" width="43" align="center"><a href="${pageContext.request.contextPath }/see.do?id=${order.orderId }">查看</a></td>
          <td class="wr4" width="90">
          <c:choose>
          <c:when test="${order.orderState==1}"><a href="${pageContext.request.contextPath }/sendGoods.do?id=${order.orderId }">发货</a>&nbsp;&nbsp;   <a href="${pageContext.request.contextPath }/cancleGoods.do?id=${order.orderId }">取消</a></c:when>
          <c:when test="${order.orderState==2}"><a href="${pageContext.request.contextPath }/succeed.do?id=${order.orderId }">确认</a></c:when>
          <c:when test="${order.orderState==3}"><a href="${pageContext.request.contextPath }/renew.do?id=${order.orderId }">恢复</a></c:when>
          <c:otherwise>完成</c:otherwise>
           </c:choose>
           </td>
        </tr>
        </c:forEach>
        
        <tr bgcolor="#FFFFDB"> 
          <td class="wr4" colspan="7"> 
            <div align="right">01 02 03 04 05 06 07 08 09 10 &gt;&gt;&gt;</div>
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
</table>
<br/><br/><br/><br/>

</body>
</html>

⌨️ 快捷键说明

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