| 123456789101112131415161718192021222324252627 |
- Ext.define('erp.view.crm.chance.CustomerDistr',{
- extend: 'Ext.Viewport',
- layout: 'anchor',
- initComponent : function(){
- var me = this;
- Ext.apply(me, {
- items: [{
- xtype: 'erpFormPanel',
- anchor: '100% 30%',
- saveUrl: 'crm/chance/saveCustomerDistr.action',
- deleteUrl: 'crm/chance/deleteCustomerDistr.action',
- updateUrl: 'crm/chance/updateCustomerDistr.action',
- getIdUrl: 'common/getId.action?seq=CustomerDistr_SEQ',
- keyField: 'cu_id',
- codeField: 'cu_code'
- },{
- xtype: 'erpGridPanel2',
- anchor: '100% 70%',
- detno: 'cd_detno',
- necessaryField: 'cd_sellercode',
- keyField: 'cd_id',
- mainField: 'cd_cuid'
- }]
- });
- me.callParent(arguments);
- }
- });
|