| | |
| | | //åå§åè¡¨æ ¼ |
| | | function set_InitGrid() { |
| | | columns = [ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | { type: 'checkbox', fixed: 'left', totalRowText: 'å计è¡' } |
| | | , { templet: '#xuhao', title: 'åºå·', sort: true, fixed: 'left', event: "qwe", width: 100 } |
| | | , { field: 'HMaterID', title: 'HMaterID', edit: 'text', width: 100, hide: true } |
| | | , { field: 'HMaterCode', title: 'å¨å
·ä»£ç ', edit: 'text', event: 'HMaterCode', width: 100 } |
| | |
| | | , { field: 'HDesignLife', title: '设计寿å½', edit: 'text', width: 100 } |
| | | , { field: 'HLeaveLife', title: 'å©ä½å¯¿å½', edit: 'text', width: 100 } |
| | | , { field: 'HUseLife', title: '使ç¨å¯¿å½', edit: 'text', width: 100 } |
| | | , { field: 'HQty', title: '宿¶æ°é', edit: 'text', width: 100 } |
| | | , { field: 'HPrice', title: 'åä»·', edit: 'text', width: 100 } |
| | | , { field: 'HMoney', title: 'éé¢', edit: 'text', width: 100 } |
| | | , { field: 'HQty', title: '宿¶æ°é', edit: 'text', width: 100, totalRow: true} |
| | | , { field: 'HPrice', title: 'åä»·', edit: 'text', width: 100, totalRow: true} |
| | | , { field: 'HMoney', title: 'éé¢', edit: 'text', width: 100, totalRow: true} |
| | | , { field: 'HWHID', title: 'HWHID', edit: 'text', width: 100, hide: true } |
| | | , { field: 'HWHCode', title: 'æ¶æä»åºä»£ç ', edit: 'text', event: 'HWHCode', width: 120 } |
| | | , { field: 'HWHName', title: 'æ¶æä»åºåç§°', edit: 'text', width: 120 } |
| | |
| | | , elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | , page: false |
| | | , totalRow: true |
| | | , cellMinWidth: 120 |
| | | , height: 500 |
| | | , cols: [columns] |
| | |
| | | function set_CountGrid() { |
| | | //表头 |
| | | columns = [ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | { type: 'checkbox', fixed: 'left', totalRowText: 'å计è¡' } |
| | | , { templet: '#xuhao', title: 'åºå·', sort: true, fixed: 'left', event: "qwe", width: 100 } |
| | | , { field: 'ç©æä»£ç ', title: 'ç©æä»£ç ', edit: 'text', event: 'HMaterCode', width: 100 } |
| | | , { field: 'ç©æåç§°', title: 'ç©æåç§°', edit: 'text', width: 100 } |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·', edit: 'text', width: 100 } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', edit: 'text', width: 100 } |
| | | , { field: 'æ¹æ¬¡', title: 'æ¹æ¬¡', edit: 'text', width: 100 } |
| | | , { field: '宿¶æ°é', title: '宿¶æ°é', edit: 'text', width: 100 } |
| | | , { field: '宿¶æ°é', title: '宿¶æ°é', edit: 'text', width: 100, totalRow: true } |
| | | , { field: 'hwhid1', title: 'HWHID', edit: 'text', width: 100, hide: true } |
| | | , { field: 'æ¶æä»åºä»£ç ', title: 'æ¶æä»åºä»£ç ', edit: 'text', event: 'HWHCode', width: 120 } |
| | | , { field: 'æ¶æä»åºåç§°', title: 'æ¶æä»åºåç§°', edit: 'text', width: 120 } |
| | |
| | | , elem: '#mainTable1' |
| | | , height: 500 |
| | | , page: true |
| | | , totalRow: true |
| | | , limit: 500 |
| | | , cellMinWidth: 120 |
| | | , height: 500 |