PriceBatch.js.svn-base 725 B

1234567891011121314151617181920212223242526272829
  1. Ext.define('erp.view.scm.reserve.PriceBatch',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. layout: 'anchor',
  10. items: [{
  11. xtype: 'erpFormPanel',
  12. anchor: '100% 20%',
  13. saveUrl: 'scm/reserve/savePriceBatch.action',
  14. updateUrl: 'scm/reserve/updatePriceBatch.action',
  15. deleteUrl: 'scm/reserve/deletePriceBatch.action',
  16. getIdUrl: 'common/getId.action?seq=UPDATEMAINFORM_SEQ',
  17. keyField: 'em_id'
  18. },{
  19. xtype: 'erpGridPanel2',
  20. anchor: '100% 80%',
  21. detno: 'pbu_detno',
  22. keyField: 'pbu_id',
  23. mainField: 'pbu_emid'
  24. }]
  25. }]
  26. });
  27. me.callParent(arguments);
  28. }
  29. });