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

📄 cancelpackingnotedo.jsp

📁 运输模块代码
💻 JSP
字号:
<%
    /**
     * @ author: RuiLei
     * @ date:   2006-5-20
     */
%>
<%@ page contentType="text/html;charset=GBK" %>
<%@ include file="/IncludeBegin.jsp" %>

<%
    //先从URL取得参数
    String sCode = DataConvert.toRealString(iPostChange, CurPage.getParameter("Code"));
    String alertConfirmDeleteAnother = (String) Configure.getConfigure(sIe_Language, "ShippingPackingNote").get("PROMPT_CONFIRM_DELETE_ANOTHER");
    String alertErrorWrongOperation = (String) Configure.getConfigure(sIe_Language, "ShippingPackingNote").get("ERROR_WRONG_OPERATION");
    String error_wrong_operation = (String) Configure.getConfigure(sIe_Language, "Common").get("ERROR_WRONG_OPERATION");
    String success_operation = (String) Configure.getConfigure(sIe_Language, "Common").get("SUCCESS_OPERATION_COM");
    String failed_operation = (String) Configure.getConfigure(sIe_Language, "Common").get("FAILED_OPERATION");

    if (sCode == null || sCode.length() == 0) {
%>
<script language="javascript">
    alert('<%= alertErrorWrongOperation %>');
    return;
</script>
<%

    }
    String cancelSql = "delete from packnote where rtrim(pnno) = '" + sCode + "'";

    int count = Sqlca.executeSQL(cancelSql);
    if (count > 0) {
%>
<script language="javascript">
    if (confirm('<%= alertConfirmDeleteAnother %>')) {
        sReturn_isEmpty = PopPage("/ShippingManager/PackingNote/cancelPackingNote/EnterCode.jsp?rand=" + randomNumber(), "", "dialogWidth=30;dialogHeight=8;center:yes;status:no;statusbar:no");
    }
</script>
<%
    } else {
%>
<script language="javascript">
    alert('<%= failed_operation %>');
    parent.OpenPage("/Blank.jsp?TextToShow=<%=failed_operation%>", "right", "");
</script>
<%

    }
%>

<%@ include file="/IncludeEnd.jsp" %>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -