QueryPanel.js 2.1 KB

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