| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- Ext.define('erp.view.fa.ars.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/ars/chk_a.action',
- type: 'ar_chk_a',
- value: '应收帐款期间 与 总账期间一致'
- },{
- action: 'fa/ars/chk_b.action',
- type: 'ar_chk_b',
- value: '当月的 出货单、退货单、发票、其它应收单、发出商品、收退款单、预收单、结算冲帐单已过账'
- },{
- action: 'fa/ars/chk_c.action',
- type: 'ar_chk_c',
- value: '当月的 发票、其它应收单、发出商品、收退款单、预收单、结算单已制作凭证'
- },{
- action: 'fa/ars/chk_d.action',
- type: 'ar_chk_d',
- value: '当月的 出货单、退货单已全部转开票或发出商品'
- },{
- action: 'fa/ars/chk_e.action',
- type: 'ar_chk_e',
- value: '当月的 发票、发出商品(全部未开票的) 的销售单价、成本单价与 出货单、退货单 的一致'
- },{
- action: 'fa/ars/chk_f.action',
- type: 'ar_chk_f',
- value: '当月凭证中,应收款科目有手工录入的(来源为空的)'
- },{
- action: 'fa/ars/chk_g.action',
- type: 'ar_chk_g',
- value: '当月的 总的开票数量与 出货单、退货单 的开票数量一致'
- },{
- action: 'fa/ars/chk_h.action',
- type: 'ar_chk_h',
- value: '当月的 总的发出商品数量是否与 出货单、退货单 的发出商品数量一致'
- },{
- action: 'fa/ars/chk_i.action',
- type: 'ar_chk_i',
- value: '当月开票数据中 涉及发出商品的 总的开票数量与 发出商品的开票数量一致'
- },{
- action: 'fa/ars/chk_j.action',
- type: 'ar_chk_j',
- value: '当月预收款、预收退款与应收总账里本期预收的一致'
- },{
- action: 'fa/ars/chk_k.action',
- type: 'ar_chk_k',
- value: '当月预收冲账与应收总账里本期预收冲账的一致'
- },{
- action: 'fa/ars/chk_l.action',
- type: 'ar_chk_l',
- value: '当月发出商品(成本价)与应收总账里本期发出商品的一致'
- },{
- action: 'fa/ars/chk_m.action',
- type: 'ar_chk_m',
- value: '当月发出商品(销售价)与应收总账里本期发出商品的一致'
- },{
- action: 'fa/ars/chk_n.action',
- type: 'ar_chk_n',
- value: '当月开票数据中 涉及发出商品的(成本价)与应收总账里本期发出商品转开票的一致'
- },{
- action: 'fa/ars/chk_o.action',
- type: 'ar_chk_o',
- value: '当月开票数据中 涉及发出商品的(销售价)与应收总账里本期发出商品转开票的一致'
- },{
- action: 'fa/ars/chk_p.action',
- type: 'ar_chk_p',
- value: '当月的 发票、其它应收单 的总额与 应收总账本期应收一致'
- },{
- action: 'fa/ars/chk_q.action',
- type: 'ar_chk_q',
- value: '当月的 收款单、退款单、结算单 的总额与 应收总账的本期收款一致'
- },{
- action: 'fa/ars/chk_r.action',
- type: 'ar_chk_r',
- value: '当月的 发票销售总额 与 主营业务收入 的借方一致'
- },{
- action: 'fa/ars/chk_s.action',
- type: 'ar_chk_s',
- value: '当月的 发票成本总额 与 主营业务成本 的贷方发生一致'
- }]
- })
- }]
- });
- me.callParent(arguments);
- }
- });
|