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

📄 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:sz 2006-5-16
    * Tester:
    *
    * Content:
    * Input Param:
    *
    *
    *
    * Output param:
    *
    */
%>
<%@ page contentType="text/html; charset=GBK" %>
<%@ include file="/IncludeBeginMD.jsp" %>
<%
    String sEnterCode = (String) Configure.getConfigure(sIe_Language, "CancelShippingList").get("ENTER_CODE");
    String alert_1 = (String) Configure.getConfigure(sIe_Language, "CancelShippingList").get("ALERT_1");
    String alert_2 = (String) Configure.getConfigure(sIe_Language, "CancelShippingList").get("CODE_NOT_EXSIT");
    String alert_3 = (String) Configure.getConfigure(sIe_Language, "CancelShippingList").get("NO_LOT_FOR_BLNO");
    String alert_4 = (String) Configure.getConfigure(sIe_Language, "CancelShippingList").get("ALERT_4");
    String confirm1 = (String) Configure.getConfigure(sIe_Language, "CancelShippingList").get("CONFIRM_DELETE");
    String confirm2 = (String) Configure.getConfigure(sIe_Language, "CancelShippingList").get("CONFIRM2");
%>
<html>
<head>
    <title>Enter B/L N0</title>
</head>
<script language="javascript" src="<%=sResourcesPath%>/keyevent.js"></script>
<script language=javascript>
    function checkform()
    {
        var sCode = document.all.code.value;
        if (sCode.length < 1)
        {
            alert('<%=alert_1%>');
            document.all.code.focus();
            return;
        }
        sCode = document.all.code.value;

        sReturn = PopPage("/ShippingManager/ShippingList/cancelShippingList/check.jsp?Code=" + sCode + "&rand=" + randomNumber(), "", "");


        if (sReturn == "sh") {
            alert('<%=alert_2%>');
            document.all.code.focus();
            return;
        }
        else if (sReturn == "pa") {
            alert('<%=alert_3%>');
            document.all.code.focus();
            return;
        }
        else {
            if (!confirm('<%=confirm1%>')) {
                self.returnValue = "OK";
                self.close();
                return;
            }
            if (!confirm('<%=confirm2%>')) {
                self.returnValue = "OK";
                self.close();
                return;
                //document.all.code.focus();
                // return;
            }
            if (sReturn == "in") {
                alert('<%=alert_4%>');
                document.all.code.focus();
                return;
            }
        }
        OpenComp("cancelShippingList", "/ShippingManager/ShippingList/cancelShippingList/CancelShippingList.jsp", "Code=" + sCode + "&rand=" + randomNumber(), "right", "");
        self.returnValue = "OK";
        self.close();
        return;

    }

</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%><%=sEnterCode%>
        </td>
        <td nowrap bgcolor="#F0F1DE">
            &nbsp;&nbsp;&nbsp;<input type="text" name="code" size="6" maxlength="6" onKeydown="NumberInput()"></input>
        </td>
    </tr>
    <tr align="center">
        <td nowrap align="right" class="black9pt" bgcolor="#D8D8AF" height="25" width=35%>&nbsp;</td>
        <td nowrap bgcolor="#F0F1DE" height="25">
            <input type="button" name="next"
                   value="<%=(String)Configure.getConfigure(sIe_Language,"Common").get("SUBMIT")%>"
                   onClick="javascript:checkform()"
                   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 + -