| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177 |
- Ext.define('erp.view.fa.gs.CheckGSAccount',{
- 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'
- },'->'],
- 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/gs/chk_a.action',
- type: 'gs_chk_a',
- value: '当月银行现金单据是否全部记账'
- },{
- action: 'fa/gs/chk_b.action',
- type: 'gs_chk_b',
- value: '当月银行现金单据是否全部做了凭证'
- },{
- action: 'fa/gs/chk_c.action',
- type: 'gs_chk_c',
- value: '银行现金余额是否出现负数'
- },{
- action: 'fa/gs/chk_d.action',
- type: 'gs_chk_d',
- value: '银行现金单据会计期间是否和凭证期间一致'
- },{
- action: 'fa/gs/chk_e.action',
- type: 'gs_chk_e',
- value: '预收款、预收退款类型的银行登记关联的预收款、预收退款单是否存在、是否已记账'
- },{
- action: 'fa/gs/chk_f.action',
- type: 'gs_chk_f',
- value: '应收款、应收退款类型的银行登记关联的收款单、收款退款单是否存在、是否已记账'
- },{
- action: 'fa/gs/chk_g.action',
- type: 'gs_chk_g',
- value: '预付款、预付退款类型的银行登记关联的预付款、预付退款单是否存在、是否已记账'
- },{
- action: 'fa/gs/chk_h.action',
- type: 'gs_chk_h',
- value: '应付款、应付退款类型的银行登记关联的付款单、付款退款单是否存在、是否已记账'
- },{
- action: 'fa/gs/chk_i.action',
- type: 'gs_chk_i',
- value: '转存类型的银行登记是否平衡'
- },{
- action: 'fa/gs/chk_j.action',
- type: 'gs_chk_j',
- value: '银行各账户余额(期末平衡表)与总账对应科目原币余额是否一致'
- },{
- action: 'fa/gs/chk_k.action',
- type: 'gs_chk_k',
- value: '所有应付票据是否已审核'
- },{
- action: 'fa/gs/chk_l.action',
- type: 'gs_chk_l',
- value: '所有应付票据异动单是否已过账'
- },{
- action: 'fa/gs/chk_m.action',
- type: 'gs_chk_m',
- value: '所有应收票据是否已审核'
- },{
- action: 'fa/gs/chk_n.action',
- type: 'gs_chk_n',
- value: '所有应收票据异动单是否已过账'
- },{
- action: 'fa/gs/chk_o.action',
- type: 'gs_chk_o',
- value: '应收票据是否有关联的收款单或预收单,是否已过账'
- },{
- action: 'fa/gs/chk_p.action',
- type: 'gs_chk_p',
- value: '应付票据是否有关联的付款单或预付单,是否已过账'
- },{
- action: 'fa/gs/chk_q.action',
- type: 'gs_chk_q',
- value: '应收票据异动类型为收款、贴现的,是否有关联的银行登记,是否已记账'
- },{
- action: 'fa/gs/chk_r.action',
- type: 'gs_chk_r',
- value: '应收票据异动类型为背书转让的,是否有关联的付款单或预付单,是否已过帐'
- },{
- action: 'fa/gs/chk_s.action',
- type: 'gs_chk_s',
- value: '应付票据异动类型为兑现的,是否有关联的银行登记,是否已记账'
- },{
- action: 'fa/gs/chk_t.action',
- type: 'gs_chk_t',
- value: '每家供应商票面余额合计与总账应付票据科目对应供应商期末余额是否一致'
- },{
- action: 'fa/gs/chk_u.action',
- type: 'gs_chk_u',
- value: '每家客户票面余额合计与总账应收票据科目对应客户期末余额是否一致'
- }]
- }),
- bbar: [{
- xtype: 'checkbox',
- boxLabel: '知道错误了,我要继续结账',
- id : 'allow',
- hidden : true,
- margin: '0 5 0 20'
- },'->',{
- cls: 'x-btn-blue',
- id: 'check',
- text: '结账检查',
- width: 80,
- margin: '0 0 0 50'
- },{
- cls: 'x-btn-blue',
- id: 'accoutover',
- text: '结 账',
- width: 80,
- disabled : true,
- margin: '0 0 0 5'
- },{
- cls: 'x-btn-blue',
- id: 'resaccoutover',
- text: '反结账',
- width: 80,
- margin: '0 0 0 5'
- },{
- cls: 'x-btn-blue',
- id: 'close',
- text: $I18N.common.button.erpCloseButton,
- width: 80,
- margin: '0 175 0 5'
- }]
- }]
- });
- me.callParent(arguments);
- }
- });
|