📄 inshopping_update.jsp
字号:
<%@ page language="java" import="java.util.*,com.jxc.vo.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<head>
<style type="text/css">
<!--
.style3 {
font-size: 12px;
font-weight: bold;
}
.style5 {color: #FF00FF}
.style6 {
font-size: 12px;
color: #FF00FF;
}
-->
</style></head>
<body bgcolor="#F1F4F8">
<table width="640" height="480">
<tr>
<td bgcolor="#FFCCFF" width="660" height="30">
<jsp:include flush="true" page="inshopping_top.jsp" />
</td>
</tr>
<tr>
<td width="660" height="25"><strong><span class="style3"><font color="#CC33CC">---->商品销售信息修改<----</font></span></strong></td>
</tr>
<td width="660" height="350">
<div align="center"><span class="style6">
<%if(session.getAttribute("erro")=="null"){ %>
带星号的不能为空!
<%
session.removeAttribute("erro");}else if(session.getAttribute("erro")=="succ"){ %>
修改成功!
<%
session.removeAttribute("erro");}else if(session.getAttribute("erro")=="false"){ %>
修改失败!
<%
session.removeAttribute("erro");}
%>
<%
InShopping ins=(InShopping)session.getAttribute("inshop");
%>
</span> </div>
<form name="form1" method="post" action="InShoppingUpdate?num=<%=ins.getInnum() %>">
<table width="392" height="263" align="center" bgcolor="#cccccc">
<tr>
<td width="118" height="25" bgcolor="#F1F4F8"><div align="right" class="style3">ID:</div></td>
<td width="262" height="25" bgcolor="#F1F4F8"> <input name="id" type="text" size="20" value=<%=ins.getId() %> readonly="true" > </td>
</tr>
<tr>
<td width="118" height="25" bgcolor="#F1F4F8"><div align="right" class="style3">商品编号:</div></td>
<td width="262" height="25" bgcolor="#F1F4F8"> <input name="sid" type="text" size="20" value=<%=ins.getSid() %> readonly="true"> </td>
</tr>
<tr>
<td height="25" bgcolor="#F1F4F8"><div align="right" class="style3">进货单价:</div></td>
<td height="25" bgcolor="#F1F4F8"> <input name="intprince" type="text" size="20" value=<%=ins.getIntprince() %> >
<span class="style5">*</span> </td>
</tr>
<tr>
<td height="25" bgcolor="#F1F4F8"><div align="right" class="style3">进货数量:</div></td>
<td height="25" bgcolor="#F1F4F8"> <input name="innum" type="text" size="20" value=<%=ins.getInnum() %>>
<span class="style5">*</span></td>
</tr>
<tr>
<td height="25" bgcolor="#F1F4F8"><div align="right" class="style3">进货日期:</div></td>
<td height="25" bgcolor="#F1F4F8"> <input name="intime" type="text" size="20" value=<%=ins.getIntime() %> readonly="true"> </td>
</tr>
<tr>
<td height="25" bgcolor="#F1F4F8"><div align="right" class="style3">操作员:</div></td>
<td height="25" bgcolor="#F1F4F8"> <input name="yid" type="text" size="20" value=<%=ins.getYid() %> readonly="true"> </td>
</tr>
<tr>
<td height="25" colspan="2" bgcolor="#F1F4F8">
<div align="center">
<input type="submit" name="Submit" value="提交">
<input type="reset" name="Submit2" value="重置">
</div></td>
</tr>
</table>
</form> </td>
<tr>
<td width="660" height="40"> </td>
</tr>
</table>
</body>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -