shippingmanagermain.jsp

来自「运输模块代码」· JSP 代码 · 共 310 行 · 第 1/2 页

JSP
310
字号
        sReturnValue = PopPage("/ShippingManager/ShippingList/promiseInquiry/EnterCode.jsp?Title=<%=PG_TITLE%>&rand=" + randomNumber(), "", "dialogWidth=30;dialogHeight=14;center:yes;status:no;statusbar:no");
        if (sReturnValue == "_none_" || typeof(sReturnValue) == "undefined") {
            setTitle("<%=PG_TITLE%>");
            parent.OpenPage("/Blank.jsp?TextToShow=<%=PG_CONTNET_TEXT%>", "right", "");
            return;
        }

    } else if (sCurItemID == 15) {
        sReturnValue = PopPage("/ShippingManager/InventoryMaintenance/addStand/EnterCode.jsp?Title=<%=PG_TITLE%>&rand=" + randomNumber(), "", "dialogWidth=30;dialogHeight=8;center:yes;status:no;statusbar:no");
        if (sReturnValue == "_none_" || typeof(sReturnValue) == "undefined") {
            setTitle("<%=PG_TITLE%>");
            parent.OpenPage("/Blank.jsp?TextToShow=<%=PG_CONTNET_TEXT%>", "right", "");
            return;
        }
    } else if (sCurItemID == 16) {
        sReturnValue = PopPage("/ShippingManager/InventoryMaintenance/editStand/EnterCode.jsp?Title=<%=PG_TITLE%>&rand=" + randomNumber(), "", "dialogWidth=30;dialogHeight=8;center:yes;status:no;statusbar:no");
        if (sReturnValue == "_none_" || typeof(sReturnValue) == "undefined") {
            setTitle("<%=PG_TITLE%>");
            parent.OpenPage("/Blank.jsp?TextToShow=<%=PG_CONTNET_TEXT%>", "right", "");
            return;
        }
    } else if (sCurItemID == 17) {
        sReturnValue = PopPage("/ShippingManager/InventoryMaintenance/cancelStand/EnterCode.jsp?Title=<%=PG_TITLE%>&rand=" + randomNumber(), "", "dialogWidth=30;dialogHeight=8;center:yes;status:no;statusbar:no");
        if (sReturnValue == "_none_" || typeof(sReturnValue) == "undefined") {
            setTitle("<%=PG_TITLE%>");
            parent.OpenPage("/Blank.jsp?TextToShow=<%=PG_CONTNET_TEXT%>", "right", "");
            return;
        }
    } else if (sCurItemID == 18) {
        sReturnValue = PopPage("/ShippingManager/InventoryMaintenance/inquiryStand/EnterCode.jsp?Title=<%=PG_TITLE%>&rand=" + randomNumber(), "", "dialogWidth=30;dialogHeight=8;center:yes;status:no;statusbar:no");
        if (sReturnValue == "_none_" || typeof(sReturnValue) == "undefined") {
            setTitle("<%=PG_TITLE%>");
            parent.OpenPage("/Blank.jsp?TextToShow=<%=PG_CONTNET_TEXT%>", "right", "");
            return;
        }
    } else if (sCurItemID == 19) {
        sReturnValue = PopPage("/ShippingManager/InventoryMaintenance/StandReceipt/EnterCode.jsp?Title=<%=PG_TITLE%>&rand=" + randomNumber(), "", "dialogWidth=30;dialogHeight=8;center:yes;status:no;statusbar:no");
        if (sReturnValue == "_none_" || typeof(sReturnValue) == "undefined") {
            setTitle("<%=PG_TITLE%>");
            parent.OpenPage("/Blank.jsp?TextToShow=<%=PG_CONTNET_TEXT%>", "right", "");
            return;
        }
    } else if (sCurItemID == 20) {
        sReturnValue="_none_";
        if (confirm("<%= confirm_msg%>")) {
           // sReturnValue = PopPage("/ShippingManager/InventoryMaintenance/printStandReport/Prompt.jsp?Title=<%=PG_TITLE%>&rand=" + randomNumber(), "", "dialogWidth=30;dialogHeight=8;center:yes;status:no;statusbar:no");
            sReturnValue ="OK";
            parent.OpenComp("ExportStandExcel", "/ShippingManager/InventoryMaintenance/printStandReport/ExportExcel_stand.jsp", "", "right", "");
            //parent.OpenComp("ExportExcel==Costs", "/ReporterManager/costs/ExportExcel.jsp", "sdate=2001-6-1&edate=2006-6-6&plant=HILL&rate=0.781", "right");
        }
        if (sReturnValue == "_none_" || typeof(sReturnValue) == "undefined") {
            setTitle("<%=PG_TITLE%>");
            parent.OpenPage("/Blank.jsp?TextToShow=<%=PG_CONTNET_TEXT%>", "right", "");
            return;
        }
    } else if (sCurItemID == 22) {
        sReturnValue = PopPage("/ShippingManager/TurckingRoutes/EnterCode.jsp?Title=<%=PG_TITLE%>&rand=" + randomNumber(), "", "dialogWidth=30;dialogHeight=8;center:yes;status:no;statusbar:no");
        if (sReturnValue == "_none_" || typeof(sReturnValue) == "undefined") {
            setTitle("<%=PG_TITLE%>");
            parent.OpenPage("/Blank.jsp?TextToShow=<%=PG_CONTNET_TEXT%>", "right", "");
            return;
        }
    } else if (sCurItemID == 24) {
        sReturnValue = PopPage("/ShippingManager/unOrder/EnterCode.jsp?Title=<%=PG_TITLE%>&rand=" + randomNumber(), "", "dialogWidth=30;dialogHeight=8;center:yes;status:no;statusbar:no");
        if (sReturnValue == "_none_" || typeof(sReturnValue) == "undefined") {
            setTitle("<%=PG_TITLE%>");
            parent.OpenPage("/Blank.jsp?TextToShow=<%=PG_CONTNET_TEXT%>", "right", "");
            return;
        }
    } else if (sCurItemID == 26) {
        sReturnValue = PopPage("/ShippingManager/FinishedGoods/EnterCode.jsp?Title=<%=PG_TITLE%>&rand=" + randomNumber(), "", "dialogWidth=30;dialogHeight=8;center:yes;status:no;statusbar:no");
        if (sReturnValue == "_none_" || typeof(sReturnValue) == "undefined") {
            setTitle("<%=PG_TITLE%>");
            parent.OpenPage("/Blank.jsp?TextToShow=<%=PG_CONTNET_TEXT%>", "right", "");
            return;
        }
    } else if (sCurItemID == 28) {
        sReturnValue = PopPage("/ShippingManager/Whatistoship/EnterCode.jsp?Title=<%=PG_TITLE%>&rand=" + randomNumber(), "", "dialogWidth=30;dialogHeight=8;center:yes;status:no;statusbar:no");
        if (sReturnValue == "_none_" || typeof(sReturnValue) == "undefined") {
            setTitle("<%=PG_TITLE%>");
            parent.OpenPage("/Blank.jsp?TextToShow=<%=PG_CONTNET_TEXT%>", "right", "");
            return;
        }
    } else if (sCurItemID == 30) {
        sReturnValue = PopPage("/ShippingManager/monthlyshipments/EnterCode.jsp?Title=<%=PG_TITLE%>&rand=" + randomNumber(), "", "dialogWidth=30;dialogHeight=10;center:yes;status:no;statusbar:no");
        if (sReturnValue == "_none_" || typeof(sReturnValue) == "undefined") {
            setTitle("<%=PG_TITLE%>");
            parent.OpenPage("/Blank.jsp?TextToShow=<%=PG_CONTNET_TEXT%>", "right", "");
            return;
        }
    } else if (sCurItemID == 32) {
        sReturnValue = PopPage("/ShippingManager/stockonhand/InputAccountDialog.jsp?Title=<%=PG_TITLE%>&rand=" + randomNumber(), "", "dialogWidth=30;dialogHeight=12;center:yes;status:no;statusbar:no");
        if (sReturnValue == "_none_" || typeof(sReturnValue) == "undefined") {
            setTitle("<%=PG_TITLE%>");
            parent.OpenPage("/Blank.jsp?TextToShow=<%=PG_CONTNET_TEXT%>", "right", "");
            return;
        }
    } else if (sCurItemID == 34) {
        sReturnValue = PopPage("/ShippingManager/openorders/InputCustomerInfo.jsp?Title=<%=PG_TITLE%>&rand=" + randomNumber(), "", "dialogWidth=30;dialogHeight=13;center:yes;status:no;statusbar:no");
        if (sReturnValue == "_none_" || typeof(sReturnValue) == "undefined") {
            setTitle("<%=PG_TITLE%>");
            parent.OpenPage("/Blank.jsp?TextToShow=<%=PG_CONTNET_TEXT%>", "right", "");
            return;
        }
    } else if (sCurItemID == 36) {
       sReturnValue = PopPage("/OrderManager/InquireOrder/EnterCode.jsp?Title=<%=PG_TITLE%>&rand="+randomNumber(),"","dialogWidth=30;dialogHeight=8;center:yes;status:no;statusbar:no");
		if(sReturnValue == "_none_" || typeof(sReturnValue) == "undefined" ){
			setTitle("<%=PG_TITLE%>");
			return;
		}
    } else if (sCurItemID == 38) {
        sReturnValue = PopPage("/ShippingManager/shippingcapacity/CapacityOption.jsp?Title=<%=PG_TITLE%>&rand=" + randomNumber(), "", "dialogWidth=30;dialogHeight=20;center:yes;status:no;statusbar:no");
        if (sReturnValue == "_none_" || typeof(sReturnValue) == "undefined") {
            setTitle("<%=PG_TITLE%>");
            parent.OpenPage("/Blank.jsp?TextToShow=<%=PG_CONTNET_TEXT%>", "right", "");
            return;
        }
    } else if (sCurItemID == 40) {
        sReturnValue = PopPage("/ShippingManager/loadFergusFG/EnterCode.jsp?Title=<%=PG_TITLE%>&rand=" + randomNumber(), "", "dialogWidth=30;dialogHeight=8;center:yes;status:no;statusbar:no");
        if (sReturnValue == "_none_" || typeof(sReturnValue) == "undefined") {
            setTitle("<%=PG_TITLE%>");
            parent.OpenPage("/Blank.jsp?TextToShow=<%=PG_CONTNET_TEXT%>", "right", "");
            return;
        }
    } else if (sCurItemID == 42) {
        sReturnValue = PopPage("/ShippingManager/ReloadFergusFG/EnterCode.jsp?Title=<%=PG_TITLE%>&rand=" + randomNumber(), "", "dialogWidth=30;dialogHeight=8;center:yes;status:no;statusbar:no");
        if (sReturnValue == "_none_" || typeof(sReturnValue) == "undefined") {
            setTitle("<%=PG_TITLE%>");
            parent.OpenPage("/Blank.jsp?TextToShow=<%=PG_CONTNET_TEXT%>", "right", "");
            return;
        }
    } else if (sCurItemID == 43) {
        sReturnValue = PopPage("/ShippingManager/ShippingList/Whatistoship/EnterCode.jsp?Title=<%=PG_TITLE%>&rand=" + randomNumber(), "", "dialogWidth=30;dialogHeight=14;center:yes;status:no;statusbar:no");
        if (sReturnValue == "_none_" || typeof(sReturnValue) == "undefined") {
            setTitle("<%=PG_TITLE%>");
            parent.OpenPage("/Blank.jsp?TextToShow=<%=PG_CONTNET_TEXT%>", "right", "");
            return;
        }
    } else {
        return;
    }
    setTitle(getCurTVItem().name);
}

function startMenu() {
<%=tv.generateHTMLTreeView()%>
}

</script>

<script language="javascript">
    startMenu();
    expandNode("root");
</script>
<%@ include file="/IncludeEnd.jsp" %>

⌨️ 快捷键说明

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