VendorCheck.js 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. Ext.define('saas.view.money.report.VendorCheck', {
  2. extend: 'saas.view.core.report.ReportPanel',
  3. xtype: 'monry-report-vendorcheck',
  4. controller: 'money-report-vendorcheck',
  5. viewModel: 'money-report-vendorcheck',
  6. viewName: 'money-report-vendorcheck',
  7. groupField: null,
  8. listUrl: '/api/money/report/vendorCheck',
  9. // listUrl: 'http://192.168.253.35:8880/report/vendorCheck',
  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: 'pi_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_class',
  37. width: 200
  38. }, {
  39. text: '单据日期',
  40. dataIndex: 'pi_date',
  41. width: 200
  42. }, {
  43. text: '序号',
  44. dataIndex: 'pd_pdno'
  45. },{
  46. text:'供应商编号',
  47. dataIndex:'pi_vendcode'
  48. },{
  49. text:'供应商名称',
  50. dataIndex:'pi_vendname'
  51. },{
  52. text: '物料编号',
  53. dataIndex: 'pr_code'
  54. }, {
  55. text: '物料名称',
  56. dataIndex: 'pr_detail'
  57. }, {
  58. text: '物料规格',
  59. dataIndex: 'pr_spec'
  60. }, {
  61. text: '单位',
  62. dataIndex: 'pd_unit'
  63. }, {
  64. text: '采购数量',
  65. xtype: 'numbercolumn',
  66. dataIndex: 'qty',
  67. summaryType: 'count',
  68. align: 'end'
  69. }, {
  70. text: '单价',
  71. xtype: 'numbercolumn',
  72. dataIndex: 'pd_orderprice'
  73. }, {
  74. text: '税率',
  75. xtype: 'numbercolumn',
  76. dataIndex: 'pd_taxrate'
  77. }, {
  78. text: '金额',
  79. xtype: 'numbercolumn',
  80. dataIndex: 'pd_total',
  81. summaryType: 'count'
  82. }, {
  83. text: '不含税单价',
  84. xtype: 'numbercolumn',
  85. dataIndex: 'pd_netprice'
  86. }, {
  87. text: '不含税金额',
  88. xtype: 'numbercolumn',
  89. dataIndex: 'pd_nettotal'
  90. }, {
  91. text: '备注',
  92. dataIndex: 'pd_remark'
  93. }]
  94. });