QueryPanel.js 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. Ext.define('saas.view.money.fundtransfer.QueryPanel', {
  2. extend: 'saas.view.core.query.QueryPanel',
  3. xtype: 'money-fundtransfer-querypanel',
  4. controller: 'money-fundtransfer-querypanel',
  5. viewModel: 'money-fundtransfer-querypanel',
  6. viewName: 'money-fundtransfer-querypanel',
  7. queryFormItems: [{
  8. format : "Y-m-d",
  9. xtype : "datefield",
  10. name : "ft_date",
  11. fieldLabel : "单据日期"
  12. }],
  13. moreQueryFormItems: [],
  14. queryGridConfig: {
  15. idField: 'id',
  16. codeField: 'ft_code',
  17. addTitle: '其它收入单',
  18. addXtype: 'money-fundtransfer-formpanel',
  19. defaultCondition:'',
  20. baseVastUrl: '/api/money/fundtransfer/',
  21. baseColumn: [{
  22. text: 'id',
  23. dataIndex: 'id',
  24. width: 0,
  25. xtype: 'numbercolumn'
  26. }, {
  27. text: '单据编号',
  28. dataIndex: 'ft_code',
  29. width: 200
  30. }, {
  31. text: '单据状态',
  32. dataIndex: 'ft_status',
  33. width: 120
  34. }, {
  35. text: '录入人',
  36. dataIndex: 'ft_recorder',
  37. width: 120
  38. }, {
  39. text: '单据日期',
  40. dataIndex: 'ft_date',
  41. xtype: 'datecolumn',
  42. width: 200
  43. }, {
  44. text: '期间',
  45. dataIndex: 'ftd_ym',
  46. xtype : "numbercolumn",
  47. width: 120
  48. }, {
  49. text: '转出账户',
  50. dataIndex: 'ftd_bankname',
  51. width: 120
  52. }, {
  53. text: '转入账户',
  54. dataIndex: 'ftd_inbankname',
  55. width: 120
  56. }, {
  57. text: '金额',
  58. dataIndex: 'ftd_nowbalance',
  59. xtype : "numbercolumn",
  60. width: 120
  61. }, {
  62. text: '结算方式',
  63. dataIndex: 'ftd_paymethod',
  64. width: 120
  65. }, {
  66. text: '备注',
  67. dataIndex: 'ft_remark',
  68. width: 250,
  69. flex: 1
  70. }],
  71. relativeColumn: []
  72. }
  73. });