| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- /**
- * 应付总账
- */
- Ext.define('saas.view.money.report.TotalPayDetail', {
- extend: 'saas.view.core.report.ReportPanel',
- xtype: 'monry-report-totalpaydetail',
- controller: 'money-report-totalpaydetail',
- viewModel: 'money-report-totalpaydetail',
- viewName: 'money-report-totalpaydetail',
- groupField: null,
- listUrl: '/api/money/report/vendormonthdetails',
- // listUrl: 'http://192.168.253.139:8560/api/money/report/vendormonthdetails',
- defaultCondition: null,
- reportTitle: '应收总账',
- QueryWidth: 0.35,
- allowPaging: false,
- searchItems: [{
- xtype: 'textfield',
- name: 'vm_vendcode',
- emptyText: '供应商编号/名称',
- columnWidth: 0.25,
- getCondition: function(v) {
- return "(upper(vm_vendcode) like '%"+v.toUpperCase()+"%' or upper(vm_vendname) like '%"+v.toUpperCase()+"%')";
- },
- }, {
- xtype: 'conmonthfield',
- fieldLabel: '期间',
- name: 'vm_yearmonth',
- columnWidth: 0.4
- }],
- reportColumns: [{
- text: '供应商编号',
- dataIndex: 'vm_vendcode',
- width: 200
- }, {
- text: '供应商名称',
- dataIndex: 'vm_vendname',
- width: 200,
- }, {
- text: '期初应付',
- xtype: 'numbercolumn',
- dataIndex: 'vm_beginamount',
- width: 150
- }, {
- text: '增加应付',
- xtype: 'numbercolumn',
- dataIndex: 'vm_nowamount',
- width: 150
- }, {
- text: '增加预付',
- xtype: 'numbercolumn',
- dataIndex: 'vm_nowpreamount',
- width: 150
- }, {
- text: '应付余额',
- dataIndex: 'vm_endamount',
- xtype: 'numbercolumn',
- width: 150,
- }]
- });
|