interface FormItem {
    prop: string;
    label?: string;
    placeholder?: string;
    type: string;
    isCopy?: boolean;
    optionProps?: any;
    startPlaceholder?: string;
    endPlaceholder?: string;
    options?: any;
    isArray?: boolean;
    startDate?: string; //开始时间(传入后台需要的参数)
    endDate?: string; //结束时间(传入后台需要的参数)
    startProp?: string;
    endProp?: string;
    isInteger?: boolean;
}
export const FORM_DATA: FormItem[] = [
    {
        prop: "securityNumbers",
        placeholder: "请输入来源单号",
        type: "input",
        isArray: true,
        label: "来源单号: "
    },
    {
        prop: "lotNumbers",
        placeholder: "请选择供应商",
        type: "select",
        isArray: true,
        label: "供应商: ",
        options: []
    },
    {
        prop: "securityNumbers",
        placeholder: "请输入质检人",
        type: "input",
        isArray: true,
        label: "质检人: "
    },
    {
        prop: "Time",
        type: "daterange",
        options: [],
        startPlaceholder: "质检开始日期",
        endPlaceholder: "质检结束日期",
        startDate: "createBeginDate",
        endDate: "createEndDate",
        label: "质检时间: "
    },
    {
        prop: "lotNumbers",
        placeholder: "请选择组织",
        type: "select",
        isArray: true,
        label: "组织: "
    },

    {
        prop: "materialNumber",
        placeholder: "请输入規格型号",
        type: "selectRemote1",
        isArray: true,
        options: [],
        label: "物料编码: "
    },
    {
        prop: "lotNumbers",
        placeholder: "请选择质检状态",
        type: "select",
        isArray: true,
        label: "质检状态: "
    }
];

export const RULE_FORM = {
    page: 1,
    size: 50,
    orgCode: 0
};
