manage_trace_order.jsp
上传用户:sami52198
上传日期:2010-02-11
资源大小:5174k
文件大小:7k
源码类别:

电子政务应用

开发平台:

MultiPlatform

  1. <%@ page contentType="text/html;charset=gb2312"%>
  2. <%@ page import="java.util.*" %>
  3. <%@ include file="../include/config.jsp"%>
  4. <%@ include file="../pub/control.jsp"%>
  5. <%@ include file="../include/head.jsp"%>
  6. <html>
  7. <head>
  8. <title>新闻栏目维护</title>
  9. <link rel="stylesheet" href="../../../../css/style.css" type="text/css">
  10. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  11. <script language="javascript">
  12. function sub(str)
  13.  {
  14.     
  15.      document.form1.id.value=str;
  16.      document.form1.par.value="get";   
  17.      document.form1.submit();
  18.  }
  19. </script>
  20. </head>
  21. <%
  22.        String par = request.getParameter("par");
  23.        String aid = session.getAttribute("aid").toString();
  24.        
  25.        
  26.        if(par!=null&&par.equals("get"))
  27.         { 
  28.           String id = request.getParameter("id");          
  29.           ManageOrder.updateOrderGet(aid,id);
  30.         }
  31.         
  32.        Vector m_vct = ManageOrder.getOrderListTrace(); 
  33.                
  34. %>
  35. <body bgcolor="#eff3f7" topmargin="0"  leftmargin="0">
  36. <form name="form1" method="post"> 
  37. <input type="hidden" name="par">
  38. <input type="hidden" name="id">
  39. <br>
  40. <table width="100%" border="0" cellspacing="0" cellpadding="0"> 
  41. <tr> <td align="left" valign="middle" height="2"></td></tr> 
  42. <tr> 
  43. <td align="left" valign="top"> 
  44. <table align=center border=1 bordercolor=#095ab5 
  45.                   bordercolordark=#ffffff cellpadding=0 cellspacing=0 
  46.                   id=submenu1 width="90%">
  47.                 <tr valign=center BGCOLOR="#D0ECF9"> 
  48.                   <td align=CENTER height=25 valign=MIDDLE COLSPAN="9"><B><FONT SIZE="2">&nbsp;</FONT></B></td>
  49.                 </tr>
  50.                 <tbody>
  51.                   <tr valign=center> 
  52.                     <td align=center height=25 valign=MIDDLE 
  53.                         width="10%" colspan=1><font color="#000000">订单编号</font></td>
  54.                     <td align=center height=25 valign=MIDDLE 
  55.                         width="15%" colspan=1><font color="#000000">&nbsp;商品名称</font></td> 
  56.                     <td width="10%" height=25 align=CENTER valign=MIDDLE colspan=1>预定人姓名</td> 
  57.                      <td align=center height=25 valign=MIDDLE 
  58.                         width="10%" colspan=1><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;手机</font></td>                                            
  59.                     <td align=CENTER height=25 valign=MIDDLE                                                                     
  60.                     <td align=left height=25 valign=MIDDLE 
  61.                         width="15%" colspan=1><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;联系电话</font></td>                                            
  62.                     <td align=CENTER height=25 valign=MIDDLE 
  63.                         width="10%"><font color="#000000">总价格</font></td> 
  64.                     <td align=CENTER height=25 valign=MIDDLE 
  65.                         width="10%"><font color="#000000">状态</font></td>
  66.                     <td align=CENTER height=25 valign=MIDDLE 
  67.                         width="10%"><font color="#000000">发货</font></td>                       
  68.                   </tr>                      
  69.                   
  70.    <%
  71.    if(m_vct!=null&&m_vct.size()>0)
  72.     {
  73.        for(int i=0;i<m_vct.size();i++)
  74.         {
  75.            Vector t_vct = (Vector)m_vct.get(i);
  76.            %>
  77.                   <tr valign=center> 
  78.                     <td align=center height=25 valign=MIDDLE 
  79.                         width="5%" colspan=1><font color="#000000">&nbsp;<a href="orderdetail_trace.jsp?id=<%=t_vct.get(0)%>" target="_blank"><%=t_vct.get(0)%></a></font></td>
  80.                     <td align=center height=25 valign=MIDDLE 
  81.                         width="15%" colspan=1><font color="#000000">&nbsp;<%=t_vct.get(2)%></font></td> 
  82.                     <td width="10%" height=25 align=CENTER valign=MIDDLE colspan=1><%=t_vct.get(3)%></td>   
  83.  <td align=center height=25 valign=MIDDLE 
  84.                         width="15%" colspan=1><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;<%=t_vct.get(4)%></font></td>                                                                                                              
  85.                     <td align=center height=25 valign=MIDDLE 
  86.                         width="15%" colspan=1><font color="#000000">&nbsp;&nbsp;&nbsp;&nbsp;<%=t_vct.get(5)%></font></td>                                            
  87.                     <td align=CENTER height=25 valign=MIDDLE 
  88.                         width="10%"><font color="#000000">&nbsp;<%=t_vct.get(7)%></font></td> 
  89.   <td align=CENTER height=25 valign=MIDDLE width="10%"><font color="#000000">&nbsp;<%=t_vct.get(9)%></font></td>                        
  90.                   
  91.                    <%                       
  92.                        String sendgoods ="";                                                                                                
  93.                         if(t_vct.get(10)!=null)
  94.                          {
  95.                             sendgoods = t_vct.get(10).toString();
  96.                          }                        
  97.                         
  98.                         if(sendgoods.equals("00"))
  99.                          {
  100.                            %>
  101. <td align=CENTER height=25 valign=MIDDLE  width="10%"><font color="#000000">未发货</font></td>                                                                                    
  102.                            <%
  103.                          }
  104.                         else
  105.                          {
  106.                            %>
  107. <td align=CENTER height=25 valign=MIDDLE  width="10%"><font color="#000000">已发货</font></td> 
  108.                            <%                         
  109.                          }                           
  110.                                                                                                      
  111.                    %>     
  112.      
  113.                     
  114.                   </tr>            
  115.            <%
  116.         }
  117.     }
  118. %>           
  119.                   
  120.               </table>
  121.               <br> 
  122.               <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  123.               &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  124.               </p></td></tr> 
  125. </table></td></tr> <tr> <td align="left" valign="top" background="../../../image/line_hor.jpg" height="1"> 
  126. </td></tr> </table>
  127. </form>
  128. </body>
  129. </html>