GMYearPlan.js 658 B

1234567891011121314151617181920212223242526
  1. Ext.define('erp.view.fa.fp.GMYearPlan',{
  2. extend: 'Ext.Viewport',
  3. layout: 'anchor',
  4. initComponent : function(){
  5. var me = this;
  6. Ext.apply(me, {
  7. items: [{
  8. anchor: '100% 20%',
  9. xtype: 'erpFormPanel',
  10. saveUrl: 'fa/fp/saveGMYearPlan.action',
  11. deleteUrl: 'fa/fp/deleteGMYearPlan.action',
  12. updateUrl: 'fa/fp/updateGMYearPlan.action',
  13. getIdUrl: 'common/getId.action?seq=GMYearPlan_SEQ',
  14. keyField: 'gmp_id',
  15. statusField: 'gmp_statuscode'
  16. },{
  17. xtype: 'erpGridPanel2',
  18. anchor: '100% 80%',
  19. detno:'gmpd_detno',
  20. keyField:'gmpd_id',
  21. mainField:'gmpd_gmpid'
  22. }]
  23. });
  24. me.callParent(arguments);
  25. }
  26. });