export const FORMDATA: any[] = [
    {
        prop: "sourceBillNo",
        placeholder: "请输入来源单号",
        type: "input",
        label: "来源单号："
    },
    {
        prop: "type",
        placeholder: "请选择入库类型",
        type: "select",
        options: [],
        label: "入库类型："
    },
    {
        prop: "stockCode",
        placeholder: "请选择状态",
        type: "select",
        options: [],
        label: "仓库："
    },
    {
        prop: "time",
        type: "daterange",
        options: [],
        startPlaceholder: "开始日期",
        endPlaceholder: "结束日期",
        label: "入库日期："
    },
    {
        prop: "supplierId",
        placeholder: "请输入供应商",
        type: "selectRemote",
        label: "供应商：",
        options: []
    },
    {
        prop: "materialNumber",
        placeholder: "请输入物料名称/规格型号/编码",
        type: "input",
        label: "物料："
    },
    {
        prop: "status",
        placeholder: "请选择入库状态",
        type: "select",
        options: [],
        label: "入库状态："
    },
    {
        prop: "orgId",
        placeholder: "请输入组织",
        type: "selectRemote",
        label: "组织：",
        options: []
    },
    {
        prop: "receiver",
        placeholder: "请输入收货人",
        type: "input",
        label: "收货人："
    },
    {
        prop: "operator",
        placeholder: "请输入上架人",
        type: "input",
        label: "上架人："
    },
    {
        prop: "boxBillNos",
        placeholder: "请输入箱号",
        type: "input",
        disabled: false,
        label: "箱号："
    },
    {
        prop: "serialNumbers",
        placeholder: "请输入序列号",
        type: "input",
        disabled: false,
        label: "序列号："
    }
];

export const RULEFORM: any = {
    time: "",
    pageNo: 1, //页码
    pageSize: 20, //每页显示条目个数
    sourceBillNo: "", //来源单号
    type: "", //入库类型
    status: "", //入库状态
    receiver: "", //收货人
    operator: "", //上架人
    createBeginDate: "", //创建时间
    createEndDate: "", //结束时间
    supplierId: "", //供应商
    orgId: null, //组织
    materialNumber: "", //物料编码
    stockCode: "", //仓库
    serialNumbers: "",
    boxBillNos: ""
};
