HandCard.js 835 B

1234567891011121314151617181920212223242526272829303132
  1. Ext.define('erp.view.hr.attendance.HandCard',{
  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/saveHandCard.action',
  15. deleteUrl: 'hr/attendance/deleteHandCard.action',
  16. updateUrl: 'hr/attendance/updateHandCard.action',
  17. auditUrl: 'hr/attendance/auditHandCard.action',
  18. getIdUrl: 'common/getId.action?seq=HandCard_SEQ',
  19. keyField: 'hc_id'
  20. },{
  21. xtype: 'erpGridPanel2',
  22. anchor: '100% 60%',
  23. //necessaryField: 'ppd_costname',
  24. keyField: 'hcd_id',
  25. detno: 'hcd_detno',
  26. mainField: 'hcd_hcid'
  27. }]
  28. }]
  29. });
  30. me.callParent(arguments);
  31. }
  32. });