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

📄 orders.jsp

📁 通过这个系统完成对客户基本信息、联系人信息、交往信息、客户服务信息的充分共享和规范化管理;希望通过对销售机会、客户开发过程的追踪和记录
💻 JSP
字号:
<%@ page language="java" pageEncoding="GBK"%>
<%@ include file="../../include.inc"%>
<jsp:directive.page import="com.t53.crm4.common.PaginationBean" />

<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>
		<script type="text/javascript"
			src="<%=request.getContextPath()%>/js/customer-ajax.js"></script>
	</head>
	<body>
		<html:form
			action="/customer/orders.do?op=show&custNo=${requestScope.custNo}">
			<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">
				<tr>
					<th>
						客户编号
					</th>
					<td>
						${requestScope.custNo }
					</td>
					<th>
						客户名称
					</th>
					<td>
						${requestScope.custName }
					</td>
				</tr>
			</table>
			<br />
			<table class="data_list_table">
				<tr>
					<th>
						订单编号
					</th>
					<th>
						日期
					</th>
					<th>
						送货地址
					</th>
					<th>
						状态
					</th>
					<th>
						操作
					</th>
				</tr>
				<c:if test="${not empty requestScope.orderList}">
					<c:forEach items="${requestScope.orderList}" var="order">
						<tr>
							<td class="list_data_text">
								${order.odrId }
							</td>
							<td class="list_data_text">
								${order.odrDate }
							</td>
							<td class="list_data_text">
								${order.odrAddr }
							</td>
							<td class="list_data_text">
								<c:choose>
									<c:when test="${order.odrStatus eq 1 }">
									新创建
								</c:when>
									<c:when test="${order.odrStatus eq 5 }">
									已发货
								</c:when>
									<c:when test="${order.odrStatus eq 6 }">
									已回款
								</c:when>
								</c:choose>

							</td>
							<td class="list_data_op">
								<img
									onclick="to('<%=request.getContextPath()%>/customer/orders.do?op=detail&odrId=${order.odrId }');"
									title="查看明细"
									src="<%=request.getContextPath()%>/images/bt_detail.gif"
									class="op_button" />
							</td>
						</tr>
					</c:forEach>

					<tr>
						<th colspan="100" class="pager">
							<div class="pager">

								<span><html:hidden property="bean.maxinum" write="true" />
								</span> 条 每页
								<html:text property="bean.perCount" styleClass="mytext"
									style="width:30px;"></html:text>
								条 第
								<span>${requestScope.custForm.bean.pageCount}</span>页/共
								<span><html:hidden property="bean.pageNum" write="true" />
								</span>页
								<input type="button" value="首页" name="btn1"
									onclick="sub('<%=PaginationBean.FIRST%>')"
									class="common_button" />
								<input type="button" value="上一页" name="btn2"
									onclick="sub('<%=PaginationBean.PREVIOUS%>')"
									class="common_button" />
								<input type="button" value="下一页" name="btn3"
									onclick="sub('<%=PaginationBean.NEXT%>')" class="common_button" />
								<input type="button" value="尾页" name="btn4"
									onclick="sub('<%=PaginationBean.LAST%>')" class="common_button" />
								转到
								<html:text property="bean.pageCount" styleClass="mytext"
									style="width:30px;"></html:text>
								<input type="button" value="GO" name="btn5" onclick="sub('')"
									class="common_button" />
								<html:hidden styleId="bean.operate" property="bean.operate" />
							</div>
						</th>
					</tr>
				</c:if>
				<c:if test="${empty requestScope.orderList}">
					<tr>
						<td colspan="7" style="color: red; font-size: 15px;"
							align="center">
							快返回吧,[&nbsp;${requestScope.custName }&nbsp;]目前没有历史订单!!
						</td>
					</tr>
				</c:if>
			</table>
		</html:form>
	</body>
</html>

⌨️ 快捷键说明

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