VoucherDescription.js 734 B

1234567891011121314151617181920212223242526272829
  1. Ext.define('erp.view.fa.ars.VoucherDescription',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. xtype: "window",
  10. autoShow: true,
  11. closable: false,
  12. maximizable : true,
  13. width: '65%',
  14. height: '65%',
  15. layout: 'anchor',
  16. items: [{
  17. xtype: 'erpFormPanel',
  18. anchor: '100% 100%',
  19. saveUrl: 'fa/ars/saveVoucherDescription.action',
  20. deleteUrl: 'fa/ars/deleteVoucherDescription.action',
  21. updateUrl: 'fa/ars/updateVoucherDescription.action',
  22. getIdUrl: 'common/getId.action?seq=VOUCHERDESCRIPTION_SEQ',
  23. keyField: 'vd_id'
  24. }]
  25. }]
  26. });
  27. me.callParent(arguments);
  28. }
  29. });