?? productlocationupdate.jsp
字號:
<jsp:useBean id="location" class="src.wuyang.ProductLocation" scope="page"/>
<jsp:useBean id="global" class="src.com.MyGlobal" scope="session"/>
<jsp:setProperty name="location" property="*" />
<% if (global.isLogined == false) {
%>
<jsp:forward page="../pub/DBErr.jsp" >
<jsp:param name="rtcode" value="-4" />
</jsp:forward>
<% }
%>
<html>
<head>
<title>修改貨位信息</title>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="css.css" type="text/css">
</head>
<body bgcolor="#949B93" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="1" height="90%" cellspacing="0" cellpadding="0" align="center" bordercolorlight="#616860" bordercolordark="#CCCCCC" bgcolor="#4c7171" >
<tr>
<td valign="top" >
<br><br>
<% String locationId = request.getParameter("locationId");
String wearhouseId = request.getParameter("wearhouseId");
location.setGlobal(global);
int rtcode = 0;
if (request.getParameter("update") != null) {
rtcode = location.update();
}
if(rtcode < 0) {
%>
<jsp:forward page="../pub/DBErr.jsp" >
<jsp:param name="rtcode" value="<%= rtcode %>" />
</jsp:forward>
<% }
rtcode =location.load(locationId,wearhouseId);
if(rtcode < 0) {
%>
<jsp:forward page="../pub/DBErr.jsp" >
<jsp:param name="rtcode" value="<%= rtcode %>" />
</jsp:forward>
<% }
%>
<form method="POST" action="ProductLocationUpdate.jsp"> <blockquote>
<table width="300" border="0" cellpadding="0" cellspacing="0">
<tr>
<td class="textb"><b>貨位編碼:</b></td>
<td class="textb"><%=location.getLocationId()%>
<input type="hidden" name="locationId" value="<%=location.getLocationId()%>" >
</td>
</tr>
<tr>
<td class="textb"><b>貨位描述:</b></td>
<td>
<input type="text" name="locationDesc" value="<%=location.getLocationDesc()%>">
</td>
</tr>
<tr>
<td class="textb"><b>倉庫編碼:</b></td>
<td class="textb"><%=location.getWearhouseId()%>
<input type="hidden" name="wearhouseId" value="<%=location.getWearhouseId()%>">
</td>
</tr>
<tr>
<td colspan="2">
<div align="center"> <br>
<input type="submit" name="update" value="修改" >
<input type="reset" name="reset" value="重置" >
</div>
</td>
</tr>
</table>
<p> </p>
<p><br>
<br>
</p>
<p>
</blockquote>
</form>
</td>
</tr>
</table>
</body>
</html>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -