📄 do_update_f.jsp
字号:
<html>
<%@ page import="java.sql.*"%>
<%@ page contentType="text/html;charset=gb2312"%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>修改退货信息</title>
</head>
<jsp:useBean id="db" scope="page" class="sale.dbBean" />
<body>
<p align="center"><font size="7" color="#000080">销售管理信息系统</font></p>
<hr>
<%
String id=new String();
id=(String)session.getAttribute("id");
if(id==null)
{
response.sendRedirect("index.htm");
}
%>
<%
String f_id=new String(request.getParameter("f_id"));
String date=new String(request.getParameter("date"));
String d_id=new String(request.getParameter("d_id"));
String num=new String(request.getParameter("num"));
String price=new String(request.getParameter("price"));
String c_id=new String(request.getParameter("c_id"));
String cuid=new String(request.getParameter("cuid"));
String total=new String(request.getParameter("total"));
String sql="update refuse set did='"+d_id+"',date1='"+date+"',price='"+price+"',num='"+num+"',total='"+total+"',cid='"+c_id+"',cuid='"+cuid+"' where id='"+f_id+"'";
db.executeInsert(sql);
%>
<p align="center">您已经成功修改退货信息!</p>
<div align="center">
<table border="0" width="60%">
<table border="0" width="60%">
<table border="0" width="60%">
<tr>
<td width="50%">
<p align="center">退货编号</td>
<td width="50%">
<%=f_id%>
</td>
</tr>
<tr>
<td width="50%">
<p align="center">商品编号</td>
<td width="50%">
<%=c_id%>
</td>
</tr>
<tr>
<td width="50%">
<p align="center">单价</td>
<td width="50%">
<%=price%>
</td>
</tr>
<tr>
<td width="50%">
<p align="center"> 数量</td>
<td width="50%">
<%=num%>
</td>
</tr>
<tr>
<td width="50%">
<p align="center"> 金额</td>
<td width="50%">
<%=total%>
</td>
</tr>
<tr>
<td width="50%">
<p align="center">日期</td>
<td width="50%">
<%=date%>
</td>
</tr>
<tr>
<td width="50%">
<p align="center">片区编号</td>
<td width="50%">
<%=d_id%>
</td>
</tr>
<tr>
<td width="50%">
<p align="center">客户编号</td>
<td width="50%">
<%=cuid%>
</td>
</tr>
</table>
</div>
<form method="POST" action="refuse.jsp">
<p align="center">
<input type="submit" value="返回">
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -