| 123456789101112131415161718192021222324252627282930 |
- Ext.define('erp.view.fa.fp.ReportFilesFG',{
- extend: 'Ext.Viewport',
- layout: 'fit',
- hideBorders: true,
- initComponent : function(){
- var me = this;
- Ext.apply(me, {
- items: [{
- layout: 'anchor',
- items: [{
- xtype: 'erpFormPanel',
- anchor: '100% 30%',
- saveUrl: 'fa/fp/saveReportFilesFG.action',
- deleteUrl: 'fa/fp/deleteReportFilesFG.action',
- updateUrl: 'fa/fp/updateReportFilesFG.action',
- getIdUrl: 'common/getId.action?seq=ReportFiles_SEQ',
- keyField: 'fo_id',
- formCondition: getUrlParam('formCondition')?"fo_caller='"+getUrlParam('formCondition').split('fo_callerIS')[1]+"'":''
- },{
- xtype: 'erpGridPanel2',
- anchor: '100% 70%',
- keyField: 'id',
- gridCondition : getUrlParam('gridCondition')?"caller='"+getUrlParam('gridCondition').split('callerIS')[1]+"'":'',
- mainField: 'foid'
- }]
- }]
- });
- me.callParent(arguments);
- }
- });
|