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

📄 entercode.jsp

📁 运输模块代码
💻 JSP
字号:
<%--
  Created by IntelliJ IDEA.
  User: jtgao
  Date: 2006-5-18
  Time: 11:51:39
  To change this template use File | Settings | File Templates.//
  业务入口:
  输入两个信息
  检查录入 是否为null,记录是否存在
--%>
<%@ page contentType="text/html; charset=GBK"%>
<%@ include file="/IncludeBeginMD.jsp"%>
<%@ page import="com.hexiesoft.utils.StringUtils" %>
<script language=javascript src="<%=sResourcesPath%>/keyevent.js"> </script>
<%
    String alert_1 = (String)Configure.getConfigure(sIe_Language,"Shipping_TurckingRoutes").get("ALERT_1");
	String alert_2 = (String)Configure.getConfigure(sIe_Language,"Shipping_TurckingRoutes").get("ALERT_2");
    String alert_3 = (String)Configure.getConfigure(sIe_Language,"Shipping_TurckingRoutes").get("ALERT_3");
    String sTitle = (String)Configure.getConfigure(sIe_Language,"Shipping_TurckingRoutes").get("Title");
    String Label1 = (String)Configure.getConfigure(sIe_Language,"Shipping_TurckingRoutes").get("Label_1");
    String Label2 = (String)Configure.getConfigure(sIe_Language,"Shipping_TurckingRoutes").get("Label_2");
    String butLabel1 = (String)Configure.getConfigure(sIe_Language,"Shipping_TurckingRoutes").get("butlabel_4");
    String butLabel2 = (String)Configure.getConfigure(sIe_Language,"Shipping_TurckingRoutes").get("butlabel_5");
%>
<script language=javascript src="<%=sResourcesPath%>/keyevent.js"> </script>
<script language=javascript>
	function Che_acc()
	{
		if(document.all.Account.value.length<1){
			alert('<%=alert_1%>');
			document.all.Account.focus();
			return;
		}
		sAccount = document.all.Account.value;

        if(document.all.Subacct.value.length<1){
			alert('<%=alert_2%>');
			document.all.Subacct.focus();
			return;
		}
        sSubacct= document.all.Subacct.value;

        //alert(sCode);
		sReturn_isEmpty = PopPage("/ShippingManager/TurckingRoutes/CheckCode.jsp?Account="+sAccount+"&Subacct="+sSubacct+"&rand="+randomNumber(),"","");
		if(sReturn_isEmpty == "false")
		{
			OpenComp("<%=sTitle%>","/ShippingManager/TurckingRoutes/UpdateRoutes.jsp","Account="+sAccount+"&Subacct="+sSubacct+"&rand="+randomNumber(),"right","");
			self.close();
			self.returnValue="OK";
			return;
		}else{
			alert('<%=alert_3%>');
            document.all.Account.focus();
            return;
		}
	}
    function pressEnter(arg){
		if(window.event.keyCode==13){
			Che_acc();
		}
	}
</script>

<html>
  <head><title><%=sTitle%></title>

  </head>
<body bgcolor="#DCDCDC">
<table border="1" width=100% align="center" bordercolor='#999999' bordercolordark='#FFFFFF'>
  <tr> 
    <td nowrap align="right" class="black9pt" bgcolor="#D8D8AF" >&nbsp;<%=Label1%>&nbsp;&nbsp;</td>
    <td nowrap bgcolor="#F0F1DE" >
      <input type="text" name="Account" size="6" maxlength="6" >
    </td>
  </tr>
  <tr>
    <td nowrap align="right" class="black9pt" bgcolor="#D8D8AF" height="25" >&nbsp;<%=Label2%>&nbsp;&nbsp;</td>
    <td nowrap bgcolor="#F0F1DE" height="25">
      <input type="text" name="Subacct" size="4" maxlength="4" >
    </td>
  </tr>
  <tr align="center"> 
    <td nowrap align="right" class="black9pt" bgcolor="#D8D8AF" height="25" >&nbsp;</td>
    <td nowrap bgcolor="#F0F1DE" height="25"> 
      <input type="submit" name="next2" value="<%=butLabel2%>" 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="Cancel2" value="<%=butLabel1%>" 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 + -