📄 entercode.jsp
字号:
<%@ page import="com.hexiesoft.config.language.Configure"%>
<%
/* Copyright 2006-2009 Hexiesoft, Inc. All Rights Reserved.
* This software is the proprietary information of Hexiesoft, Inc.
* Use is subject to license terms.
* Author:sfcll 04-2006
* Tester:
*
* Content:
* Input Param:
*
*
*
* Output param:
* edit ruilei 2006-06-04
*/
%>
<%@ page contentType="text/html; charset=GBK" %>
<%@ include file="/IncludeBeginMD.jsp" %>
<script language=javascript src="<%=sResourcesPath%>/keyevent.js"></script>
<%
String alert_1 = (String) Configure.getConfigure(sIe_Language, "EnterAccount").get("ALERT_1");
String alert_2 = (String) Configure.getConfigure(sIe_Language, "EnterAccount").get("ALERT_2");
String alert_3 = (String) Configure.getConfigure(sIe_Language, "EnterAccount").get("ALERT_3");
String msg2 = (String) Configure.getConfigure(sIe_Language, "FinishedGoods").get("msg2");
%>
<html>
<head>
<title>Enter <%=(String) Configure.getConfigure(sIe_Language, "FinishedGoods").get("subtitle")%></title>
</head>
<script language=javascript>
function Che_acc()
{
if (document.all.code.value.length < 1) {
alert("<%=(String)Configure.getConfigure(sIe_Language,"FinishedGoods").get("msg1")%> ");
document.all.code.focus();
return;
}
sCode = document.all.code.value;
sReturn_isEmpty = PopPage("/ShippingManager/FinishedGoods/check.jsp?Code="+sCode+"&rand="+randomNumber(),"","");
if(sReturn_isEmpty == "true")
{
OpenComp("ExistOrder", "/ShippingManager/FinishedGoods/ExistFinishedGoods.jsp", "Code=" + sCode + "&rand=" + randomNumber(), "right", "");
self.returnValue="OK";
self.close();
return;
}else{
//alert("Works No does not exist,Try again");
if ('<%=msg2%>'.length > 0) {
alert('<%=msg2%>');
}
return;
}
}
function pressEnter(arg) {
if (window.event.keyCode == 13) {
Che_acc();
}
}
</script>
<body bgcolor="#DCDCDC">
<br>
<table border="1" width=100% align="center" bordercolor='#999999' bordercolordark='#FFFFFF'>
<tr>
<td nowrap align="right" class="black9pt" bgcolor="#D8D8AF"><%=(String) Configure.getConfigure(sIe_Language, "FinishedGoods").get("subtitle")%> </td>
<td nowrap bgcolor="#F0F1DE">
<input type="text" name="code" onKeyPress="javascript:pressEnter(1);" size="10" maxlength="10"/>
</td>
</tr>
<tr align="center">
<td nowrap align="right" class="black9pt" bgcolor="#D8D8AF"> </td>
<td nowrap bgcolor="#F0F1DE">
<input type="button" name="next" value="确认" onClick="javascript:Che_acc()"
style="font-size:9pt;padding-top:3;padding-left:5;padding-right:5;background-image:url(../../Resources/functionbg.gif); border: #DCDCDC; border-style: outset; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px"
border='1'>
<input type="button" name="Cancel" value="取消" onClick="javascript:self.returnValue='_none_';self.close()"
style="font-size:9pt;padding-top:3;padding-left:5;padding-right:5;background-image:url(../../Resources/functionbg.gif); border: #DCDCDC; border-style: outset; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px"
border='1'>
</td>
</tr>
</table>
</body>
</html>
<%@ include file="/IncludeEnd.jsp" %>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -