VoucherDoc.js 857 B

123456789101112131415161718192021222324252627282930
  1. Ext.define('erp.view.fa.gla.VoucherDoc',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. id:'voucherDocViewport',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 50%',
  14. saveUrl: 'fa/ars/saveVoucherDoc.action',
  15. deleteUrl: 'fa/ars/deleteVoucherDoc.action',
  16. updateUrl: 'fa/ars/updateVoucherDoc.action',
  17. auditUrl: 'fa/ars/auditVoucherDoc.action',
  18. resAuditUrl: 'fa/ars/resAuditVoucherDoc.action',
  19. submitUrl: 'fa/ars/submitVoucherDoc.action',
  20. resSubmitUrl: 'fa/ars/resSubmitVoucherDoc.action',
  21. getIdUrl: 'common/getId.action?seq=VoucherDoc_SEQ',
  22. keyField: 'cd_id',
  23. /* codeField: 'abb_code',*/
  24. /*statusField: ''*/
  25. }]
  26. }]
  27. });
  28. me.callParent(arguments);
  29. }
  30. });