QueryPanel.js 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. Ext.define('saas.view.money.paybalance.QueryPanel', {
  2. extend: 'saas.view.core.query.QueryPanel',
  3. xtype: 'money-paybalance-querypanel',
  4. controller: 'money-paybalance-querypanel',
  5. viewModel: 'money-paybalance-querypanel',
  6. viewName: 'money-paybalance-querypanel',
  7. queryFormItems: [{
  8. xtype: 'textfield',
  9. name: 'pb_code',
  10. fieldLabel: '单据编号',
  11. columnWidth: 0.2
  12. },{
  13. xtype: 'condatefield',
  14. name: 'pb_date',
  15. fieldLabel: '日期',
  16. columnWidth: 0.5,
  17. operation: 'between'
  18. },{
  19. xtype: 'multicombo',
  20. name: 'pb_status',
  21. fieldLabel: '审核状态',
  22. columnWidth: 0.2,
  23. datas: [
  24. ["已审核", "已审核"],
  25. ["未审核", "未审核"]
  26. ]
  27. }],
  28. moreQueryFormItems: [],
  29. queryGridConfig: {
  30. idField: 'id',
  31. codeField: 'pb_code',
  32. addTitle: '付款单',
  33. addXtype: 'money-paybalance-formpanel',
  34. defaultCondition:'1=1',
  35. baseVastUrl: '/api/money/paybalance/',
  36. // baseVastUrl: 'http://192.168.253.129:8881/paybalance/',
  37. baseColumn: [{
  38. text: 'id',
  39. dataIndex: 'id',
  40. width: 100,
  41. xtype: 'numbercolumn',
  42. hidden:true
  43. }, {
  44. text: '单据编号',
  45. dataIndex: 'pb_code',
  46. width: 200
  47. }, {
  48. text: '审核状态',
  49. dataIndex: 'pb_status',
  50. width: 120
  51. }, {
  52. text: '单据日期',
  53. dataIndex: 'pb_date',
  54. width: 160
  55. }, {
  56. text: '供应商编号',
  57. dataIndex: 'pb_vendcode',
  58. width: 200,
  59. hidden:true
  60. }, {
  61. text: '供应商名称',
  62. dataIndex: 'pb_vendname',
  63. width: 120,
  64. }, {
  65. text: '收款人',
  66. dataIndex: 'pb_manname',
  67. width: 120,
  68. }, {
  69. text: '付款金额',
  70. dataIndex: 'pb_pdamount',
  71. width: 120,
  72. hidden:true
  73. }, {
  74. text: '本次核销金额',
  75. dataIndex: 'pb_pbdamount',
  76. width: 120,
  77. hidden:true
  78. }, {
  79. text: '本次预付款',
  80. dataIndex: 'pb_preamount',
  81. width: 120,
  82. hidden:true
  83. }, {
  84. text: '整单折扣',
  85. dataIndex: 'pb_discounts',
  86. width: 120,
  87. hidden:true
  88. }, {
  89. text: '已核销金额',
  90. dataIndex: 'pb_havebalance',
  91. width: 120,
  92. hidden:true
  93. }],
  94. relativeColumn: []
  95. }
  96. });