ordermanage.jsp

来自「主要是航空预订系统」· JSP 代码 · 共 115 行

JSP
115
字号
<%@ page language="java" contentType="text/html; charset=gbk"
    pageEncoding="gbk"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html:html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>无标题文档</title>
<style type="text/css">
<!--
.STYLE1 {font-size: 16px}
-->
</style>
</head>

<body>
<table width="941" height="94" border="1">
  <tr>
    <th height="29" colspan="14" scope="col"><div align="left"><span class="STYLE1">定单列表</span></div></th>
  </tr>
  <tr>
    <td>编号</td>
    <td>航班号</td>
    <td>联系人</td>
    <td>联系电话</td>
    <td>保险单价</td>
    <td>保险数量</td>
    <td>成人票数</td>
    <td>儿童票数</td>
    <td>婴儿票数</td>
    <td>付款方式</td>
    <td>配送方式</td>
    <td>送到地址</td>
    <td>送到日期</td>
    <td>送到时间</td>
    <td>邮寄地址</td>
    <td>邮编</td>
    <td>自取地址</td>
    <td>订票成功</td>
    <td>订票失败</td>
    <td>操作</td>
  </tr>
  <logic:present name="destines">
    <logic:iterate id="destine" name="destines">
	  <tr>
	    <td height="26">${destine.destineId}&nbsp;</td>
	    <td>${destine.fightNo }&nbsp;</td>
	    <td>${destine.contactPerson }&nbsp;</td>
	    <td>${destine.contactPhone }&nbsp;</td>
	    <td>${destine.insurancePrice }&nbsp;</td>
	    <td>${destine.insuranceNum }&nbsp;</td>
	    <td>${destine.adultNum }&nbsp;</td>
	    <td>${destine.childNum }&nbsp;</td>
	    <td>${destine.babyNum }&nbsp;</td>
	    <td>${destine.payStyle }&nbsp;</td>
	    <td>${destine.distributeStyle }&nbsp;</td>
	    <logic:notMatch value="null" name="destine" property="sendAddress">
	    	<td><bean:write name="destine" property="sendAddress"/>&nbsp;</td>
	    </logic:notMatch>
	    <logic:match value="null" name="destine" property="sendAddress">
	    	<td>&nbsp;</td>
	    </logic:match>
	    <logic:notMatch value="null" name="destine" property="sendDate">
	    	<td><bean:write name="destine" property="sendDate"/>&nbsp;</td>
	    </logic:notMatch>
	    <logic:match value="null" name="destine" property="sendDate">
	    	<td>&nbsp;</td>
	    </logic:match>
	    <logic:notMatch value="null" name="destine" property="sendTime">
	    	<td><bean:write name="destine" property="sendTime"/>&nbsp;</td>
	    </logic:notMatch>
	    <logic:match value="null" name="destine" property="sendTime">
	    	<td>&nbsp;</td>
	    </logic:match>
	    
	    <logic:notMatch value="null" name="destine" property="postAddress">
	    	<td><bean:write name="destine" property="postAddress"/>&nbsp;</td>
	    </logic:notMatch>
	    <logic:match value="null" name="destine" property="postAddress">
	    	<td>&nbsp;</td>
	    </logic:match>
	    
	    <logic:notMatch value="null" name="destine" property="post">
	    	<td><bean:write name="destine" property="post"/>&nbsp;</td>
	    </logic:notMatch>
	    <logic:match value="null" name="destine" property="post">
	    	<td>&nbsp;</td>
	    </logic:match>
	    
	     <logic:notMatch value="null" name="destine" property="takeSelfAddress">
	    	 <td><bean:write name="destine" property="takeSelfAddress"/>&nbsp;</td>
	    </logic:notMatch>
	    <logic:match value="null" name="destine" property="takeSelfAddress">
	    	<td>&nbsp;</td>
	    </logic:match>
	   
	    <td>
	    <a href="/air/updateOrderStatusAction.do?act=success&did=${destine.destineId}">标记</a>&nbsp;
	    </td>
	    <td>
	    <a href="/air/updateOrderStatusAction.do?act=failure&did=${destine.destineId}">标记</a>&nbsp;
	    </td>
	    <td>
	    <a href="/air/deleteOrderAction.do?did=${destine.destineId}">删除</a>&nbsp;
	    </td>
	    
	  </tr>
    </logic:iterate>
  </logic:present>
</table>
</body>
</html:html>

⌨️ 快捷键说明

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