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: "lotNumbers",
        placeholder: "请选择仓库",
        type: "select",
        isArray: true,
        label: "仓库: ",
        options: []
    },
    {
        prop: "Time",
        type: "daterange",
        options: [],
        startPlaceholder: "收货开始日期",
        endPlaceholder: "收货结束日期",
        startDate: "createBeginDate",
        endDate: "createEndDate",
        label: "收货时间: "
    },
    {
        prop: "lotNumbers",
        placeholder: "请选择供应商",
        type: "select",
        isArray: true,
        label: "供应商: ",
        options: []
    },
    {
        prop: "materialNumber",
        placeholder: "请输入物料编码",
        type: "selectRemote1",
        isArray: true,
        options: [],
        label: "物料编码: "
    },
    {
        prop: "lotNumbers",
        placeholder: "请选择收货状态",
        type: "select",
        isArray: true,
        label: "收货状态: ",
        options: []
    },
    {
        prop: "lotNumbers",
        placeholder: "请选择组织",
        type: "select",
        isArray: true,
        label: "组织: "
    },

    {
        prop: "securityNumbers",
        placeholder: "请输入收货人",
        type: "input",
        isArray: true,
        label: "收货人: "
    },

    {
        prop: "securityNumbers",
        placeholder: "请输入箱号",
        type: "input",
        isArray: true,
        label: "箱号: "
    },
    {
        prop: "securityNumbers",
        placeholder: "请输入序列号",
        type: "input",
        isArray: true,
        label: "序列号: "
    }
];

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