Progresstoolbar.js 1003 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /**
  2. * 此toolbar用于明细表grid
  3. */
  4. Ext.define('erp.view.crm.customermgr.customervisit.Progresstoolbar', {
  5. extend : 'Ext.Toolbar',
  6. alias : 'widget.Progresstoolbar',
  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 : 'PrDrow'
  16. }, '-', {
  17. xtype : 'erpAddDetailButton',
  18. id : 'PraddDetail'
  19. }, '-', {
  20. xtype : 'erpDeleteDetailButton',
  21. id : 'PrdeleteDetail'
  22. }, '-', {
  23. xtype : 'copydetail',
  24. id : 'PrcopyDetail'
  25. }, '-', {
  26. xtype : 'pastedetail',
  27. id : 'PrpasteDetail'
  28. }, '-', {
  29. xtype : 'updetail',
  30. id : 'PrupDetail'
  31. }, '-', {
  32. xtype : 'downdetail',
  33. id : 'PrdownDetail'
  34. }, '-' ]
  35. });
  36. this.callParent(arguments);
  37. }
  38. });