search.config.ts 786 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. import { good_type } from "./configs";
  2. import { FormConfig } from "/@/components/PageSearch";
  3. const searchFormConfig: FormConfig = {
  4. formItems: [
  5. {
  6. field: "status",
  7. type: "select",
  8. placeholder: "商品状态",
  9. options: good_type
  10. },
  11. {
  12. field: "spuCode",
  13. type: "input",
  14. placeholder: "商品编码"
  15. },
  16. {
  17. field: "good_name",
  18. type: "input",
  19. placeholder: "商品名称"
  20. },
  21. {
  22. field: "companyNo",
  23. type: "input",
  24. placeholder: "业务企业编号"
  25. },
  26. {
  27. field: "supplierNo",
  28. type: "input",
  29. placeholder: "供应商编号"
  30. },
  31. {
  32. field: "creater",
  33. type: "input",
  34. placeholder: "创建人名称"
  35. }
  36. ]
  37. };
  38. export default searchFormConfig;