QueryPanel.js 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. Ext.define('saas.view.money.othreceipts.QueryPanel', {
  2. extend: 'saas.view.core.query.QueryPanel',
  3. xtype: 'money-othreceipts-querypanel',
  4. controller: 'money-othreceipts-querypanel',
  5. viewModel: 'money-othreceipts-querypanel',
  6. viewName: 'money-othreceipts-querypanel',
  7. queryFormItems: [{
  8. xtype: 'hidden',
  9. name: 'or_id',
  10. fieldLabel: 'ID',
  11. allowBlank: true,
  12. columnWidth: 0
  13. }, {
  14. xtype : 'hidden',
  15. name : 'or_custid',
  16. fieldLabel : '客户ID'
  17. }, {
  18. xtype: 'hidden',
  19. name: 'or_custcode',
  20. fieldLabel: '客户编号'
  21. }, {
  22. xtype: 'dbfindtrigger',
  23. name: 'or_custname',
  24. fieldLabel: '客户名称'
  25. }, {
  26. xtype : 'hidden',
  27. name : 'or_bankid',
  28. fieldLabel : '账户ID'
  29. }, {
  30. xtype: 'hidden',
  31. name: 'or_bankcode',
  32. fieldLabel: '账户编号'
  33. }, {
  34. xtype: 'dbfindtrigger',
  35. name: 'or_bankname',
  36. fieldLabel: '账户名称'
  37. }],
  38. moreQueryFormItems: [],
  39. queryGridConfig: {
  40. idField: 'id',
  41. codeField: 'or_code',
  42. addTitle: '其它收入单',
  43. addXtype: 'money-othreceipts-formpanel',
  44. defaultCondition:'',
  45. baseVastUrl: '/api/money/othreceipts/',
  46. baseColumn: [{
  47. text: 'id',
  48. dataIndex: 'id',
  49. width: 100,
  50. xtype: 'numbercolumn'
  51. }, {
  52. text: '单据编号',
  53. dataIndex: 'or_code',
  54. width: 200
  55. }, {
  56. text: '单据状态',
  57. dataIndex: 'or_status',
  58. width: 120
  59. }, {
  60. text: '录入人',
  61. dataIndex: 'or_recorder',
  62. width: 120
  63. }, {
  64. text: '单据日期',
  65. dataIndex: 'or_date',
  66. xtype: 'datecolumn',
  67. width: 200
  68. }, {
  69. text: '客户名称',
  70. dataIndex: 'or_custname',
  71. width: 120
  72. }, {
  73. text: '金额',
  74. dataIndex: 'or_amount',
  75. xtype: 'numbercolumn',
  76. width: 120
  77. }, {
  78. text: '备注',
  79. dataIndex: 'or_remark',
  80. width: 250
  81. }],
  82. relativeColumn: []
  83. }
  84. });