📄 orders_detail.jsp
字号:
<%@ page language="java" pageEncoding="GBK"%>
<%@ include file="../../include.inc"%>
<html>
<head>
<title>jb-aptech毕业设计项目</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="<%=request.getContextPath()%>/css/style.css"
rel="stylesheet" type="text/css">
<script src="<%=request.getContextPath()%>/js/customer.js"></script>
</head>
<body>
<div class="page_title">
客户信息管理 > 客户信息 > 历史订单 > 订单明细
</div>
<div class="button_bar">
<button class="common_button" onclick="help('');">
帮助
</button>
<button class="common_button" onclick="back();">
返回
</button>
</div>
<table class="query_form_table" height="59">
<tr>
<th>
订单编号
</th>
<td>
${requestScope.orderList[0].odrId }
</td>
<th>
日期
</th>
<td>
${requestScope.orderList[0].odrDate }
</td>
</tr>
<tr>
<th height="28">
送货地址
</th>
<td>
${requestScope.orderList[0].odrAddr }
</td>
<th height="28">
总金额(元)
</th>
<td>
${requestScope.total}
</td>
</tr>
<tr>
<th height="28">
状态
</th>
<td>
<c:if test="${requestScope.orderList[0].odrStatus eq 1 }">
新创建
</c:if>
<c:if test="${requestScope.orderList[0].odrStatus eq 5 }">
已发货
</c:if>
<c:if test="${requestScope.orderList[0].odrStatus eq 6 }">
已回款
</c:if>
</td>
<th height="28">
</th>
<td>
</td>
</tr>
</table>
<br />
<table class="data_list_table">
<tr>
<th>
商品
</th>
<th>
数量
</th>
<th>
单位
</th>
<th>
单价(元)
</th>
<th>
金额(元)
</th>
</tr>
<tr>
<c:if test="${not empty requestScope.oLine}">
<c:forEach items="${requestScope.oLine}" var="order">
<td class="list_data_text">
${order.product.prodName}
</td>
<td class="list_data_ltext">
${order.oddCount}
</td>
<td class="list_data_text">
${order.oddUnit}
</td>
<td class="list_data_text">
${order.oddPrice}
</td>
<td class="list_data_text">
${order.oddCount*order.oddPrice}
</td>
</tr>
</c:forEach>
</c:if>
<c:if test="${empty requestScope.oLine}">
<tr>
<td colspan="5" style="color:red" align="center">您目前不存在任何商品</td>
</tr>
</c:if>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -