searchQuotation.vue 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <!-- 搜索表单 -->
  2. <template>
  3. <seekPage :seekList="seekList" :formLength="3" @search="search"></seekPage>
  4. </template>
  5. <script>
  6. import {
  7. reviewStatusSelect,
  8. saleOrderProgressStatusEnum,
  9. activity_type
  10. } from '@/enum/dict';
  11. export default {
  12. data() {
  13. return {};
  14. },
  15. computed: {
  16. // 表格列配置
  17. seekList() {
  18. return [
  19. {
  20. label: '关键字:',
  21. value: 'searchName',
  22. type: 'input',
  23. placeholder: '编码/产品名称'
  24. },
  25. {
  26. label: '编码:',
  27. value: 'code',
  28. type: 'input',
  29. placeholder: '请输入'
  30. },
  31. {
  32. label: '产品名称:',
  33. value: 'productName',
  34. type: 'input',
  35. placeholder: '请输入'
  36. },
  37. // {
  38. // label: '总金额最小:',
  39. // value: 'totalPriceMin',
  40. // labelWidth: 130,
  41. // width: 370,
  42. // type: 'input',
  43. // placeholder: '请输入'
  44. // },
  45. // {
  46. // label: '总金额最大:',
  47. // value: 'totalPriceMax',
  48. // labelWidth: 130,
  49. // width: 370,
  50. // type: 'input',
  51. // placeholder: '请输入'
  52. // },
  53. {
  54. label: '询价方名称:',
  55. value: 'contactName',
  56. labelWidth: 130,
  57. width: 370,
  58. type: 'input',
  59. placeholder: '请输入'
  60. },
  61. // {
  62. // label: '询价方联系人:',
  63. // value: 'contactLinkName',
  64. // labelWidth: 130,
  65. // width: 360,
  66. // type: 'input',
  67. // placeholder: '请输入'
  68. // },
  69. // {
  70. // label: '询价方联系电话:',
  71. // value: 'contactTel',
  72. // labelWidth: 130,
  73. // width: 345,
  74. // type: 'input',
  75. // placeholder: '请输入'
  76. // },
  77. {
  78. label: '报价方名称:',
  79. value: 'quoteName',
  80. labelWidth: 130,
  81. width: 370,
  82. type: 'input',
  83. placeholder: '请输入'
  84. },
  85. // {
  86. // label: '报价方联系人:',
  87. // value: 'quoteLinkName',
  88. // labelWidth: 130,
  89. // width: 360,
  90. // type: 'input',
  91. // placeholder: '请输入'
  92. // },
  93. // {
  94. // label: '交货日期:',
  95. // value: 'deliveryDate',
  96. // width: 380,
  97. // type: 'date',
  98. // dateType: 'datetimerange',
  99. // valueAr: ['createTimeStart', 'createTimeEnd']
  100. // },
  101. {
  102. label: '审核状态:',
  103. value: 'orderStatus',
  104. width: 380,
  105. type: 'select',
  106. planList: reviewStatusSelect,
  107. placeholder: '请选择审核状态'
  108. },
  109. // {
  110. // label: '创建人:',
  111. // value: 'createUserName',
  112. // width: 380,
  113. // type: 'input',
  114. // placeholder: '请输入'
  115. // },
  116. {
  117. label: '创建时间:',
  118. value: 'createTime',
  119. type: 'date',
  120. dateType: 'datetimerange',
  121. placeholder: '',
  122. width: 380,
  123. valueAr: ['createTimeStart', 'createTimeEnd']
  124. }
  125. ];
  126. }
  127. },
  128. methods: {
  129. /* 搜索 */
  130. search(e) {
  131. this.$emit('search', {
  132. ...e
  133. });
  134. }
  135. }
  136. };
  137. </script>