| | |
| | | function Table() { |
| | | //表头 |
| | | columns = [ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | { type: 'checkbox', fixed: 'left', totalRowText: 'å计è¡' } |
| | | , { templet: '#xuhao', title: 'åºå·', sort: true, fixed: 'left', event: "qwe" } |
| | | , { field: 'HMaintainItemID', title: 'ä¿å
»é¡¹ç®ID', edit: 'text', hide: true } |
| | | , { field: 'HMaintainItemNumber', title: 'ä¿å
»é¡¹ç®ä»£ç ', edit: 'text', event: 'HMaintainItemNumber' } |
| | |
| | | , elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | , page: false |
| | | , totalRow: true |
| | | , cellMinWidth: 120 |
| | | , height: 500 |
| | | , cols: [columns] |
| | |
| | | function Table1() { |
| | | //表头 |
| | | columns = [ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | { type: 'checkbox', fixed: 'left', totalRowText: 'å计è¡' } |
| | | , { templet: '#xuhao', title: 'åºå·', sort: true, fixed: 'left', event: "qwe" } |
| | | , { field: 'HMaterID', title: 'é
ä»¶ID', edit: 'text', hide: true } |
| | | , { field: 'HMaterNumber', title: 'é
件代ç ', edit: 'text', event: "HMaterCode" } |
| | |
| | | //, { field: 'HManagerID', title: 'è´è´£äººID', edit: 'text', hide: true } |
| | | //, { field: 'HManagerNumber', title: 'è´è´£äººä»£ç ', edit: 'text', event: 'HManagerNumber' } |
| | | //, { field: 'HManagerName', title: 'è´è´£äºº', edit: 'text' } |
| | | , { field: 'HQty', title: 'ç¨é', edit: 'text' } |
| | | , { field: 'HQty', title: 'ç¨é', edit: 'text', totalRow: true } |
| | | , { field: 'HRemark', title: '夿³¨', edit: 'text' } |
| | | , { fixed: 'right', title: 'æä½', toolbar: '#barDemo1', width: 150 } |
| | | ]; |
| | |
| | | , toolbar: '#toolbarDemo1' |
| | | , height: 500 |
| | | , page: true |
| | | , totalRow: true |
| | | , limit: 500 |
| | | , cellMinWidth: 120 |
| | | , height: 500 |
| | |
| | | function Table3() { |
| | | //ç¹æ£è®¡å |
| | | columns_plan = [ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | { type: 'checkbox', fixed: 'left', totalRowText: 'å计è¡' } |
| | | , { templet: '#xuhao', title: 'åºå·', sort: true, event: "qwe" } |
| | | , { field: 'HPlanDate', title: 'è®¡åæ¥æ' } |
| | | , { field: 'HPlanBeginTime', title: '计åå¼å§æ¶é´ç¹' } |
| | |
| | | , elem: '#mainTable_plan' |
| | | , toolbar: '#toolbarDemo' |
| | | , page: true |
| | | , totalRow: true |
| | | , limit: 500 |
| | | , limits: [50, 200, 500, 1000, 3000] |
| | | , cellMinWidth: 120 |