PrePaid.js 940 B

12345678910111213141516171819202122232425262728293031323334
  1. Ext.define('erp.view.fa.gla.PrePaid',{
  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% 30%',
  11. deleteUrl: 'fa/gla/deletePrePaid.action',
  12. updateUrl: 'fa/gla/updatePrePaid.action',
  13. auditUrl: 'fa/gla/auditPrePaid.action',
  14. saveUrl: 'fa/gla/savePrePaid.action',
  15. resAuditUrl: 'fa/gla/resAuditPrePaid.action',
  16. postUrl: 'fa/gla/postPrePaid.action',
  17. resPostUrl: 'fa/gla/resPostPrePaid.action',
  18. getIdUrl: 'common/getId.action?seq=PrePaid_SEQ',
  19. keyField: 'pp_id',
  20. codeField: 'pp_code',
  21. statusField: 'pp_status',
  22. statuscodeField: 'pp_statuscode'
  23. },{
  24. xtype: 'erpGridPanel2',
  25. anchor: '100% 70%',
  26. detno: 'pd_detno',
  27. necessaryField: 'pd_amortcode',
  28. keyField: 'pd_id',
  29. mainField: 'pd_ppid'
  30. }]
  31. });
  32. me.callParent(arguments);
  33. }
  34. });