Viewport.js 577 B

123456789101112131415161718192021222324
  1. Ext.define('erp.view.scm.reserve.barStockCode.Viewport',{
  2. extend: 'Ext.Viewport',
  3. layout: 'anchor',
  4. initComponent : function(){
  5. var me = this;
  6. Ext.apply(me, {
  7. items: [{
  8. region: 'north',
  9. xtype: 'erpBarStockCodeFormPanel',
  10. anchor: '100% 40%',
  11. getIdUrl: 'common/getId.action?seq=BARSTOCKTAKINGDETAIL_SEQ',
  12. keyField: 'bsd_id'
  13. },{
  14. region: 'center',
  15. xtype: 'erpBarStockCodeGridPanel',
  16. anchor: '100% 60%',
  17. detno: 'bdd_detno',
  18. keyField: 'bdd_id',
  19. mainField: 'bdd_bsdid'
  20. }]
  21. });
  22. me.callParent(arguments);
  23. }
  24. });