import { good_type } from "./configs";
import { FormConfig } from "/@/components/PageSearch";

const searchFormConfig: FormConfig = {
  formItems: [
    {
      field: "group",
      type_field: "group_type",
      type: "input_group",
      otherOptions: {
        inputGroupOptions: [
          { value: "spuCode", label: "商品编码" },
          { value: "good_name", label: "商品名称" },
          // { value: "companyNo", label: "买方公司编码" },
          { value: "creater", label: "创建人" }
        ]
      }
    },
    {
      field: "companyNo",
      type: "business-query"
    },
    {
      field: "status",
      type: "select",
      placeholder: "状态",
      options: good_type
    }
  ]
};

export default searchFormConfig;
