Oapurchase.js 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. Ext.define('erp.view.oa.appliance.Oapurchase',{
  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/appliance/saveOapurchase.action',
  14. deleteUrl: 'oa/appliance/deleteOapurchase.action',
  15. updateUrl: 'oa/appliance/updateOapurchase.action',
  16. printUrl: 'oa/appliance/printOapurchase.action',
  17. getIdUrl: 'common/getId.action?seq=Oapurchase_SEQ',
  18. auditUrl: 'oa/appliance/auditOapurchase.action',
  19. resAuditUrl: 'oa/appliance/resAuditOapurchase.action',
  20. submitUrl: 'oa/appliance/submitOapurchase.action',
  21. resSubmitUrl: 'oa/appliance/resSubmitOapurchase.action',
  22. keyField: 'op_id',
  23. codeField: 'op_code',
  24. statusField: 'op_status',
  25. statuscodeField: 'op_statuscode'
  26. },{
  27. xtype: 'erpGridPanel2',
  28. anchor: '100% 50%',
  29. necessaryField: 'od_procode',
  30. keyField: 'od_id',
  31. detno: 'od_detno',
  32. mainField: 'od_oaid'
  33. }]
  34. }]
  35. });
  36. me.callParent(arguments);
  37. }
  38. });