search.config.ts 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. import { FormConfig } from "/@/components/PageSearch";
  2. import { CAPITAL_STATUS } from "/@/utils/details/tragelog";
  3. import { useTypeOptions } from "/@/utils/status";
  4. const searchFormConfig: FormConfig = {
  5. formItems: [
  6. {
  7. field: "timer",
  8. type: "date_picker",
  9. otherOptions: {
  10. type: "daterange",
  11. startProp: "start",
  12. endProp: "end",
  13. startPlaceholder: "资金认领起始时间",
  14. endPlaceholder: "资金认领结束时间"
  15. }
  16. },
  17. {
  18. field: "status",
  19. type: "select",
  20. placeholder: "资金认领状态",
  21. options: CAPITAL_STATUS
  22. },
  23. {
  24. field: "platform_type",
  25. type: "select",
  26. placeholder: "平台类型",
  27. options: useTypeOptions
  28. },
  29. {
  30. field: "logNo",
  31. type: "input",
  32. placeholder: "资金认领编码"
  33. },
  34. {
  35. field: "tradNo",
  36. type: "input",
  37. placeholder: "资金编码"
  38. },
  39. {
  40. field: "orderCode",
  41. type: "input",
  42. placeholder: "销售订单编码"
  43. },
  44. {
  45. field: "cxCode",
  46. type: "input",
  47. placeholder: "销售主单号"
  48. }
  49. ]
  50. };
  51. export default searchFormConfig;