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

📄 entercode.jsp

📁 运输模块代码
💻 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:
    *
    */
%>
<%@ 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, "Shipping_IM").get("ERROR_STAND_NULL");
    String alert_2 = (String) Configure.getConfigure(sIe_Language, "Shipping_IM").get("ERROR_STAND_NOT_EXIST");
    String standNO = (String) Configure.getConfigure(sIe_Language, "Shipping_IM").get("LB_STANDNO_INPUT_OTHER");
    String title = "Inquiry stand.";


%>
<html>
<head>
    <title><%=title%></title>
</head>
<script language=javascript>
    function Che_acc()
    {
        if (document.all.code.value.length < 1) {
            alert('<%=alert_1%>');
            document.all.code.focus();
            return;
        }
        sCode = document.all.code.value;

        sReturn_isEmpty = PopPage("/ShippingManager/InventoryMaintenance/editStand/CheckCode.jsp?Code=" + sCode + "&rand=" + randomNumber(), "", "");
        if (sReturn_isEmpty == "false")
        {
            OpenComp("ExistOrder", "/ShippingManager/InventoryMaintenance/editStand/editStand.jsp", "readonly=readonly&Code=" + sCode + "&rand=" + randomNumber(), "right", "");
            self.close();
            self.returnValue="OK";
        } else {
            alert('<%=alert_2%>');
            return;
        }
    }
    function pressEnter(arg) {
        if (window.event.keyCode == 13) {
            Che_acc();
        }
    }
</script>

<body bgcolor="#DCDCDC">
<table border="1" width=100% align="center" bordercolor='#999999' bordercolordark='#FFFFFF'>
    <tr>
        <td nowrap align="right" class="black9pt" bgcolor="#D8D8AF"><%=standNO%> &nbsp;&nbsp; </td>
        <td nowrap bgcolor="#F0F1DE">
            &nbsp;&nbsp;&nbsp;<input type="text" name="code" onKeyPress="javascript:pressEnter(1);" size="4"
                                     maxlength="4" onkeydown="NumberInput()">
        </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="button" name="next"
                   value="<%=(String)Configure.getConfigure(sIe_Language,"Common").get("SUBMIT")%>"
                   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="<%=(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 + -