Ration.js 526 B

1234567891011121314151617181920212223
  1. Ext.define('erp.view.pm.make.Ration',{
  2. extend: 'Ext.Viewport',
  3. layout: 'anchor',
  4. initComponent : function(){
  5. var me = this;
  6. Ext.apply(me, {
  7. items: [{
  8. xtype: 'erpFormPanel',
  9. anchor: '100% 30%',
  10. saveUrl: 'pm/make/saveRation.action',
  11. updateUrl: 'pm/make/updateRation.action',
  12. statusField: 'ra_status',
  13. statuscodeField: 'ra_statuscode'
  14. },{
  15. xtype: 'erpGridPanel2',
  16. anchor: '100% 70%',
  17. detno: 'ra_detno',
  18. keyField: 'ra_id'
  19. }]
  20. });
  21. me.callParent(arguments);
  22. }
  23. });