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

📄 allocatproductupdate.jsp

📁 (Java+SQL)-大型企业JAVA的ERP系统
💻 JSP
字号:
<jsp:useBean id="AllocatProduct" class="src.wuyang.AllocatProduct" scope="page"/>
<jsp:useBean id="global" class="src.com.MyGlobal" scope="session"/>

<% 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="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../pub/style.css">
</head>
<%
String allocatId = request.getParameter("allocatId");
String mode = request.getParameter("mode");
System.out.println("mode="+ mode);
if (request.getParameter("update")!=null && mode.equals("update") ){ 
	AllocatProduct.setGlobal(global);	
%>
<jsp:setProperty name="AllocatProduct" property="*" />
<%
	int rtcode = AllocatProduct.update();
	if(rtcode < 0) {
%>
<jsp:forward page="../pub/DBErr.jsp" > 
	<jsp:param name="rtcode" value="<%= rtcode %>" />
</jsp:forward>
<%  
	}  
}
	AllocatProduct.load(allocatId);
	
%>
<html>
<form method="post" action="AllocatProductUpdate.jsp">
	<input type="hidden" name="allocatId" value="<%=AllocatProduct.getAllocatId()%>">
	<input type="hidden" name="mode" value="update"/>
对应调拨单编号   :<%=AllocatProduct.getAllocatId()%> 
相应的产品编号   :<input type="text" name="productId "value=" <%=AllocatProduct.getProductId()%>" />
 <br>
件数   :<input type="text" name="counting "value=" <%=AllocatProduct.getCounting()%>" />
 <br>
总数   :<input type="text" name="quantity "value=" <%=AllocatProduct.getQuantity()%>" />
 <br>
包装   :<input type="text" name="pack "value=" <%=AllocatProduct.getPack()%>" />
 <br>
含税单价   :<input type="text" name="unitPrice "value=" <%=AllocatProduct.getUnitPrice()%>" />
 <br>
实际发货数量   :<input type="text" name="actQuantity "value=" <%=AllocatProduct.getActQuantity()%>" />
 <br>
	<input type="submit" name="update" value="修改" />
	<input type="reset" value="重置" />
</form>
</html>

⌨️ 快捷键说明

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