PayDetail.js 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. Ext.define('saas.view.money.report.PayDetail', {
  2. extend: 'saas.view.core.report.ReportPanel',
  3. xtype: 'monry-report-paydetail',
  4. controller: 'money-report-paydetail',
  5. viewModel: 'money-report-paydetail',
  6. viewName: 'money-report-paydetail',
  7. groupField: null,
  8. listUrl: '/api/money/report/payDetail',
  9. // listUrl: 'http://192.168.253.35:8880/report/payDetail',
  10. defaultCondition: null,
  11. reportTitle: '应付账款明细表',
  12. QueryWidth:0.1,
  13. //筛选:供应商、日期(必填)
  14. searchItems: [ {
  15. xtype: 'dbfindtrigger',
  16. name: 'pi_vendname',
  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_vendcode'
  37. },{
  38. text:'供应商名称',
  39. dataIndex:'pi_vendname'
  40. }, {
  41. text: '单据类型',
  42. dataIndex: 'pi_class',
  43. width: 200
  44. }, {
  45. text: '单据日期',
  46. dataIndex: 'pb_date',
  47. width: 200
  48. }, {
  49. text: '采购员',
  50. dataIndex: 'pu_buyercode'
  51. },{
  52. text: '单据日期',
  53. dataIndex: 'pb_date'
  54. }, {
  55. text: '期初应付余额',
  56. dataIndex: 've_beginapamount',
  57. summaryType: 'count'
  58. }, {
  59. text: '本期付款金额',
  60. dataIndex: 'pb_pdamount',
  61. summaryType: 'count'
  62. }, {
  63. text: '应付余额',
  64. dataIndex: 'mustpay',
  65. summaryType: 'count'
  66. }, {
  67. text: '应付日期',
  68. dataIndex: 'mustdate',
  69. }, {
  70. text: '单据总金额',
  71. dataIndex: 'pi_total',
  72. summaryType: 'count'
  73. }, {
  74. text: '备注',
  75. dataIndex: 'pi_remark'
  76. }]
  77. });