1
duhe
2024-03-21 4c0f65f8ba29bbc72abb74cbb3ce323f73f461fa
WebTM/views/¼Æ»®¹ÜÀí/¹¤ÒÕ·Ïß/Gy_RoutingBillList.html
@@ -156,6 +156,25 @@
            var ins;                        //用于导出excel
            var HModName = "Gy_RoutingBillList";
            //获取参数
            function getUrlVars() {
                var vars = [], hash;
                var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
                for (var i = 0; i < hashes.length; i++) {
                    hash = hashes[i].split('=');
                    vars.push(hash[0]);
                    vars[hash[0]] = hash[1];
                }
                return vars;
            }
            var HMaterID = "";
            var HProID = 0;
            var params = getUrlVars();
            if (params[params[0]] != "undefined") {
                HMaterID = params[params[0]]; //从参数中获取
                HProID = params[params[1]]; //从参数中获取
            }
            //#endregion
            //#region è¿›å…¥é¡µé¢å³åŠ è½½
@@ -420,6 +439,12 @@
            //#region æŸ¥è¯¢
            function get_Display(sWhere) {
                //sWhere += " and HPRDORGID=" + sessionStorage["OrganizationID"] + " ";
                if (HMaterID != "" && HMaterID != "undefined" && HMaterID != null) {
                    sWhere += " and HMaterID = " + HMaterID;
                }
                if (HProID != 0 && HProID != "undefined" && HProID != null) {
                    sWhere += " and HMainProcID = " + HProID;
                }
                var ajaxLoad = layer.load();
                $.ajax({
                    //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum",