LogicSetup.js 833 B

12345678910111213141516171819202122232425262728293031323334353637
  1. Ext.define('erp.view.ma.logic.LogicSetup',{
  2. extend: 'Ext.Viewport',
  3. layout: 'border',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. xtype: 'erpTreePanel',
  10. dockedItems: null,
  11. region: 'west',
  12. width: '24%',
  13. height: '100%',
  14. baseCondition: 'sn_logic=1'
  15. }, {
  16. xtype: 'panel',
  17. region: 'center',
  18. height: '100%',
  19. autoScroll: true,
  20. bodyStyle: 'background:#f1f1f1',
  21. id: 'centerpanel',
  22. bbar: ['->',{
  23. text: $I18N.common.button.erpSaveButton,
  24. iconCls: 'x-button-icon-save',
  25. cls: 'x-btn-gray',
  26. id: 'save'
  27. },'-',{
  28. text: $I18N.common.button.erpCloseButton,
  29. iconCls: 'x-button-icon-close',
  30. cls: 'x-btn-gray',
  31. id: 'close'
  32. },'->']
  33. }]
  34. });
  35. me.callParent(arguments);
  36. }
  37. });