📄 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:sz 2006-05-23
* Tester:
*
* Content:
* Input Param:
*
*
*
* Output param:
*
*/
%>
<%@ page contentType="text/html; charset=GBK" %>
<%@ include file="/IncludeBeginMD.jsp" %>
<%
String label1 = (String) Configure.getConfigure(sIe_Language, "AddShippingList").get("ENTERCODE_LABEL_1");
String label2 = (String) Configure.getConfigure(sIe_Language, "AddShippingList").get("ENTERCODE_LABEL_2");
String label3 = (String) Configure.getConfigure(sIe_Language, "AddShippingList").get("ENTERCODE_LABEL_3");
String label4 = (String) Configure.getConfigure(sIe_Language, "AddShippingList").get("ENTERCODE_LABEL_4");
String alert1 = (String) Configure.getConfigure(sIe_Language, "AddShippingList").get("ENTERCODE_ALERT_1");
String alert2 = (String) Configure.getConfigure(sIe_Language, "AddShippingList").get("ENTERCODE_ALERT_2");
String alert3 = (String) Configure.getConfigure(sIe_Language, "AddShippingList").get("ENTERCODE_ALERT_3");
%>
<html>
<head>
<title>PICK LIST ADD</title>
</head>
<script language="javascript" src="<%=sResourcesPath%>/keyevent.js"></script>
<script language=javascript>
var sMzcDesc = document.getElementsByName("mzcDesc");
function check_raddio()
{
if (sMzcDesc[1].checked)
{
OpenComp("addshippinglist", "/ShippingManager/ShippingList/addShippingList/EnterWorksno.jsp", "rand=" + randomNumber(), "right", "");
self.returnValue = "OK";
self.close();
return;
}
}
function Che_whouse()
{
if (document.all.warehouse.value.length < 1) {
alert('<%=alert1%>');
document.all.warehouse.focus();
return;
}
else if (document.all.warehouse.value == 'REG' || document.all.warehouse.value == 'reg')
{
alert('<%=alert2%>');
document.all.warehouse.focus();
return;
}
sWarehouse = document.all.warehouse.value;
sReturn_isEmpty = PopPage("/ShippingManager/ShippingList/addShippingList/checkWarehouse.jsp?warehouse=" + sWarehouse + "&rand=" + randomNumber(), "", "");
if (sReturn_isEmpty == "false")
{
OpenComp("addshipppinglist", "/ShippingManager/ShippingList/addShippingList/EnterWorksno.jsp", "warehouse=" + sWarehouse + "&rand=" + randomNumber(), "right", "");
self.returnValue = "OK";
self.close();
return;
} else {
alert('<%=alert3%>');
return;
}
}
function pressEnter(arg) {
if (window.event.keyCode == 13) {
Che_whouse();
}
}
</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" width=35%><%=label1%> </td>
<td nowrap bgcolor="#F0F1DE"><label>
<input name="mzcDesc" type="radio" value="1" checked onClick="check_raddio()">
<%=label2%></label> <br>
<label>
<input type="radio" name="mzcDesc" value="2" onClick="check_raddio()">
<%=label3%></label>
</td>
</tr>
<tr>
<td nowrap align="right" class="black9pt" bgcolor="#D8D8AF"><%=label4%> </td>
<td nowrap bgcolor="#F0F1DE">
<input name="warehouse" style="text-transform : uppercase ; " type="text" id="warehouse" onKeyPress="javascript:pressEnter(1);"
size="4" maxlength="4">
</input>
</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="<%=(String)Configure.getConfigure(sIe_Language,"Common").get("SUBMIT")%>"
onClick="javascript:Che_whouse()"
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="<%=(String)Configure.getConfigure(sIe_Language,"Common").get("CANCEL")%>"
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 + -