QueryPanel.js 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. }],
  12. moreQueryFormItems: [],
  13. queryGridConfig: {
  14. idField: 'id',
  15. codeField: 'pb_code',
  16. addTitle: '付款单',
  17. addXtype: 'money-paybalance-formpanel',
  18. defaultCondition:'1=1',
  19. // baseVastUrl: '/api/money/paybalance/',
  20. baseVastUrl: 'http://192.168.253.129:8881/paybalance/',
  21. baseColumn: [{
  22. text: 'id',
  23. dataIndex: 'id',
  24. width: 100,
  25. xtype: 'numbercolumn',
  26. hidden:true
  27. }, {
  28. text: '单据编号',
  29. dataIndex: 'pb_code',
  30. width: 200
  31. }, {
  32. text: '审核状态',
  33. dataIndex: 'pb_status',
  34. width: 120
  35. }, {
  36. text: '单据日期',
  37. dataIndex: 'pb_date',
  38. width: 160
  39. }, {
  40. text: '供应商编号',
  41. dataIndex: 'pb_vendcode',
  42. width: 200,
  43. hidden:true
  44. }, {
  45. text: '供应商名称',
  46. dataIndex: 'pb_vendname',
  47. width: 120,
  48. }, {
  49. text: '收款人',
  50. dataIndex: 'pb_manname',
  51. width: 120,
  52. }, {
  53. text: '付款金额',
  54. dataIndex: 'pb_pdamount',
  55. width: 120,
  56. hidden:true
  57. }, {
  58. text: '本次核销金额',
  59. dataIndex: 'pb_pbdamount',
  60. width: 120,
  61. hidden:true
  62. }, {
  63. text: '本次预付款',
  64. dataIndex: 'pb_preamount',
  65. width: 120,
  66. hidden:true
  67. }, {
  68. text: '整单折扣',
  69. dataIndex: 'pb_discounts',
  70. width: 120,
  71. hidden:true
  72. }, {
  73. text: '已核销金额',
  74. dataIndex: 'pb_havebalance',
  75. width: 120,
  76. hidden:true
  77. }],
  78. relativeColumn: []
  79. }
  80. });