import type { ISearchConfig } from "@/components/CURD/types";
const searchConfig: ISearchConfig = {
  pageName: "sys:user",
  isExpandable: false,
  formItems: [
    {
      type: "select",
      label: "类型",
      prop: "inOutType",
      attrs: {
        placeholder: "请选择",
        clearable: true,
        style: {
          width: "200px",
        },
      },
      options: [
        {
          label: "增加",
          value: "in",
        },
        {
          label: "减少",
          value: "out",
        },
      ],
    },
    {
      type: "select",
      label: "名目",
      prop: "inOutItem",
      attrs: {
        placeholder: "请选择",
        clearable: true,
        style: {
          width: "200px",
        },
      },
      options: [
        {
          label: "入库记录",
          value: "manual-in",
        },
        {
          label: "出库记录",
          value: "manual-out",
        },
        {
          label: "报损记录",
          value: "damage-out",
        },
      ],
      initialValue: "",
    },
  ],
};

export default searchConfig;
