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

电子政务应用

开发平台:

MultiPlatform

  1. <%@ page contentType="text/html;charset=gb2312"%>
  2. <%@ page import="java.util.*" %>
  3. <%@ include file="../pub/control.jsp"%>
  4. <%@ include file="../include/config.jsp"%>
  5. <%@ include file="../include/head.jsp"%>
  6. <html>
  7. <head>
  8. <title>欢迎来到乐趣工作室!</title>
  9. <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
  10. <LINK href="../css/style.css" rel=stylesheet type=text/css>
  11. <script language="javascript" src="../../../../js/JsInclude.js"></script>
  12. </head>
  13. <script language="javascript">
  14. function sub(str)
  15.  {
  16.     if(isWhitespace(document.form1.reason1.value))
  17.     {
  18.       alert("请输入处理备注!");
  19.       document.form1.reason1.focus();
  20.       return;
  21.     }
  22.      document.form1.type.value=str;
  23.      document.form1.par.value="update";   
  24.      document.form1.reason.value=document.form1.reason.value+document.form1.reason1.value+'<br><br>'; 
  25.      document.form1.submit();
  26.  }
  27. </script>
  28. <body leftmargin="0">
  29. <%  
  30.        String par = request.getParameter("par");
  31.        String aid = session.getAttribute("aid").toString();
  32.   String ordernum = request.getParameter("id");
  33.   if(par!=null&&par.equals("update"))
  34.    {
  35.       String type = request.getParameter("type");
  36.       String reason = request.getParameter("reason");
  37.       ManageOrder.updateStatusSend(aid,ordernum,type,reason);  
  38.    }
  39. %>
  40. <form name="form1" method="post">
  41. <input type="hidden" name="par">
  42. <input type="hidden" name="id" value="<%=ordernum%>">
  43. <input type="hidden" name="type">
  44. <table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  45.  
  46.   <table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  47.     <tr> 
  48.       <td height="529" valign="top"> 
  49.         <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
  50.           <tr> 
  51.             <td height="30"> <div align="center"><strong><font color="#000000" size="3">订单详细信息</font></strong></div></td>
  52.           </tr>
  53.           <tr bgcolor="#FFFBEC"> 
  54.             <td height="20" align="center"><font size="2">订单号: <%=ordernum%> </font></td>
  55.           </tr>
  56.           <tr> 
  57.             <td height="8"><img src="images/tmtp.gif" width="2" height="2"></td>
  58.           </tr>
  59.           <tr> 
  60.             <td height="20" bgcolor="#FFCC00"><font size="2">&nbsp; 
  61.               </font></td>
  62.           </tr>
  63.           <tr> 
  64.             <td height="8"><img src="images/tmtp.gif" width="2" height="2"></td>
  65.           </tr>
  66.           <tr> 
  67.             <td> <table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#CD9501" bordercolordark="#FFFFFF">
  68.                 <tr bgcolor="#FFFBEC"> 
  69.                   <td width="20%" height="25"> <div align="center"><font size="2">产品编号</font></div></td>
  70.                   <td width="20%" height="25"> <div align="center"><font size="2">产品名称</font></div></td>
  71.                   <td width="20%" height="25"> <div align="center"><font size="2">会员价格</font></div></td>
  72.                   <td width="20%" height="25"> <div align="center"><font size="2">订购数量</font></div></td>
  73.                   <td width="20%" height="25"> <div align="center"><font size="2">总金额</font></div></td>
  74.                 </tr>
  75.                 <%
  76.     Vector m_vct = ManageOrder.getOrderDetail(ordernum);
  77.     Vector t_vct = (Vector)m_vct.get(0);
  78.     
  79. %>
  80.                 <tr> 
  81.                   <td width="20%" height="25"> <div align="center"><%=t_vct.get(1)%></div></td>
  82.                   <td  height="25"> <div align="center"><font size="2"><%=t_vct.get(2)%></font></div></td>
  83.                   <td width="20%" height="25"> <div align="center"><font size="2"><%=t_vct.get(3)%></font></div></td>
  84.                   <td width="20%" height="25"> <div align="center"><font size="2"><%=t_vct.get(4)%></font></div></td>
  85.                   <td width="20%" height="25"> <div align="center"> <%=t_vct.get(5)%> 
  86.                     </div></td>
  87.                 </tr>
  88.               </table></td>
  89.           </tr>
  90.           <tr> 
  91.             <td height="8"><img src="images/tmtp.gif" width="2" height="2"></td>
  92.           </tr>
  93.           <tr> 
  94.             <td height="20" bgcolor="#FFCC00"><font size="2">联系信息:</font></td>
  95.           </tr>
  96.           <tr> 
  97.             <td height="5"><img src="images/tmtp.gif" width="2" height="2"></td>
  98.           </tr>
  99.           <tr> 
  100.             <td><table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#CD9501" bordercolordark="#FFFFFF">
  101.                 <tr> 
  102.                   <td width="99" height="30"> <div align="center"><font size="2">联系人:</font></div></td>
  103.                   <td width="524" height="30">&nbsp; <%=t_vct.get(6)%></td>
  104.                 </tr>
  105.                 <tr bgcolor="#FFFBEC"> 
  106.                   <td width="99" height="30"> <div align="center"><font size="2">手机:</font></div></td>
  107.                   <td width="524" height="30">&nbsp; <%=t_vct.get(7)%></td>
  108.                 </tr>
  109.                 <tr> 
  110.                   <td width="99" height="30"> <div align="center"><font size="2">电话:</font></div></td>
  111.                   <td width="524" height="30">&nbsp; <%=t_vct.get(8)%></td>
  112.                 </tr>
  113.                 <tr bgcolor="#FFFBEC"> 
  114.                   <td width="99" height="30"> <div align="center"><font size="2">传真:</font></div></td>
  115.                   <td width="524" height="30">&nbsp; <%=t_vct.get(9)%></td>
  116.                 </tr>
  117.                 <tr> 
  118.                   <td width="99" height="30"> <div align="center"><font size="2">E_mail:</font></div></td>
  119.                   <td width="524" height="30">&nbsp; <%=t_vct.get(10)%></td>
  120.                 </tr>
  121.                 <tr bgcolor="#FFFBEC"> 
  122.                   <td width="99" height="30"> <div align="center"><font size="2">确认方式:</font></div></td>
  123.                   <td width="524" height="30">&nbsp; <%=t_vct.get(11)%> </td>
  124.                 </tr>
  125.                 <tr > 
  126.                   <td width="99" height="30"> <div align="center"><font size="2">付款方式:</font></div></td>
  127.                   <td width="524" height="30">&nbsp; <%=t_vct.get(12)%> </td>
  128.                 </tr>
  129.                 <tr bgcolor="#FFFBEC"> 
  130.                   <td height="30"> <div align="center"><font size="2">邮寄地址:</font></div></td>
  131.                   <td height="30">&nbsp; <%=t_vct.get(13)%></td>
  132.                 </tr>
  133.                 <tr> 
  134.                   <td height="30"> <div align="center"><font size="2">邮政编码:</font></div></td>
  135.                   <td height="30">&nbsp; <%=t_vct.get(14)%></td>
  136.                 </tr>
  137.               </table></td>
  138.           </tr>
  139.           <tr> 
  140.             <td height="8"><font size="2">&nbsp;<img src="images/tmtp.gif" width="2" height="2"></font></td>
  141.           </tr>
  142.           <tr> 
  143.             <td height="20" bgcolor="#FFCC00"><font size="2">&nbsp;特殊要求:</font></td>
  144.           </tr>
  145.           <tr> 
  146.             <td height="5"><img src="images/tmtp.gif" width="2" height="2"></td>
  147.           </tr>
  148.           <tr> 
  149.             <td><table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#CD9501" bordercolordark="#FFFFFF">
  150.                 <tr> 
  151.                   <td width="100" height="30" bgcolor="#FFFBEC"> <div align="center"> 
  152.                       <font size="2"> 特殊说明: </font></div></td>
  153.                   <td width="480" height="30"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
  154.                       <tr> 
  155.                         <td valign="center">&nbsp; <%=t_vct.get(15)%> </td>
  156.                       </tr>
  157.                     </table></td>
  158.                 </tr>
  159.               </table></td>
  160.           </tr>  
  161.           
  162.           <tr> 
  163.             <td height="8"><font size="2">&nbsp;<img src="images/tmtp.gif" width="2" height="2"></font></td>
  164.           </tr>
  165.           <tr> 
  166.             <td height="20" bgcolor="#FFCC00"><font size="2">&nbsp;处理备注:</font></td>
  167.           </tr>
  168.           <tr> 
  169.             <td height="5"><img src="images/tmtp.gif" width="2" height="2"></td>
  170.           </tr>
  171.           <tr> 
  172.             <td><table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#CD9501" bordercolordark="#FFFFFF">
  173.                 <tr> 
  174.                   <td width="100" height="30" bgcolor="#FFFBEC"> <div align="center"> 
  175.                       <font size="2"> 处理备注: </font></div></td>
  176.                   <td width="480" height="30"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
  177.                       <tr> 
  178.                         <td valign="center">&nbsp; <%=t_vct.get(16).toString()%> </td>
  179.                         <input type="hidden" name="reason" value="<%=t_vct.get(16)==null?"":t_vct.get(16)%>">
  180.                       </tr>
  181.                     </table></td>
  182.                 </tr>
  183.               </table></td>
  184.           </tr>            
  185.           
  186.           <tr> 
  187.             <td>&nbsp;</td>
  188.           </tr>
  189.           <tr> 
  190.             <td><table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#CD9501" bordercolordark="#FFFFFF">
  191.                 <tr> 
  192.                   <td width="100" height="30" bgcolor="#FFFBEC"> <div align="center"> 
  193.                       <font size="2"> 处理备注: </font></div></td>
  194.                   <td width="480" height="30"> 
  195.                   <table width="100%" border="0" cellspacing="0" cellpadding="0">
  196.                       <tr> 
  197.                         <td valign="center">&nbsp;  
  198.                         <textarea name="reason1" cols="60" rows="5" maxlength="400" maxchar=400></textarea>
  199.                         </td>
  200.                       </tr>
  201.                   </table></td>
  202.                 </tr>
  203.               </table></td>
  204.           </tr>            
  205.         </table> 
  206.   <br>&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;
  207.  <input type="button" value="成功未收款" onclick="sub('00003')">&nbsp;&nbsp;<input type="button" value="成功已收款" onclick="sub('00004')">&nbsp;&nbsp;<input type="button" value="未联系上客户" onclick="sub('00002')">&nbsp;&nbsp;<input  type="button" value="取消订单" onclick="sub('90000')">
  208.     
  209.         
  210.         </td>
  211.     </tr>
  212.       </table>
  213. </form>
  214. </body>
  215. </html>