| | |
| | | //#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 } |
| | |
| | | , { 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 } |
| | |
| | | //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; |
| | |
| | | $.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) { |