/** * 应收对账单 */ Ext.define('saas.view.sale.b2b.RecDataList', { extend: 'saas.view.core.base.BasePanel', xtype: 'sale-b2b-recdatalist', viewName: 'sale-b2b-recdatalist', // dataUrl: 'http://10.1.80.35:8560/api/sale/saledown/list', dataUrl: '/api/sale/saledown/list', initComponent: function() { var me = this; Ext.apply(this, { searchField: [{ xtype: 'textfield', emptyText: '请输入客户名称' }, { xtype: 'condatefield', fieldLabel: '日期', columnWidth: 0.5 }], gridConfig: { idField: null, codeField: null, statusCodeField: null, dataUrl: me.dataUrl, caller: null, rootProperty: 'data.list', totalProperty: 'data.total', actionColumn: [], selModel: { type: 'cellmodel' }, hiddenTools: true, data: [], columns : [{ text: '客户名称', dataIndex: 'khmc', width: 200 }, { text: '币别', dataIndex: 'bb', }, { text: '本期应收', dataIndex: 'bqys' }, { text: '本期发货', dataIndex: 'bqfh' }, { text: '本期未对账', dataIndex: 'bqwdz' }, { text: '本期已对账', dataIndex: 'bqydz' }, { text: '本期已收', dataIndex: 'bqys' }, { text: '应收总额', dataIndex: 'ysze' }, { text: '操作', dataIndex: 'xx', ignore: true, renderer: function() { return '明细'; } }] } }); me.callParent(arguments); } });