Ext.define('saas.view.money.report.RecDetail', { extend: 'saas.view.core.report.ReportPanel', xtype: 'monry-report-recdetail', controller: 'money-report-recdetail', viewModel: 'money-report-recdetail', viewName: 'money-report-recdetail', groupField: null, listUrl: '/api/money/report/recDetail', // listUrl: 'http://192.168.253.35:8880/report/recDetail', defaultCondition: null, reportTitle: '应收账款明细', QueryWidth:0.1, //筛选:客户、日期(必填) searchItems: [ { xtype: 'dbfindtrigger', name: 'pi_custname', fieldLabel: '客户名称', columnWidth: 0.2 }, { xtype: 'condatefield', name: 'pb_date', fieldLabel: '单据日期', columnWidth: 0.5 }], reportColumns: [ { text: 'id', dataIndex: 'pi_id', hidden: true }, { text: '单号', dataIndex: 'pi_inoutno', width: 200 }, { text: '客户编号', dataIndex: 'pi_custcode', width: 200 }, { text: '客户名称', dataIndex: 'pi_custname', width: 200 }, { text: '单据类型', dataIndex: 'pi_class', width: 200 },{ text: '业务员', dataIndex: 'PU_BUYERNAME', width: 200 }, { text: '单据日期', dataIndex: 'pb_date', width: 200, }, { text: '序号', dataIndex: 'pd_pdno' },{ text:'期初应收', dataIndex:'cu_beginaramount', summaryType: 'count' },{ text:'本期收款金额', xtype: 'numbercolumn', dataIndex:'pb_pdamount', summaryType: 'count' },{ text: '应收余额', xtype: 'numbercolumn', dataIndex: 'mustpay', summaryType: 'count' }, { text: '应收日期', dataIndex: 'mustdate' }, { text: '单据总金额', xtype: 'numbercolumn', dataIndex: 'pi_total' }, { text: '备注', dataIndex: 'pd_unit' }] });