| 12345678910111213141516171819202122232425262728293031323334353637 |
- Ext.define('erp.view.ma.logic.LogicSetup',{
- extend: 'Ext.Viewport',
- layout: 'border',
- hideBorders: true,
- initComponent : function(){
- var me = this;
- Ext.apply(me, {
- items: [{
- xtype: 'erpTreePanel',
- dockedItems: null,
- region: 'west',
- width: '24%',
- height: '100%',
- baseCondition: 'sn_logic=1'
- }, {
- xtype: 'panel',
- region: 'center',
- height: '100%',
- autoScroll: true,
- bodyStyle: 'background:#f1f1f1',
- id: 'centerpanel',
- bbar: ['->',{
- text: $I18N.common.button.erpSaveButton,
- iconCls: 'x-button-icon-save',
- cls: 'x-btn-gray',
- id: 'save'
- },'-',{
- text: $I18N.common.button.erpCloseButton,
- iconCls: 'x-button-icon-close',
- cls: 'x-btn-gray',
- id: 'close'
- },'->']
- }]
- });
- me.callParent(arguments);
- }
- });
|