RecDetail.js 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. Ext.define('saas.view.money.report.RecDetail', {
  2. extend: 'saas.view.core.report.ReportPanel',
  3. xtype: 'monry-report-recdetail',
  4. controller: 'money-report-recdetail',
  5. viewModel: 'money-report-recdetail',
  6. viewName: 'money-report-recdetail',
  7. groupField: null,
  8. listUrl: '/api/money/report/recDetail',
  9. // listUrl: 'http://192.168.253.35:8880/report/recDetail',
  10. defaultCondition: null,
  11. reportTitle: '应收账款明细',
  12. QueryWidth:0.1,
  13. //筛选:客户、日期(必填)
  14. searchItems: [ {
  15. xtype: 'dbfindtrigger',
  16. name: 'pi_custname',
  17. fieldLabel: '客户名称',
  18. columnWidth: 0.2
  19. }, {
  20. xtype: 'condatefield',
  21. name: 'pb_date',
  22. fieldLabel: '单据日期',
  23. columnWidth: 0.5
  24. }],
  25. reportColumns: [
  26. {
  27. text: 'id',
  28. dataIndex: 'pi_id',
  29. hidden: true
  30. }, {
  31. text: '单号',
  32. dataIndex: 'pi_inoutno',
  33. width: 200
  34. }, {
  35. text: '客户编号',
  36. dataIndex: 'pi_custcode',
  37. width: 200
  38. }, {
  39. text: '客户名称',
  40. dataIndex: 'pi_custname',
  41. width: 200
  42. }, {
  43. text: '单据类型',
  44. dataIndex: 'pi_class',
  45. width: 200
  46. },{
  47. text: '业务员',
  48. dataIndex: 'PU_BUYERNAME',
  49. width: 200
  50. }, {
  51. text: '单据日期',
  52. dataIndex: 'pb_date',
  53. width: 200,
  54. }, {
  55. text: '序号',
  56. dataIndex: 'pd_pdno'
  57. },{
  58. text:'期初应收',
  59. dataIndex:'cu_beginaramount',
  60. summaryType: 'count'
  61. },{
  62. text:'本期收款金额',
  63. xtype: 'numbercolumn',
  64. dataIndex:'pb_pdamount',
  65. summaryType: 'count'
  66. },{
  67. text: '应收余额',
  68. xtype: 'numbercolumn',
  69. dataIndex: 'mustpay',
  70. summaryType: 'count'
  71. }, {
  72. text: '应收日期',
  73. dataIndex: 'mustdate'
  74. }, {
  75. text: '单据总金额',
  76. xtype: 'numbercolumn',
  77. dataIndex: 'pi_total'
  78. }, {
  79. text: '备注',
  80. dataIndex: 'pd_unit'
  81. }]
  82. });