YL
2022-02-15 81c93ee7a4bc6735ad8f69ea0ee7244eaa58d73f
WebTM/views/»ù´¡×ÊÁÏ/¹«Óûù´¡×ÊÁÏ/Gy_EmployeeList.html
@@ -169,13 +169,14 @@
        //#region åˆå§‹åŒ–表格方法
            function set_InitGrid() {
                //初始化网格
               option = {
                option = {
                    elem: '#mainTable'
                    , toolbar: '#toolbarDemo'
                    , height: 'full-50'
                    , page: true
                    , cellMinWidth: 90
                    , limits:[50,500,1000,5000]
                    , limit: 50
                    , limits: [50, 500, 5000, 20000]
                    , cols: [[
                        { type: 'checkbox', fixed: 'left' }
                        , { field: 'HItemID', title: 'HItemID', sort: true, hide: true }
@@ -183,10 +184,10 @@
                        , { field: '职员名称', title: '职员名称', sort: true }
                        , { field: '条码编号', title: '条码编号' }
                        , { field: 'HDeptID', title: 'HDeptID', hide: true }
                        , { field: '车间代码', title: '车间代码', sort: true}
                        , { field: '车间名称', title: '车间名称', sort: true}
                        , { field: '车间代码', title: '车间代码', sort: true }
                        , { field: '车间名称', title: '车间名称', sort: true }
                        , { field: 'HGroupID', title: 'HGroupID', hide: true }
                        , { field: '班组代码', title: '班组代码', sort: true}
                        , { field: '班组代码', title: '班组代码', sort: true }
                        , { field: '班组名称', title: '班组名称', sort: true }
                        , { field: '明细标记', title: '明细标记' }
                        , { field: '禁用标记', title: '禁用标记', sort: true }
@@ -204,7 +205,7 @@
                    //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum",
                    url: GetWEBURL() + '/Gy_Employee/list',
                    type: "GET",
                    data: { "sWhere": sWhere, "Organization": Organization  },
                    data: { "sWhere": sWhere, "user": sessionStorage["HUserName"], "Organization": Organization  },
                    success: function (data1) {
                        if (data1.count == 1) {
                            option.data = data1.data;
@@ -284,7 +285,7 @@
                        $.ajax({
                            url: GetWEBURL() + 'DeltetGy_Employee',
                            type: "GET",
                            data: { "HItemID": ItemID },
                            data: { "HItemID": ItemID, "user": sessionStorage["HUserName"]},
                            success: function (result) {
                                console.log('gouba' + result);
                                if (result.count == 1) {