CustomerImpDistrApply.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. Ext.define('erp.view.crm.chance.CustomerImpDistrApply',{
  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% 30%',
  13. saveUrl: 'crm/chance/saveCustomerImpDistrApply.action',
  14. deleteUrl: 'crm/chance/deleteCustomerImpDistrApply.action',
  15. updateUrl: 'crm/chance/updateCustomerImpDistrApply.action',
  16. getIdUrl: 'common/getId.action?seq=CustomerImpDistrApply_SEQ',
  17. auditUrl: 'crm/Chance/auditCustomerImpDistrApply.action',
  18. resAuditUrl: 'crm/Chance/resAuditCustomerImpDistrApply.action',
  19. submitUrl: 'crm/Chance/submitCustomerImpDistrApply.action',
  20. resSubmitUrl: 'crm/Chance/resSubmitCustomerImpDistrApply.action',
  21. keyField: 'ca_id',
  22. codeField: 'ca_code',
  23. },{
  24. xtype: 'erpGridPanel2',
  25. anchor: '100% 70%',
  26. detno: 'cad_detno',
  27. necessaryField: 'cad_sellercode',
  28. keyField: 'cad_id',
  29. mainField: 'cad_caid'
  30. }]
  31. }]
  32. });
  33. me.callParent(arguments);
  34. }
  35. });