Workovertime.js 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. Ext.define('erp.view.hr.attendance.Workovertime',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. id:'erpFormPanel',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 40%',
  14. saveUrl: 'hr/attendance/saveWorkovertime.action',
  15. deleteUrl: 'hr/attendance/deleteWorkovertime.action',
  16. updateUrl: 'hr/attendance/updateWorkovertime.action',
  17. auditUrl: 'hr/attendance/auditWorkovertime.action',
  18. resAuditUrl: 'hr/attendance/resAuditWorkovertime.action',
  19. submitUrl: 'hr/attendance/submitWorkovertime.action',
  20. confirmUrl:'hr/attendance/confirmWorkovertime.action',
  21. resSubmitUrl: 'hr/attendance/resSubmitWorkovertime.action',
  22. getIdUrl: 'common/getId.action?seq=Workovertime_SEQ',
  23. keyField: 'wo_id'
  24. },{
  25. xtype: 'erpGridPanel2',
  26. anchor: '100% 60%',
  27. //necessaryField: 'ppd_costname',
  28. keyField: 'wod_id',
  29. detno: 'wod_detno',
  30. mainField: 'wod_woid'
  31. }]
  32. }]
  33. });
  34. me.callParent(arguments);
  35. }
  36. });
  37. /*Ext.define('erp.view.hr.attendance.Workovertime',{
  38. extend: 'Ext.Viewport',
  39. layout: 'fit',
  40. hideBorders: true,
  41. initComponent : function(){
  42. var me = this;
  43. Ext.apply(me, {
  44. items: [{
  45. layout: 'anchor',
  46. items: [{
  47. xtype: 'erpFormPanel',
  48. anchor: '100% 100%',
  49. saveUrl: 'hr/attendance/saveWorkovertime.action',
  50. deleteUrl: 'hr/attendance/deleteWorkovertime.action',
  51. updateUrl: 'hr/attendance/updateWorkovertime.action',
  52. getIdUrl: 'common/getId.action?seq=WORKOVERTIME_SEQ',
  53. keyField: 'wo_id'
  54. }]
  55. }]
  56. });
  57. me.callParent(arguments);
  58. }
  59. });*/