ch
2021-08-25 2bb2ec7bb9d2989bbb3b7d6de2d1228c3c4af609
WebTM/views/Baseset/基础资料/Gy_MaterialList.html
@@ -71,7 +71,9 @@
            function RoadQuery(Where) {
                var Value = Where;
                if (Value == null) {
                    Value = '';
                    Value = " Where HStopFlag=0  and HEndFlag=1 and HUSEORGID = " + sessionStorage["OrganizationID"];
                } else {
                    Value = " Where HStopFlag=0  and HEndFlag=1 and HUSEORGID = " + sessionStorage["OrganizationID"] + " and ( HNumber like '%" + Where + "%' or HName like '%" + Where + "%' ) "
                }
                var index = layer.load();
                $.ajax({
@@ -79,7 +81,7 @@
                    //url: "http://61.130.49.162:9090/WMSAPI///Web/GetDepartmentList_Json",
                    url: GetWEBURL() + "/Web/GetMaterialList_Json",
                    async: true,
                    data: { "Material": Value },
                    data: { "sWhere": Value },
                    //data: { "Value": Value },
                    success: function (result) {
                        ajaxReturnData = JSON.parse(JSON.stringify(result)).data;