| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- Ext.define('erp.view.fa.fix.CheckAccount',{
- extend: 'Ext.Viewport',
- layout: 'anchor',
- hideBorders: true,
- initComponent : function(){
- var me = this;
- Ext.apply(me, {
- items: [{
- xtype: 'grid',
- id: 'account-check',
- anchor: '100% 100%',
- tbar: [{
- xtype: 'tbtext',
- text: '会计期间:',
- margin: '0 0 0 20'
- },{
- xtype: 'tbtext',
- id: 'yearmonth',
- text: '201305',
- margin: '0 0 0 2'
- },{
- cls: 'x-btn-blue',
- id: 'check',
- text: '检查',
- width: 80,
- margin: '0 0 0 50'
- },{
- cls: 'x-btn-blue',
- id: 'close',
- text: $I18N.common.button.erpCloseButton,
- width: 80,
- margin: '0 0 0 5'
- },'->'],
- columns: [{
- text: '',
- dataIndex: 'check',
- flex: 1,
- renderer: function(val, meta, record) {
- meta.tdCls = val;
- return '';
- }
- },{
- text: '检测项',
- dataIndex: 'value',
- flex: 10,
- renderer: function(val, meta, record) {
- if(record.get('check') == 'error') {
- meta.style = 'color: gray';
- }
- return val;
- }
- },{
- text: '',
- dataIndex: 'link',
- flex: 1,
- renderer: function(val, meta, record) {
- if(record.get('check') == 'error') {
- meta.tdCls = 'detail';
- return '详细情况';
- }
- return '';
- }
- }],
- columnLines: true,
- store: Ext.create('Ext.data.Store',{
- fields: [{name: 'action', type: 'string'}, {name: 'type', type: 'string'}, {name: 'value', type: 'string'}],
- data: [{
- action: 'fa/fix/chk_a.action',
- type: 'fix_chk_a',
- value: '固定资产期间与总账期间是否一致'
- },{
- action: 'fa/fix/chk_b.action',
- type: 'fix_chk_b',
- value: '当月是否计提折旧'
- },{
- action: 'fa/fix/chk_c.action',
- type: 'fix_chk_c',
- value: '所有卡片是否已审核'
- },{
- action: 'fa/fix/chk_d.action',
- type: 'fix_chk_d',
- value: '当月的卡片变更单是否已审核'
- },{
- action: 'fa/fix/chk_e.action',
- type: 'fix_chk_e',
- value: '当月的资产增加单、资产减少单是否过账'
- },{
- action: 'fa/fix/chk_f.action',
- type: 'fix_chk_f',
- value: '当月新增的已审核卡片是否已经生成凭证'
- },{
- action: 'fa/fix/chk_g.action',
- type: 'fix_chk_g',
- value: '当月的折旧单、资产增加单、资产减少单是否已经生成凭证'
- },{
- action: 'fa/fix/chk_h.action',
- type: 'fix_chk_h',
- value: '固定资产所有卡片的原值金额合计与总账固定资产科目的本期余额是否一致'
- },{
- action: 'fa/fix/chk_i.action',
- type: 'fix_chk_i',
- value: '固定资产所有卡片的累计折旧金额合计与总账累计折旧科目的本期余额是否一致'
- }]
- })
- }]
- });
- me.callParent(arguments);
- }
- });
|