search.config.ts 664 B

1234567891011121314151617181920212223242526272829303132
  1. import { FormConfig } from "/@/components/PageSearch";
  2. import { INV_OPEN_STATUS } from "/@/utils/details/inv-open";
  3. const searchFormConfig: FormConfig = {
  4. colLayout: { span: 8 },
  5. formItems: [
  6. {
  7. field: "customer",
  8. type: "input",
  9. placeholder: "客户名称"
  10. },
  11. {
  12. field: "sequenceNo",
  13. type: "input",
  14. placeholder: "销售订单编码"
  15. },
  16. {
  17. field: "cxCode",
  18. type: "input",
  19. placeholder: "销售订单主编码"
  20. },
  21. {
  22. field: "status",
  23. type: "select",
  24. placeholder: "状态",
  25. span: 4,
  26. options: INV_OPEN_STATUS
  27. }
  28. ]
  29. };
  30. export default searchFormConfig;