Ext.define('erp.view.plm.test.CheckBase',{ extend: 'Ext.Viewport', layout: 'fit', hideBorders: true, initComponent : function(){ var me = this; Ext.apply(me, { items: [{ layout: 'anchor', items: [{ xtype: 'erpFormPanel', anchor: '100% 100%', saveUrl: 'plm/check/saveCheck.action', deleteUrl: 'plm/check/deleteCheck.action', updateUrl: 'plm/check/updateCheckBase.action', auditUrl: 'plm/check/auditCheck.action', resAuditUrl: 'plm/check/resauditCheck.action', submitUrl: 'plm/check/submitCheck.action', resSubmitUrl: '/plm/check/resSubmitCheckBase.action', getIdUrl: 'common/getId.action?seq=CHECKTABLE_SEQ', keyField: 'ch_id', codeField:'ch_code' }, /*{ xtype:'tabpanel', anchor:'100% 35%', layout:'fit', items:[{ title:'沟通记录', xtype: 'erpGridPanel2', id:'grid', caller:'Check' },{ title:'变更明细', xtype: 'erpGridPanel5', id:'change', caller:'CheckChange', mainField:'cc_cldid', }] }*/ ] }] }); me.callParent(arguments); } });