import { FormConfig } from "/@/components/PageSearch";
import { ticketReturnReliveStatusOptions } from "/@/utils/status";
// import { statusOptions } from "./_opitons";

const searchFormConfig: FormConfig = {
  formItems: [
    {
      field: "create_timer",
      type: "date_picker",
      otherOptions: {
        type: "daterange",
        startProp: "start",
        endProp: "end",
        startPlaceholder: "新建起始时间",
        endPlaceholder: "新建结束时间"
      }
    },
    {
      field: "companyNo",
      type: "business-query"
    },
    {
      field: "status",
      type: "select",
      placeholder: "审核状态",
      options: ticketReturnReliveStatusOptions
    },
    {
      field: 'hpNo',
      placeholder: '对账回票编码',
      type: 'input'
    },
    {
      field: "returnCode",
      type: "input",
      placeholder: "退票申请编码"
    }
  ]
};

export default searchFormConfig;
