DemandplanTurn.js.svn-base 991 B

12345678910111213141516171819202122232425262728293031323334
  1. Ext.define('erp.view.hr.program.DemandplanTurn',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. layout: 'anchor',
  10. items: [{
  11. xtype: 'erpFormPanel',
  12. anchor: '100% 50%',
  13. //saveUrl: 'hr/program/saveDemandplan.action',
  14. // deleteUrl: 'hr/program/deleteDemandplan.action',
  15. // updateUrl: 'hr/program/updateDemandplan.action',
  16. getIdUrl: 'common/getId.action?seq=Demandplan_SEQ',
  17. /*auditUrl: 'hr/program/auditDemandplan.action',
  18. resAuditUrl: 'hr/program/resAuditDemandplan.action',
  19. submitUrl: 'hr/program/submitDemandplan.action',
  20. resSubmitUrl: 'hr/program/resSubmitDemandplan.action',*/
  21. keyField: 'dp_id'
  22. },{
  23. xtype: 'erpGridPanel2',
  24. anchor: '100% 50%',
  25. necessaryField: 'dd_hrorgcode',
  26. keyField: 'dd_id',
  27. detno: 'dd_detno',
  28. mainField: 'dd_rpid'
  29. }]
  30. }]
  31. });
  32. me.callParent(arguments);
  33. }
  34. });