Add.js 383 B

123456789101112131415161718
  1. /**
  2. * 新增按钮
  3. */
  4. Ext.define('erp.view.core.button.Add',{
  5. extend: 'Ext.Button',
  6. alias: 'widget.erpAddButton',
  7. iconCls: 'x-button-icon-add',
  8. cls: 'x-btn-gray',
  9. id: 'addbtn',
  10. text: $I18N.common.button.erpAddButton,
  11. style: {
  12. marginLeft: '10px'
  13. },
  14. width: 60,
  15. initComponent : function(){
  16. this.callParent(arguments);
  17. }
  18. });