1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- Ext.define('erp.view.pm.make.MakeIMEI',{
- extend: 'Ext.Viewport',
- layout: 'border',
- hideBorders: true,
- initComponent : function(){
- var me = this;
- Ext.apply(me, {
- items: [{
- xtype: 'panel',
- region: 'center',
- layout: 'anchor',
- items: [{
- anchor: "100% 5%",
- xtype: 'panel',
- bodyStyle: 'background: #f1f2f5;',
- layout: {
- type: 'hbox'
- },
- defaults: {
- cls: 'custom-button',
- margin: '1 0 0 1'
- },
- items: [{
- xtype: 'button',
- text: '导入历史',
- //iconCls: 'history',
- id: 'history'
- },{
- xtype: 'button',
- text: '导入配置',
- //iconCls: 'rule',
- id: 'rule'
- },{
- xtype: 'button',
- text: '下载模板',
- //iconCls: 'export',
- id: 'export'
- },{
- xtype: 'upexcel',
- text: '导入数据',
- iconCls: 'upexcel',
- itemCls: 'up',
- id: 'upexcel',
- hidden: true,
- height: 23,
- width: 90
- }/*,{
- xtype: 'button',
- text: '保存修改',
- //iconCls: 'save',
- id: 'saveupdates',
- hidden: true
- }*/,{
- xtype: 'button',
- text: '校验数据',
- //iconCls: 'check',
- id: 'check',
- hidden: true
- },{
- xtype: 'button',
- text: '转入正式',
- //iconCls: 'save',
- id: 'toformal',
- hidden: true
- },{
- xtype: 'button',
- text: '删除本次导入',
- //iconCls: 'save',
- id: 'thisdelete',
- hidden: true
- }]
- },{
- anchor: "100% 95%",
- xtype: 'panel',
- autoScroll: true,
- layout: 'border',
- items: [{
- title: title||'数据模板',
- xtype: 'panel',
- region: 'center',
- height: '100%',
- width: '100%',
- id: 'template',
- layout: 'anchor',
- autoScroll: true
- }]
- }]
- }]
- });
- me.callParent(arguments);
- }
- });
|