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

📄 operationinfotraupdate.jsp

📁 (Java+SQL)-大型企业JAVA的ERP系统
💻 JSP
字号:
<jsp:useBean id="OperationInfoTra" class="src.wuyang.OperationInfoTra" 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 receiptId = request.getParameter("receiptId");
String mode = request.getParameter("mode");
System.out.println("mode="+ mode);
if (request.getParameter("update")!=null && mode.equals("update") ){ 
	OperationInfoTra.setGlobal(global);	
%>
<jsp:setProperty name="OperationInfoTra" property="*" />
<%
	int rtcode = OperationInfoTra.update();
	if(rtcode < 0) {
%>
<jsp:forward page="../pub/DBErr.jsp" > 
	<jsp:param name="rtcode" value="<%= rtcode %>" />
</jsp:forward>
<%  
	}  
}
	OperationInfoTra.load(receiptId);
	
%>
<html>
<form method="post" action="OperationInfoTraUpdate.jsp">
	<input type="hidden" name="receiptId" value="<%=OperationInfoTra.getReceiptId()%>">
	<input type="hidden" name="mode" value="update"/>
凭证编号   :<%=OperationInfoTra.getReceiptId()%> 
凭证类型   :<input type="text" name="receiptType "value=" <%=OperationInfoTra.getReceiptType()%>" />
 <br>
申请人   :<input type="text" name="proposer "value=" <%=OperationInfoTra.getProposer()%>" />
 <br>
部门编号   :<input type="text" name="deptId "value=" <%=OperationInfoTra.getDeptId()%>" />
 <br>
	<input type="submit" name="update" value="修改" />
	<input type="reset" value="重置" />
</form>
</html>

⌨️ 快捷键说明

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