TurnEmployee.js 495 B

1234567891011121314151617181920
  1. /**
  2. * 转试用员工按钮
  3. */
  4. Ext.define('erp.view.core.button.TurnEmployee',{
  5. extend: 'Ext.Button',
  6. alias: 'widget.erpTurnEmployeeButton',
  7. param: [],
  8. id: 'TurnEmployee',
  9. text: $I18N.common.button.erpTurnEmployeeButton,
  10. iconCls: 'x-button-icon-save',
  11. cls: 'x-btn-gray',
  12. formBind: true,//form.isValid() == false时,按钮disabled
  13. width: 120,
  14. style: {
  15. marginLeft: '10px'
  16. },
  17. initComponent : function(){
  18. this.callParent(arguments);
  19. }
  20. });