interface FormItem {
    prop?: string;
    label?: string;
    placeholder?: string;
    type: string;
    startProp?: string;
    endProp?: string;
    isCopy?: boolean;
    optionProps?: any;
    startPlaceholder?: string;
    endPlaceholder?: string;
    options?: any;
    isArray?: boolean; //将,分割为数据
    isInteger?: boolean; //只能输入正整数
    startDate?: string;
    endDate?: string;
    labelWidth?: string;
}
export const PRINT_CODE_FORM_DATA: FormItem[] = [
    {
        prop: "isPrint",
        placeholder: "请选择条码打印状态",
        type: "select",
        label: "条码打印状态: ",
        options: [
            {
                value: true,
                label: "已打印"
            },
            {
                value: false,
                label: "未打印"
            }
        ]
    },

    {
        prop: "Time",
        type: "daterange",
        options: [],
        label: "下载时间: ",
        startPlaceholder: "下载开始日期",
        endPlaceholder: "下载结束日期",
        startDate: "downLoadBeginDate",
        endDate: "downLoadEndDate"
    },
    {
        prop: "Time1",
        type: "daterange",
        options: [],
        label: "打印时间: ",
        startPlaceholder: "打印开始日期",
        endPlaceholder: "打印结束日期",
        startDate: "printBeginDate",
        endDate: "printEndDate"
    },

    {
        prop: "serialNumbers",
        placeholder: "请输入序列号",
        type: "inputBtn",
        isArray: true,
        label: "序列号: "
    },
    //序号区间:
    // {
    //     startProp: "serialNumberBegin",
    //     endProp: "serialNumberEnd",
    //     startPlaceholder: "序号",
    //     endPlaceholder: "序号",
    //     type: "inputs",
    //     label: " ",
    //     labelWidth: "0"
    //     // isInteger: true
    // },
    {
        startProp: "startNumber",
        endProp: "endNumber",
        startPlaceholder: "请输入正数",
        endPlaceholder: "请输入正数",
        type: "selectInputs",
        label: " ",
        labelWidth: "0"
        // isInteger: true
    },
    {
        prop: "isUse",
        placeholder: "请选择条码状态",
        label: "条码使用状态: ",
        type: "select",
        options: [
            {
                value: true,
                label: "已使用"
            },
            {
                value: false,
                label: "未使用"
            }
        ]
    },
    {
        prop: "boxBillNo",
        placeholder: "请输入箱号",
        type: "input",
        label: "箱号: "
    },
    {
        prop: "numberCodes",
        placeholder: "请输入数字序列号",
        type: "inputBtn",
        isArray: true,
        label: "数字序列号: "
    },
    {
        prop: "isUpdateMaterial",
        placeholder: "请选择",
        type: "select",
        label: "是否转换规格: ",
        options: [
            {
                value: true,
                label: "是"
            },
            {
                value: false,
                label: "否"
            }
        ]
    }
];

export const PRINT_CODE_RULE_FORM_DATA = {
    pageNo: 1,
    pageSize: 50,
    isDownLoad: false
};
