📄 orderlist.jsp
字号:
<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%>
<%@ include file="/commons/taglibs.jsp" %>
<html>
<head>
<title>${CompanyName }${ProjectName }</title>
<%@ include file="/commons/meta.jsp" %>
</head>
<body class="bodycolor" topmargin="5">
<table class="title1">
<tr>
<td class="Big"><img src="${ctx }/images/notify_new.gif" align="absmiddle"><span class="big3"> 订单信息</span><br>
</td>
</tr>
</table>
<br>
<div align="left">
<fieldset style="width:95%;padding-bottom:5px;">
<legend class="small" align=left>
<b> 快捷操作 </b>
</legend>
<html:form action="order.do" method="post" >
<html:hidden property="p" value="list" />
<table cellspacing="1" class="small" align="left" cellpadding="3">
<tr>
<td nowrap class="TableData"> 订单编号:
<html:text property="orderId" size="20" maxlength="100" />
</td>
<td nowrap class="TableData"> 客户名称:
<html:text property="clientId" size="20" maxlength="100" />
</td>
<td nowrap class="TableData"> 负责人:
<html:text property="employeeId" size="20" maxlength="100" />
</td>
</tr>
<tr>
<td nowrap class="TableData" colspan="2">
<html:submit styleClass="SmallButton" title="模糊查询">快速查询</html:submit>
<input type="button" value="添加订单信息" title="订单资料导入" onClick="location.href='${ctx}/order.do?p=edit'" class="SmallButton">
</td>
</tr>
</table>
</html:form>
</fieldset>
</div>
<br>
<c:if test="${empty orders }">
<%@ include file="/utility/noData.jsp" %>
</c:if>
<c:if test="${! empty sorry }">
<table align="center">
<tr><td align="center"><font style="color:#CC3300; font-size:18px">${sorry }</font></td></tr>
</table>
</c:if>
<%@ include file="/commons/messages.jsp"%>
<!-- 显示数据信息 -->
<c:if test="${! empty orders }">
<table class="tablestyle1">
<tr class="TableHeader">
<td nowrap width="5%" align="center">选择</td>
<td nowrap width="15%" align="center">订单编号</td>
<td nowrap width="15%" align="center">购买日期</td>
<td nowrap width="15%" align="center">客户名称</td>
<td nowrap width="5%" align="center">状态</td>
<td nowrap width="10%" align="center">负责人</td>
<td nowrap width="30%" align="center">操作</td>
</tr>
<c:forEach items="${orders}" var="item">
<tr class="TableLine1">
<td> <input type="checkbox" name="email_select" value="1" onClick="check_one(self);"></td>
<td nowrap align="center">${item.orderId }</td>
<td nowrap align="center">${item.createDate }</td>
<td nowrap align="center">${item.client.clientName }</td>
<td nowrap align="center">
<c:if test="${item.state==1}">已付款</c:if>
<c:if test="${item.state==0}">未付款</c:if>
</td>
<td nowrap align="center">${item.employee.employeeName }</td>
<td nowrap align="center">
<a href="${ctx}/order.do?p=edit&id=${item.id}">编辑</a> |
<a href="${ctx}/order.do?p=delete&id=${item.id}" onClick="{if(confirm('确定要删除该定单吗?')){return true;}return false;}">删除</a> |
<a href="${ctx}/order.do?p=info&id=${item.id}">详细信息</a> |
<a href="${ctx}/list.do?p=edit&id=${item.id}">编辑定单明细</a>
</td>
</tr>
</c:forEach>
<tr class="TableControl">
<td colspan="7">
<input type="checkbox" name="allbox" id="allbox_for" onClick="check_all();">
<label for="allbox_for">全选</label>
<input type="button" value="批量删除" class="SmallButton" onClick="delete_mail();" title="删除所选联系人">
</td>
</tr>
<tr>
<pager:pager value="pager" url="order.do" pagerStr="pagerstruts"/>
</tr>
</table>
</c:if>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -