FeeBacktoolbar.js 978 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /**
  2. * 此toolbar用于明细表grid
  3. */
  4. Ext.define('erp.view.oa.fee.FeeBacktoolbar', {
  5. extend : 'Ext.Toolbar',
  6. alias : 'widget.FeeBacktoolbar',
  7. dock : 'bottom',
  8. requires : [ 'erp.view.core.button.AddDetail', 'erp.view.core.button.DeleteDetail', 'erp.view.core.button.Copy',
  9. 'erp.view.core.button.Paste', 'erp.view.core.button.Up', 'erp.view.core.button.Down',
  10. 'erp.view.core.button.UpExcel' ],
  11. initComponent : function() {
  12. Ext.apply(this, {// default buttons
  13. items : [ {
  14. xtype : 'tbtext',
  15. id : 'InDrow'
  16. }, '-', {
  17. xtype : 'erpAddDetailButton',
  18. id : 'InaddDetail'
  19. }, '-', {
  20. xtype : 'erpDeleteDetailButton',
  21. id : 'IndeleteDetail'
  22. }, '-', {
  23. xtype : 'copydetail',
  24. id : 'IncopyDetail'
  25. }, '-', {
  26. xtype : 'pastedetail',
  27. id : 'InpasteDetail'
  28. }, '-', {
  29. xtype : 'updetail',
  30. id : 'InupDetail'
  31. }, '-', {
  32. xtype : 'downdetail',
  33. id : 'IndownDetail'
  34. }, '-' ]
  35. });
  36. this.callParent(arguments);
  37. }
  38. });