| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- <%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
- <%@ page import="com.runzhixing.bean.Valve" %>
- <%
- String path = request.getContextPath();
- String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
- List<Valve> list = (List)session.getAttribute("valveList");
- String valveCarNo = (String)session.getAttribute("valveCarNo");
- %>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
- <title></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">
- <meta http-equiv="X-UA-Compatible" content="IE=9"/>
- <meta http-equiv="X-UA-Compatible" content="IE=10"/>
- <link rel="stylesheet" type="text/css" href="css/easyui/themes/default/easyui.css">
- <link rel="stylesheet" type="text/css" href="css/easyui/themes/icon.css">
- <link rel="stylesheet" type="text/css" href="css/easyui/demo/demo.css">
- <script type="text/javascript" src="css/easyui/jquery.min.js"></script>
- <script type="text/javascript" src="css/easyui/jquery.easyui.min.js" charset="utf-8"></script>
- <script type="text/javascript" src="css/easyui/locale/easyui-lang-zh_CN.js" charset="utf-8"></script>
- <link rel="stylesheet" type="text/css" href="css/common/hzbstyle.css">
-
- </head>
-
- <body>
- <center>
- <table class="hzbspan" width="auto" border="1" cellpadding="2" cellspacing="0">
- <tr>
- <td align="center" colspan="7"><%=valveCarNo %>的阀门追溯</td>
- </tr>
- <tr>
- <td>
- 其它来源(个人用户)
- </td>
- <td>
- 阀门厂家
- </td>
- <td>
- 阀门型号
- </td>
- <td>
- 阀门批次
- </td>
- <td>
- 操作时间
- </td>
- <td>
- 操作类型
- </td>
- <td>
- 备注
- </td>
- </tr>
-
- <%for(int i=0;i<list.size();i++){
- Valve valve = list.get(i);
- %>
- <tr>
-
- <td>
-
- <%
- String fromStr="";
- String froms=valve.getOTHERSTATION();
- if(froms!=null&&!froms.trim().equals("")&&!froms.equals("null")){
- fromStr=froms;
- }
- %>
- <%=fromStr %>
- </td>
- <td>
- <%=valve.getVALVEPRODUCT() %>
- </td>
- <td>
- <%=valve.getVALVETYPE() %>
- </td>
- <td>
- <%=valve.getVALVEBATCH() %>
- </td>
- <td>
-
- <%
- String subDate="";
- String date=valve.getOPERDATE();
- if(date!=null&&!date.trim().equals("")){
- if(date.length()>=10){
- subDate = date.substring(0, 10);
- }else{
- subDate = date;
- }
- }
- %>
- <%=subDate %>
- </td>
- <td>
-
- <%
- String s=valve.getOPERTYPE();
- if(s!=null&&!s.trim().equals("")){
- if(s.equals("0")){
- %>
- 安装
- <% }else if(s.equals("1")){ %>
- 复装
- <% }else if(s.equals("2")){ %>
- 整车出厂
- <% }else if(s.equals("3")){ %>
- 检验更换
- <%}else{ %>
- 其他
- <%} %>
- <%}else{ %>
- <%} %>
- </td>
- <td>
- <%
- String remarkStr="";
- String res=valve.getREMARK();
- if(res!=null&&!res.trim().equals("")&&!res.equals("null")){
- remarkStr=res;
- }
- %>
- <%=remarkStr %>
- </td>
- </tr>
- <%} %>
-
- </table>
- </center>
- </body>
- </html>
|