CopyConfig.js 455 B

12345678910111213141516171819202122
  1. Ext.define('erp.view.ma.copy.CopyConfig',{
  2. extend:'Ext.Viewport',
  3. layout:'anchor',
  4. initComponent:function(){
  5. var me = this;
  6. Ext.apply(me,{
  7. items:[{
  8. xtype:'erpCopyFormPanel',
  9. anchor:'100% 20%'
  10. },
  11. {
  12. xtype: 'erpCopyGridPanel',
  13. anchor: '100% 80%',
  14. keyField: 'cc_caller',
  15. mainField: 'cc_caller',
  16. allowExtraButtons: true,
  17. updateUrl: '/ma/setting/CopyConfigs.action'
  18. }]
  19. })
  20. me.callParent(arguments)
  21. }
  22. });