CustomerDistr.js 716 B

123456789101112131415161718192021222324252627
  1. Ext.define('erp.view.crm.chance.CustomerDistr',{
  2. extend: 'Ext.Viewport',
  3. layout: 'anchor',
  4. initComponent : function(){
  5. var me = this;
  6. Ext.apply(me, {
  7. items: [{
  8. xtype: 'erpFormPanel',
  9. anchor: '100% 30%',
  10. saveUrl: 'crm/chance/saveCustomerDistr.action',
  11. deleteUrl: 'crm/chance/deleteCustomerDistr.action',
  12. updateUrl: 'crm/chance/updateCustomerDistr.action',
  13. getIdUrl: 'common/getId.action?seq=CustomerDistr_SEQ',
  14. keyField: 'cu_id',
  15. codeField: 'cu_code'
  16. },{
  17. xtype: 'erpGridPanel2',
  18. anchor: '100% 70%',
  19. detno: 'cd_detno',
  20. necessaryField: 'cd_sellercode',
  21. keyField: 'cd_id',
  22. mainField: 'cd_cuid'
  23. }]
  24. });
  25. me.callParent(arguments);
  26. }
  27. });