chenhaozhe
2025-05-30 f025d969dcf4e664ef8f7f33ee2060e113c3adff
WebTM/views/Baseset/»ù´¡×ÊÁÏ/Gy_SupplierList.html
@@ -56,7 +56,7 @@
            form.on('submit(HQuery)', function () {//选择仓库
                //var sMainStr = JSON.stringify(table.cache['mainTable']);
                RoadQuery($('#Value').val());
                RoadQuery($('#Value').val(), sessionStorage["OrganizationID"]);
            });
            form.on('submit(FH)', function () {//选择仓库
                //var sMainStr = JSON.stringify(table.cache['mainTable']);
@@ -66,7 +66,7 @@
                var index = parent.layer.getFrameIndex(window.name);
                parent.layer.close(index);
            });
            RoadQuery($('#Value').val());
            RoadQuery($('#Value').val(), sessionStorage["OrganizationID"]);
            table.render({
                elem: '#mainTable'
                // , url: '/demo/table/user/'
@@ -78,19 +78,21 @@
                , { field: 'HNumber', width: 150, title: '供应商代码' }
                , { field: 'HName', width: 150, title: '供应商名称', sort: true }
              ]]
              , page: true
                , page: true
                , limits: [50, 500, 5000, 50000],
                limit: 50
            });
            ///加载显示数据
            function RoadQuery(Where, HOrgID) {
            function RoadQuery(Where, HOtherOrgID) {
                var Value = Where;
                if (Value == null) {
                    Value = '';
                }
                if (HOrgID == null) {
                    HOrgID = 0;
                if (HOtherOrgID == null || HOtherOrgID == undefined) {
                    HOtherOrgID = 0;
                }
                $.ajax({
                    type: "get",
                    type: "GET",
                    //url: "http://61.130.49.162:9090/WMSAPI///Web/GetSupplierList_Json",
                    url: GetWEBURL() + "/Web/GetSupplierList_Json",
                    async: true,