AccountBalance.js 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. Ext.define('saas.view.money.report.AccountBalance', {
  2. extend: 'saas.view.core.report.ReportPanel',
  3. xtype: 'monry-report-accountbalance',
  4. controller: 'money-report-accountbalance',
  5. viewModel: 'money-report-accountbalance',
  6. viewName: 'money-report-accountbalance',
  7. groupField: null,
  8. listUrl: '/api/money/report/accountBalance',
  9. defaultCondition: null,
  10. reportTitle: '资金账户收支明细',
  11. QueryWidth:0.25,
  12. //筛选:账户、日期(必填)
  13. searchItems: [ {
  14. xtype: 'dbfindtrigger',
  15. name: 'bankcode',
  16. fieldLabel: '账户名称',
  17. columnWidth: 0.25
  18. }, {
  19. xtype: 'condatefield',
  20. name: 'date',
  21. fieldLabel: '日期',
  22. columnWidth: 0.5
  23. }],
  24. reportColumns: [
  25. {
  26. text: '账户编号',
  27. dataIndex: 'bankcode',
  28. width: 200
  29. }, {
  30. text: '账户名称',
  31. dataIndex: 'bankname',
  32. width: 200
  33. }, {
  34. text: '日期',
  35. dataIndex: 'date',
  36. width: 200
  37. }, {
  38. text: '业务类型',
  39. dataIndex: 'kind'
  40. },{
  41. text:'收入',
  42. dataIndex:'outamount',
  43. xtype: 'numbercolumn'
  44. },{
  45. text:'支出',
  46. dataIndex:'thisamount',
  47. xtype: 'numbercolumn'
  48. },{
  49. text: '账户余额',
  50. dataIndex: 'pr_code',
  51. xtype: 'numbercolumn'
  52. }, {
  53. text: '往来单位',
  54. dataIndex: 'bcode'
  55. }, {
  56. text: '收付款人',
  57. dataIndex: 'bmanname'
  58. }, {
  59. text: '备注',
  60. dataIndex: 'remark'
  61. }]
  62. });