?? dingdanguanlixuanze.jsp~12~
字號:
<%@ page contentType="text/html; charset=GBK" %>
<jsp:useBean id="gouwu" scope="page" class="JavaBean.GouWuCheBean">
</jsp:useBean>
<%@ page import="java.util.*"%>
<%@ page import="ejb.GouWuCheInfoVo"%>
<%String select = new String(request.getParameter("select").getBytes("8859_1"));
String a;%>
<html>
<head>
<title>
dingdanguanlixuanze
</title>
</head>
<body bgcolor="#ffffff">
<%String zhuanhuan;%>
<form name="form1" method="post" action="dingdanguanlixuanze.jsp">
選擇查看類型
<select name="select">
<option selected>全部訂單</option>
<option>已支付的訂單</option>
<option>指定訂單號</option>
<option>指定客戶ID</option>
</select>
<input type="text" name="shuru">
<input type="submit" name="Submit" value="查看">
</form>
<hr>
<table width="1018" height="47" border="1">
<tr>
<td width="157"><div align="center">訂單號(不可修改)</div></td>
<td width="97"><div align="center">
<p>用戶ID</p>
<p>(不可修改)</p>
</div></td>
<td width="105"><div align="center">
<p>產品序列號</p>
<p>(不可修改)</p>
</div></td>
<td width="65"><div align="center">產品名</div></td>
<td width="90"><div align="center">產品型號</div></td>
<td width="108"><div align="center">產品價格/1</div></td>
<td width="104"><div align="center">購買數量</div></td>
<td width="73"><div align="center">支付</div></td>
<td width="68"><div align="center">修改</div></td>
<td width="87"><div align="center">刪除</div></td>
</tr>
</table>
<%if(select.equals("全部訂單")){%>
<%Iterator it = gouwu.selectAll().iterator();%>
<%while(it.hasNext()){GouWuCheInfoVo vo = (GouWuCheInfoVo)it.next();%>
<form name="form2" method="post" action="dingdanguanliChuLi.jsp">
<table width="1017" height="37" border="1">
<tr>
<td width="157"><div align="center">
<input name="dingDanHao" type="text" id="dingDanHao" size="10" readOnly value="<%=vo.getDingDanHao()%>">
</div></td>
<td width="99"><div align="center">
<input name="userCode" type="text" id="userCode" size="8" readOnly value="<%=vo.getUserCode()%>">
</div></td>
<td width="101"><div align="center">
<input name="number" type="text" id="number" size="8" readOnly value="<%=vo.getNumber()%>">
</div></td>
<td width="70"><div align="center">
<input name="name" type="text" id="name" size="8" value="<%=zhuanhuan=new String(vo.getName().getBytes("8859_1"))%>">
</div></td>
<td width="87"><div align="center">
<input name="model" type="text" id="model" size="8" value="<%=vo.getModel()%>">
</div></td>
<td width="108"><div align="center">
<input name="price" type="text" id="price" size="8" value="<%=vo.getPrice()%>">
</div></td>
<td width="104"><div align="center">
<input name="count1" type="text" id="count1" size="8" value="<%=vo.getCount1()%>">
</div></td>
<td width="73"><div align="center">
<input name="zhiFu" type="text" id="zhiFu" size="8" value="<%=vo.getZhiFu()%>">
</div></td>
<td width="68"><div align="center">
<input name="Submit" type="submit" id="Submit" value="修改">
</div></td>
<td width="86"><div align="center">
<input type="submit" name="Submit" value="刪除">
</div></td>
</tr>
</table>
</form>
<p> </p>
<%}%>
<%}else if(select.equals("已支付的訂單")){%>
<%Iterator it = gouwu.selectForZhiFu().iterator();%>
<%while(it.hasNext()){GouWuCheInfoVo vo = (GouWuCheInfoVo)it.next();%>
<form name="form2" method="post" action="dingdanguanliChuLi.jsp">
<table width="1017" height="37" border="1">
<tr>
<td width="157"><div align="center">
</div></td>
<td width="99"><div align="center">
<input name="userCode" type="text" id="userCode" size="8" readOnly value="<%=vo.getUserCode()%>">
</div></td>
<td width="101"><div align="center">
<input name="number" type="text" id="number" size="8" readOnly value="<%=vo.getNumber()%>">
</div></td>
<td width="70"><div align="center">
<input name="name" type="text" id="name" size="8" value="<%=zhuanhuan=new String(vo.getName().getBytes("8859_1"))%>">
</div></td>
<td width="87"><div align="center">
<input name="model" type="text" id="model" size="8" value="<%=vo.getModel()%>">
</div></td>
<td width="108"><div align="center">
<input name="price" type="text" id="price" size="8" value="<%=vo.getPrice()%>">
</div></td>
<td width="104"><div align="center">
<input name="count1" type="text" id="count1" size="8" value="<%=vo.getCount1()%>">
</div></td>
<td width="73"><div align="center">
<input name="zhiFu" type="text" id="zhiFu" size="8" value="<%=vo.getZhiFu()%>">
</div></td>
<td width="68"><div align="center">
<input name="Submit" type="submit" id="Submit" value="修改">
</div></td>
<td width="86"><div align="center">
<input type="submit" name="Submit" value="刪除">
</div></td>
</tr>
</table>
</form>
<p> </p>
<%}%>
<%}else if(select.equals("指定訂單號")){%>
<%Iterator it = gouwu.selectForDingDanHao(request.getParameter("shuru")).iterator();%>
<%while(it.hasNext()){GouWuCheInfoVo vo = (GouWuCheInfoVo)it.next();{%>
<form name="form2" method="post" action="dingdanguanliChuLi.jsp">
<table width="1017" height="37" border="1">
<tr>
<td width="157"><div align="center">
<input name="dingDanHao" type="text" id="dingDanHao" size="10" readOnly value="<%=vo.getDingDanHao()%>">
</div></td>
<td width="99"><div align="center">
<input name="userCode" type="text" id="userCode" size="8" readOnly value="<%=vo.getUserCode()%>">
</div></td>
<td width="101"><div align="center">
<input name="number" type="text" id="number" size="8" readOnly value="<%=vo.getNumber()%>">
</div></td>
<td width="70"><div align="center">
<input name="name" type="text" id="name" size="8" value="<%=zhuanhuan=new String(vo.getName().getBytes("8859_1"))%>">
</div></td>
<td width="87"><div align="center">
<input name="model" type="text" id="model" size="8" value="<%=vo.getModel()%>">
</div></td>
<td width="108"><div align="center">
<input name="price" type="text" id="price" size="8" value="<%=vo.getPrice()%>">
</div></td>
<td width="104"><div align="center">
<input name="count1" type="text" id="count1" size="8" value="<%=vo.getCount1()%>">
</div></td>
<td width="73"><div align="center">
<input name="zhiFu" type="text" id="zhiFu" size="8" value="<%=vo.getZhiFu()%>">
</div></td>
<td width="68"><div align="center">
<input name="Submit" type="submit" id="Submit" value="修改">
</div></td>
<td width="86"><div align="center">
<input type="submit" name="Submit" value="刪除">
</div></td>
</tr>
</table>
</form>
<p> </p>
<%}}%>
<%}else if(select.equals("指定客戶ID")){%>
<%Iterator it=gouwu.selectForUserCode(request.getParameter("shuru")).iterator();%>
<%while(it.hasNext()){GouWuCheInfoVo vo = (GouWuCheInfoVo)it.next();{%>
<form name="form2" method="post" action="dingdanguanliChuLi.jsp">
<table width="1017" height="37" border="1">
<tr>
<td width="157"><div align="center">
<input name="dingDanHao" type="text" id="dingDanHao" size="10" readOnly value="<%=vo.getDingDanHao()%>">
</div></td>
<td width="99"><div align="center">
<input name="userCode" type="text" id="userCode" size="8" readOnly value="<%=vo.getUserCode()%>">
</div></td>
<td width="101"><div align="center">
<input name="number" type="text" id="number" size="8" readOnly value="<%=vo.getNumber()%>">
</div></td>
<td width="70"><div align="center">
<input name="name" type="text" id="name" size="8" value="<%=zhuanhuan=new String(vo.getName().getBytes("8859_1"))%>">
</div></td>
<td width="87"><div align="center">
<input name="model" type="text" id="model" size="8" value="<%=vo.getModel()%>">
</div></td>
<td width="108"><div align="center">
<input name="price" type="text" id="price" size="8" value="<%=vo.getPrice()%>">
</div></td>
<td width="104"><div align="center">
<input name="count1" type="text" id="count1" size="8" value="<%=vo.getCount1()%>">
</div></td>
<td width="73"><div align="center">
<input name="zhiFu" type="text" id="zhiFu" size="8" value="<%=vo.getZhiFu()%>">
</div></td>
<td width="68"><div align="center">
<input name="Submit" type="submit" id="Submit" value="修改">
</div></td>
<td width="86"><div align="center">
<input type="submit" name="Submit" value="刪除">
</div></td>
</tr>
</table>
</form>
<p> </p>
<%}}}%>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -