| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- /**
- * 应收总账
- */
- Ext.define('saas.view.money.report.TotalRecDetail', {
- extend: 'saas.view.core.report.ReportPanel',
- xtype: 'monry-report-totalrecdetail',
- controller: 'money-report-totalrecdetail',
- viewModel: 'money-report-totalrecdetail',
- viewName: 'money-report-totalrecdetail',
- groupField: null,
- listUrl: '/api/money/report/custormonthdetails',
- // listUrl: 'http://192.168.253.139:8560/api/money/report/custormonthdetails',
- defaultCondition: null,
- reportTitle: '应收总账明细表',
- QueryWidth: 0.35,
- searchItems: [{
- xtype: 'textfield',
- name: 'cm_custcode',
- emptyText: '客户编号/名称',
- columnWidth: 0.25,
- getCondition: function (v) {
- return "(upper(cm_custcode) like '%" + v.toUpperCase() + "%' or upper(cm_custname) like '%" + v.toUpperCase() + "%')";
- },
- }, {
- xtype: 'monthdatefield',
- name: 'cm_yearmonth',
- fieldLabel: '起始期间',
- columnWidth: 0.2
- }, {
- xtype: 'monthdatefield',
- name: 'cm_yearmonthTo',
- fieldLabel: '结束期间',
- columnWidth: 0.2
- }],
- reportColumns: [{
- text: '客户编号',
- dataIndex: 'cm_custcode',
- width: 200
- }, {
- text: '客户名称',
- dataIndex: 'cm_custname',
- width: 200,
- }, {
- text: '期初应收',
- dataIndex: 'cm_beginamount',
- width: 150
- }, {
- text: '增加应收',
- xtype: 'numbercolumn',
- dataIndex: 'cm_nowamount',
- width: 150
- }, {
- text: '增加预收',
- xtype: 'numbercolumn',
- dataIndex: 'cm_nowpreamount',
- width: 150
- }, {
- text: '应收余额',
- dataIndex: 'cm_endamount',
- xtype: 'numbercolumn',
- width: 150,
- }]
- });
|