VendorCheck.js 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. dataIndex: 'qty',
  66. summaryType: 'count'
  67. }, {
  68. text: '单价',
  69. dataIndex: 'pd_orderprice'
  70. }, {
  71. text: '税率',
  72. dataIndex: 'pd_taxrate'
  73. }, {
  74. text: '金额',
  75. dataIndex: 'pd_total',
  76. summaryType: 'count'
  77. }, {
  78. text: '不含税单价',
  79. dataIndex: 'pd_netprice'
  80. }, {
  81. text: '不含税金额',
  82. dataIndex: 'pd_nettotal'
  83. }, {
  84. text: '备注',
  85. dataIndex: 'pd_remark'
  86. }]
  87. });