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: "securityNumbers",
        placeholder: "请输入创建人",
        type: "input",
        isArray: true,
        label: "创建人: "
    },

    {
        prop: "lotNumbers",
        placeholder: "请选择组织",
        type: "select",
        isArray: true,
        label: "组织: "
    },

    {
        prop: "lotNumbers",
        placeholder: "请选择同步状态",
        type: "select",
        isArray: true,
        label: "同步状态: "
    }
];

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