ViewPort.js 806 B

12345678910111213141516171819202122232425
  1. Ext.define('erp.view.opensys.complaint.ViewPort',{
  2. extend: 'Ext.Viewport',
  3. layout: 'anchor',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. xtype: 'erpFormPanel2',
  10. autoScroll: true,
  11. anchor:'100% 100%',
  12. saveUrl: 'crm/aftersalemgr/saveComplaint.action',
  13. deleteUrl: 'crm/aftersalemgr/deleteComplaint.action',
  14. updateUrl: 'crm/aftersalemgr/updateComplaint.action',
  15. auditUrl: 'crm/aftersalemgr/auditComplaint.action',
  16. resAuditUrl: 'crm/aftersalemgr/resAuditComplaint.action',
  17. submitUrl: 'crm/aftersalemgr/submitComplaint.action',
  18. resSubmitUrl: 'crm/aftersalemgr/resSubmitComplaint.action',
  19. getIdUrl: 'common/getId.action?seq=Complaint_SEQ',
  20. keyField: 'co_id'
  21. }]
  22. });
  23. me.callParent(arguments);
  24. }
  25. });