search.config.ts 763 B

12345678910111213141516171819202122232425262728293031323334
  1. import { inv_type_list } from "../../invoiceApply/status";
  2. import { FormConfig } from "/@/components/PageSearch";
  3. const searchFormConfig: FormConfig = {
  4. formItems: [
  5. {
  6. field: "invNo",
  7. type: "input",
  8. placeholder: "请输入发票申请编号"
  9. },
  10. {
  11. field: "inv_out",
  12. type: "input",
  13. placeholder: "业务企业公司编号"
  14. },
  15. {
  16. field: "timer",
  17. type: "date_picker",
  18. otherOptions: {
  19. type: "daterange",
  20. startPlaceholder: "申请开始时间",
  21. endPlaceholder: "申请结束时间"
  22. }
  23. },
  24. {
  25. field: "inv_type",
  26. type: "select",
  27. placeholder: "请选择发票类型",
  28. options: inv_type_list
  29. }
  30. ]
  31. };
  32. export default searchFormConfig;