| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- Ext.define('saas.view.sale.report.SaleRec', {
- extend: 'saas.view.core.report.ReportPanel',
- xtype: 'sale-report-salerec',
- controller: 'sale-report-salerec',
- viewModel: 'sale-report-salerec',
- viewName: 'sale-report-salerec',
- groupField: 'rb_custname',
- listUrl: '/api/sale/report/saleRec',
- defaultCondition: null,
- reportTitle: '销售收款报表',
- QueryWidth:0.25,
- searchItems: [{//筛选:客户、日期
- xtype: 'dbfindtrigger',
- name: 'sa_custname',
- fieldLabel: '客户',
- columnWidth: 0.25
- }, {
- xtype: 'condatefield',
- name: 'rb_date',
- fieldLabel: '日期',
- columnWidth: 0.5
- }],
- reportColumns: [{
- text: 'id',
- dataIndex: 'id',
- hidden: true
- }, {
- text: '收款单号',
- dataIndex: 'rb_code',
- summaryType: 'count',
- width: 200
- }, {
- text: '客户编号',
- dataIndex: 'rb_custcode',
- width: 200
- }, {
- text: '客户名称',
- dataIndex: 'rb_custname',
- width: 200
- }, {
- text: '业务员',
- dataIndex: 'rb_manname'
- }, {
- text: '日期',
- dataIndex: 'rb_date',
- xtype: 'datecolumn'
- }, {
- text: '来源单号',
- dataIndex: 'rbd_slcode'
- }, {
- text: '类型',
- dataIndex: 'rbd_slkind'
- }, {
- text: '销售金额',
- xtype: 'numbercolumn',
- dataIndex: 'rbd_amount'
- }, {
- text: '本次收款',
- xtype: 'numbercolumn',
- dataIndex: 'rbd_nowbalance'
- }, {
- text: '应收余额',
- xtype: 'numbercolumn',
- dataIndex: 'rb_rbdamount'
- }, {
- text: '回款比例',
- xtype: 'numbercolumn',
- dataIndex: 'rb_backrate'
- }, {
- text: '备注',
- dataIndex: 'rb_remark'
- }]
- });
|