Scheduler.js 625 B

12345678910111213141516171819202122232425
  1. Ext.define('erp.view.crm.chance.Scheduler',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. id:'erpFormPanel',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 100%',
  14. saveUrl: 'crm/Chance/saveScheduler.action',
  15. deleteUrl: 'crm/Chance/deleteScheduler.action',
  16. updateUrl: 'crm/Chance/updateScheduler.action',
  17. getIdUrl: 'common/getId.action?seq=SCHEDULER_SEQ',
  18. keyField: 'sc_id',
  19. codeField: 'sc_code',
  20. }]
  21. }]
  22. });
  23. me.callParent(arguments);
  24. }
  25. });