OaacceptanceYT.js 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. Ext.define('erp.view.oa.appliance.OaacceptanceYT',{
  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% 35%',
  13. saveUrl: 'oa/appliance/saveOaacceptance.action?caller='+caller,
  14. updateUrl: 'oa/appliance/updateOaacceptance.action?caller='+caller,
  15. deleteUrl: 'oa/appliance/deleteOaacceptance.action?caller='+caller,
  16. printUrl: 'oa/appliance/printOaacceptance.action?caller='+caller,
  17. getIdUrl: 'common/getId.action?seq=Oaacceptance_SEQ',
  18. auditUrl: 'oa/appliance/auditOaacceptance.action?caller='+caller,
  19. resAuditUrl: 'oa/appliance/resAuditOaacceptance.action?caller='+caller,
  20. submitUrl: 'oa/appliance/submitOaacceptance.action?caller='+caller,
  21. resSubmitUrl: 'oa/appliance/resSubmitOaacceptance.action?caller='+caller,
  22. postUrl: 'oa/appliance/postOaacceptance.action?caller='+caller,
  23. resPostUrl: 'oa/appliance/resPostOaacceptance.action?caller='+caller,
  24. keyField: 'op_id',
  25. codeField: 'op_code',
  26. statusField: 'op_status',
  27. statuscodeField: 'op_statuscode'
  28. },{
  29. xtype: 'erpGridPanel2',
  30. anchor: '100% 65%',
  31. necessaryField: 'od_procode',
  32. keyField: 'od_id',
  33. detno: 'od_detno',
  34. mainField: 'od_opid'
  35. }]
  36. }]
  37. });
  38. me.callParent(arguments);
  39. }
  40. });