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

📄 orderdetails.jsp

📁 很好的东东 本人随便做的 仅供学习之用
💻 JSP
字号:
<%@ page language="java" pageEncoding="gb2312"%>

<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html" %>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html locale="true">
  <head>
    <html:base />
    
    <title>orderDetails.jsp</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

    <style type="text/css">
<!--
.style1 {
	font-family: "宋体";
	font-size: 14px;
}
body {
	background-color: #CCCCCC;
}
.style2 {
	font-size: 16px;
	font-weight: bold;
	color: #0000FF;
}
-->
    </style>
  <meta http-equiv="Content-Type" content="text/html; charset=gb2312"></head>
  
  <body>
    <h2 align="center">详细信息</h2>
    <br>
    <table width="500" border="0" align="center" class="style1">
      <tr>
        <td height="27" colspan="5" valign="middle"><span class="style2">订单信息</span></td>
      </tr>
      <tr>
        <td width="75">客户:</td>
        <td width="120"><bean:write name="order" property="customerName" /></td>
        <td width="44">&nbsp;</td>
        <td width="75">负责人:</td>
        <td width="164"><bean:write name="order" property="principalName" /></td>
      </tr>
      <tr>
        <td>订货日期:</td>
        <td><bean:write name="order" property="orderTime" /></td>
        <td>&nbsp;</td>
        <td>审核日期:</td>
        <td><bean:write name="order" property="orderTime" /></td>
      </tr>
      <tr>
        <td>状态:</td>
        <td><bean:write name="order" property="status" /></td>
        <td>&nbsp;</td>
        <td>类型:</td>
        <td><bean:write name="order" property="type" /></td>
      </tr>
      <tr>
        <td>收货地址:</td>
        <td colspan="4"><bean:write name="order" property="address" /></td>
      </tr>
  </table>
  <hr/>
    <table width="500" border="0" align="center" cellspacing="0" class="style1">
      <tr>
        <td height="26" class="style2">订单明细</td>
      </tr>
      <tr>
	  <td>
	  <table width="500" border="1" cellspacing="0" class="style1" >
	  <tr>
        <td width="102">药品编号</td>
        <td width="187">药品名称</td>
        <td width="105">单价</td>
        <td width="88">定购数量</td>
      </tr>
  <logic:present name="list">
  <logic:iterate id="detail" name="list">
      <tr>
        <td align="left"><bean:write name="detail" property="drugNo" />&nbsp;</td>
        <td align="left"><bean:write name="detail" property="drugName" />&nbsp;</td>
        <td align="left"><bean:write name="detail" property="price" />&nbsp;</td>
        <td align="center"><bean:write name="detail" property="count" />&nbsp;</td>
      </tr>
  </logic:iterate>    
  </logic:present> 
  
  <logic:present name="noOrderDetails">
      <tr height="50" ><td colspan="4" align="center">找不到订货明细记录!</td></tr>
  </logic:present>
         
	  </table>
	  </td>
	  </tr>
  </table>
  <p>&nbsp;</p>
  </body>
</html:html>

⌨️ 快捷键说明

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