?? updatehuodannoofinventory.jsp
字號:
<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>添加貨單號至inventory</title>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../pub/style.css">
<script language ="javascript" src='../pub/pub.js' type=text/javascript></script>
</head>
<body>
<script language="JavaScript">
function VerifyInput(e)
{
if(isEmpty(e.huodanNo.value))
{
alert("請輸入貨單號");
e.huodanNo.focus();
return false;
}
}
</script>
<%
String receiptId = request.getParameter("receiptId");
String strReceiptType = request.getParameter("receiptType");
int receiptType = 0;
if(strReceiptType.equals("0")){
receiptType = 0;
}
if(strReceiptType.equals("1")){
receiptType = 1;
}
if(strReceiptType.equals("2")){
receiptType = 2;
}
String productId = request.getParameter("productId");
System.out.println("U***");
System.out.println("receiptId = "+receiptId);
System.out.println("receiptType = "+receiptType);
System.out.println("productId = "+productId);
%>
<form method="POST" action="HuodanNoOfInventoryUpdate.jsp?receiptId=<%=receiptId%>&receiptType=<%=receiptType%>&productId=<%=productId%>" onsubmit="return VerifyInput(this);">
驗收/送貨單號:<input type ="text" name="huodanNo">
<p>
<input type="submit" name="insert" value="提交" />
<input type="reset" name="reset" value="重置" />
</form>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -