12345678910111213141516171819202122232425262728293031323334 |
- Ext.define('erp.view.hr.program.Demandplan',{
- 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: 'hr/program/saveDemandplan.action',
- deleteUrl: 'hr/program/deleteDemandplan.action',
- updateUrl: 'hr/program/updateDemandplan.action',
- getIdUrl: 'common/getId.action?seq=Demandplan_SEQ',
- auditUrl: 'hr/program/auditDemandplan.action',
- resAuditUrl: 'hr/program/resAuditDemandplan.action',
- submitUrl: 'hr/program/submitDemandplan.action',
- resSubmitUrl: 'hr/program/resSubmitDemandplan.action',
- keyField: 'dp_id'
- },{
- xtype: 'erpGridPanel2',
- anchor: '100% 70%',
- necessaryField: 'dd_hrorgcode',
- keyField: 'dd_id',
- detno: 'dd_detno',
- mainField: 'dd_rpid'
- }]
- }]
- });
- me.callParent(arguments);
- }
- });
|