daily.js 979 B

123456789101112131415161718192021222324252627282930313233343536
  1. Ext.define('erp.view.oa.daily.daily',{
  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: 'oa/Daily/saveDaily.action',
  14. deleteUrl: 'oa/Daily/deleteDaily.action',
  15. updateUrl: 'oa/Daily/updateDaily.action',
  16. submitUrl: 'oa/Daily/submitDaily.action',
  17. auditUrl: 'oa/Daily/auditDaily.action',
  18. resAuditUrl: 'oa/Daily/resAuditDaily.action',
  19. resSubmitUrl: 'oa/Daily/resSubmitDaily.action',
  20. getIdUrl: 'common/getId.action?seq=Daily_SEQ',
  21. keyField: 'da_id',
  22. codeField: 'da_code',
  23. statusField: 'da_status',
  24. statuscodeField: 'da_statuscode'
  25. },{
  26. xtype: 'erpGridPanel2',
  27. anchor: '100% 50%',
  28. detno: 'dd_detno',
  29. keyField: 'dd_id',
  30. mainField: 'dd_daid'
  31. }]
  32. }]
  33. });
  34. me.callParent(arguments);
  35. }
  36. });