⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 productlocationupdate.jsp

📁 (Java+SQL)-大型企业JAVA的ERP系统
💻 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>&nbsp;</p>
        <p><br>
          <br>
        </p>
        <p>&nbsp; 
		</blockquote>
      </form>
	</td>
	</tr>
	</table>
</body>
</html>










		

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -