| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- Ext.define('erp.view.fa.fp.FundPlanning',{
- extend: 'Ext.Viewport',
- layout: 'anchor',
- hideBorders: true,
- initComponent : function(){
- var me = this;
- Ext.apply(me, {
- items: [{
- xtype: 'form',
- anchor: '100% 14%',
- layout: 'column',
- bodyStyle: 'background: #f1f1f1;',
- fieldDefaults: {
- cls: 'form-field-allowBlank',
- columnWidth:0.2
- },
- items: [{
- xtype: 'combo',
- fieldLabel: '报表编号',
- editable: false,
- name: 'fs_name',
- displayField: 'display',
- valueField: 'value',
- queryMode: 'local',
- store: new Ext.data.Store({
- fields: ['display', 'value', 'data']
- })
- }, {
- xtype: 'textfield',
- readonly: true,
- fieldStyle: 'background: #f1f1f1;',
- id: 'fs_code',
- name: 'fs_code',
- fieldLabel:'编号'
- }, {
- xtype: 'condatefpfield',
- fieldLabel: '资金计划周期',
- id: 'frd_fpcircle',
- columnWidth:0.4,
- name: 'frd_fpcircle',
- value:1
- }],
- tbar: [{
- xtype: 'erpQueryButton'
- }, '->', {
- xtype: 'erpPrintButton'
- }, {
- name: 'export',
- text: $I18N.common.button.erpExportButton,
- iconCls: 'x-button-icon-excel',
- cls: 'x-btn-gray',
- margin: '0 0 0 5'
- },{
- xtype: 'erpCloseButton',
- margin: '0 0 0 5'
- }]
- }, {
- xtype: 'gridpanel',
- anchor: '100% 86%',
- columnLines: true,
- columns: [{
- text: '列1',
- cls: 'x-grid-header-1',
- flex: 1
- },{
- text: '列2',
- cls: 'x-grid-header-1',
- flex: 1
- },{
- text: '列3',
- cls: 'x-grid-header-1',
- flex: 1
- },{
- text: '列4',
- cls: 'x-grid-header-1',
- flex: 1
- },{
- text: '列5',
- cls: 'x-grid-header-1',
- flex: 1
- }],
- store: new Ext.data.Store({
- fields: [],
- data: [{},{},{},{},{},{},{},{},{},{},{},{},{},{},{}]
- })
- }]
- });
- me.callParent(arguments);
- }
- });
|