RemainQuery.js 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. Ext.define('erp.view.fa.gla.RemainQuery',{
  2. extend: 'Ext.Viewport',
  3. layout: 'anchor',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. xtype: 'form',
  10. anchor: '100% 14%',
  11. layout: 'hbox',
  12. bodyStyle: 'background: #f1f1f1;',
  13. fieldDefaults: {
  14. margin: '3 2 3 8',
  15. cls: 'form-field-allowBlank'
  16. },
  17. items: [{
  18. xtype: 'monthdatefield',
  19. fieldLabel: '期间',
  20. margin: '3 2 3 0',
  21. id: 'cmc_yearmonth',
  22. name: 'cmc_yearmonth'
  23. },{
  24. xtype: 'dbfindtrigger',
  25. fieldLabel: '科目编号',
  26. id: 'cmc_catecode',
  27. margin: '3 2 3 0',
  28. name: 'cmc_catecode'
  29. },{
  30. xtype: 'checkbox',
  31. id: 'chkhaveun',
  32. name: 'chkhaveun',
  33. margin: '3 2 3 0',
  34. boxLabel: '包括未过账凭证',
  35. cls: ''
  36. }],
  37. tbar: [{
  38. name: 'query',
  39. id: 'query',
  40. text: $I18N.common.button.erpQueryButton,
  41. iconCls: 'x-button-icon-query',
  42. cls: 'x-btn-gray',
  43. margin: '0 4 0 0',
  44. handler: function(){
  45. }
  46. }, '->', {
  47. name: 'print',
  48. text: $I18N.common.button.erpPrintButton,
  49. iconCls: 'x-button-icon-print',
  50. margin: '0 4 0 0',
  51. cls: 'x-btn-gray'
  52. }, {
  53. name: 'export',
  54. text: $I18N.common.button.erpExportButton,
  55. iconCls: 'x-button-icon-excel',
  56. cls: 'x-btn-gray',
  57. margin: '0 4 0 0'
  58. },{
  59. xtype: 'erpCloseButton',
  60. margin: '0 4 0 0'
  61. }]
  62. },{
  63. xtype: 'erpBatchDealGridPanel',
  64. anchor: '100% 86%',
  65. selModel: Ext.create('Ext.selection.RowModel',{
  66. })
  67. }]
  68. });
  69. me.callParent(arguments);
  70. }
  71. });