SalaryBill.js 1020 B

1234567891011121314151617181920212223242526272829303132333435
  1. Ext.define('erp.view.oa.fee.SalaryBill',{
  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% 30%',
  14. saveUrl: 'common/saveCommon.action?caller=' +caller,
  15. deleteUrl: 'common/deleteCommon.action?caller=' +caller,
  16. updateUrl: 'common/updateCommon.action?caller=' +caller,
  17. getIdUrl: 'common/getId.action?seq=SalaryBill_SEQ',
  18. auditUrl: 'oa/fee/auditSalaryBill.action',
  19. resAuditUrl: 'oa/fee/resAuditSalaryBill.action',
  20. submitUrl: 'common/submitCommon.action?caller=' +caller,
  21. resSubmitUrl: 'common/resSubmitCommon.action?caller=' +caller,
  22. keyField: 'sb_id',
  23. codeField: 'sb_code'
  24. },{
  25. xtype: 'erpGridPanel2',
  26. anchor: '100% 70%',
  27. keyField: 'sbd_id',
  28. detno: 'sbd_detno',
  29. mainField: 'sbd_sbid'
  30. }]
  31. }]
  32. });
  33. me.callParent(arguments);
  34. }
  35. });