addEquipment.js.svn-base 629 B

123456789101112131415161718192021222324
  1. Ext.define('erp.view.oa.meeting.addEquipment',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. layout: 'anchor',
  10. items: [{
  11. xtype: 'erpFormPanel',
  12. anchor: '100% 100%',
  13. saveUrl: 'common/saveCommon.action?caller=' +caller,
  14. deleteUrl: 'common/deleteCommon.action?caller=' +caller,
  15. updateUrl: 'common/updateCommon.action?caller=' +caller,
  16. getIdUrl: 'common/getId.action?seq=EQUIPMENT_SEQ',
  17. keyField: 'eq_id',
  18. mainField:'eq_mrid'
  19. }]
  20. }]
  21. });
  22. me.callParent(arguments);
  23. }
  24. });