import { FormConfig } from "/@/components/PageSearch";
import { orderTypeCgOptions, sendTicketReturnReliveStatusOptions } from "/@/utils/status";

const searchFormConfig: FormConfig = {
  formItems: [
    {
      field: "create_timer",
      type: "date_picker",
      otherOptions: {
        type: "daterange",
        startProp: "start",
        endProp: "end",
        startPlaceholder: "新建起始时间",
        endPlaceholder: "新建结束时间"
      }
    },
    {
      field: "supplierNo",
      type: "supplier-query",
      placeholder: '物流供应商'
    },
    {
      field: "status",
      type: "select",
      placeholder: "审核状态",
      options: sendTicketReturnReliveStatusOptions
    },

    {
      field: "returnCode",
      type: "input",
      placeholder: "回票解除编码"
    },
  ]
};

export default searchFormConfig;
