📄 entercode.jsp
字号:
<%
/* 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 2005-06-04
*/
%>
<%@ page contentType="text/html; charset=GBK" %>
<%@ include file="/IncludeBeginMD.jsp" %>
<%
String alert1 = (String) Configure.getConfigure(sIe_Language, "Whatistoship").get("ALERT_1");
String alert2 = (String) Configure.getConfigure(sIe_Language, "Whatistoship").get("ALERT_2");
String alert3 = (String) Configure.getConfigure(sIe_Language, "Whatistoship").get("ALERT_3");
String alert4 = (String) Configure.getConfigure(sIe_Language, "Whatistoship").get("ALERT_4");
String alert5 = (String) Configure.getConfigure(sIe_Language, "Whatistoship").get("ALERT_5");
String alert6 = (String) Configure.getConfigure(sIe_Language, "Whatistoship").get("PACK");
%>
<html>
<head>
<title><%=(String) Configure.getConfigure(sIe_Language, "Whatistoship").get("title")%>
</title>
<script language=javascript src="<%=sResourcesPath%>/keyevent.js"></script>
<script language=javascript>
function Che_acc()
{
if (document.all.code.value.length < 1) {
alert("Works No is Empty");
document.all.code.focus();
return;
}
sCode = document.all.code.value;
sReturn_isEmpty = PopPage("/ShippingManager/Whatistoship/CheckCode.jsp?Code=" + sCode + "&rand=" + randomNumber(), "", "");
//alert(sReturn_isEmpty) ;
if (sReturn_isEmpty == "error1")
{
alert('<%=alert1%>');
document.all.code.focus();
return;
}
else if (sReturn_isEmpty == "error2")
{
alert('<%=alert2%>');
document.all.code.focus();
return;
} else if (sReturn_isEmpty == "error3")
{
alert('<%=alert3%>');
document.all.code.focus();
return;
} else if (sReturn_isEmpty == "error4")
{
alert('<%=alert4%>');
document.all.code.focus();
return;
}
else if (sReturn_isEmpty == "error5")
{
alert('<%=alert5%>');
document.all.code.focus();
return;
}
else if (sReturn_isEmpty == "error6")
{
alert('<%=alert6%>');
document.all.code.focus();
self.close();
return;
}
else if(sReturn_isEmpty =="") {
OpenComp("ExistOrder", "/ShippingManager/Whatistoship/ExistWhatistoship.jsp", "Code=" + sCode + "&rand=" + randomNumber(), "right", "");
self.returnValue = "OK";
self.close();
return;
}
}
</script>
</head>
<body bgcolor="#DCDCDC">
<br>
<table border="1" width=100% align="center" bordercolor='#999999' bordercolordark='#FFFFFF'>
<tr>
<td nowrap align="right" class="black9pt" bgcolor="#D8D8AF">
Enter <%=(String) Configure.getConfigure(sIe_Language, "Whatistoship").get("WorksNo")%>
</td>
<td nowrap bgcolor="#F0F1DE">
<input type="text" name="code" onKeyDown="NumberInput();" size="6" maxlength="6"/>
</td>
</tr>
<tr align="center">
<td nowrap align="right" class="black9pt" bgcolor="#D8D8AF" height="25"> </td>
<td nowrap bgcolor="#F0F1DE" height="25">
<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 + -