VePayments.js 695 B

123456789101112131415161718192021222324252627
  1. Ext.define('erp.view.scm.purchase.VePayments',{
  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% 28%',
  11. saveUrl: 'scm/purchase/saveVePayments.action',
  12. deleteUrl: 'scm/purchase/deleteVePayments.action',
  13. updateUrl: 'scm/purchase/updateVePayments.action',
  14. getIdUrl: 'common/getId.action?seq=VEPAYMENTS_SEQ',
  15. keyField: 'vp_id',
  16. codeField: 'vp_code'
  17. },{
  18. xtype: 'erpGridPanel2',
  19. anchor: '100% 72%',
  20. detno: 'vpd_detno',
  21. keyField: 'vpd_id',
  22. mainField: 'vpd_vpid'
  23. }]
  24. });
  25. me.callParent(arguments);
  26. }
  27. });