PurcVendorRate.js 1004 B

1234567891011121314151617181920212223242526272829303132
  1. Ext.define('erp.view.scm.purchase.PurcVendorRate',{
  2. extend: 'Ext.Viewport',
  3. layout: 'anchor',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. xtype: 'erpFormPanel',
  10. anchor: '100% 40%',
  11. saveUrl:'scm/purchase/savePurcVendorRate.action',
  12. deleteUrl: 'scm/purchase/deletePurcVendorRate.action',
  13. updateUrl: 'scm/purchase/updatePurcVendorRate.action',
  14. auditUrl: 'scm/purchase/auditPurcVendorRate.action',
  15. resAuditUrl: 'scm/purchase/resAuditPurcVendorRate.action',
  16. submitUrl: 'scm/purchase/submitPurcVendorRate.action',
  17. resSubmitUrl: 'scm/purchase/resSubmitPurcVendorRate.action',
  18. getIdUrl: 'common/getId.action?seq=PurcVendorRate_SEQ',
  19. keyField: 'pvr_id',
  20. statusField: 'pvr_status',
  21. statuscodeField: 'pvr_statuscode'
  22. },{
  23. xtype: 'erpGridPanel2',
  24. anchor: '100% 60%',
  25. detno: 'pvd_detno',
  26. keyField: 'pvd_id',
  27. mainField: 'pvd_pviid'
  28. }]
  29. });
  30. me.callParent(arguments);
  31. }
  32. });