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;
    disabled?: boolean;
    fileList?: any;
}
export const EDIT_FORM_DATA: FormItem[] = [
    {
        prop: "type_id",
        placeholder: "请选择",
        type: "select",
        label: "产品类型: ",
        options: []
    },
    {
        prop: "brand_name",
        placeholder: "请输入",
        type: "input",
        label: "品牌: "
    },
    {
        prop: "model",
        placeholder: "请输入",
        type: "input",
        label: "型号: "
    },

    {
        prop: "part_id",
        placeholder: "请选择",
        type: "select",
        label: "配件类型: ",
        options: []
    },
    {
        prop: "level_name",
        placeholder: "请输入",
        type: "input",
        label: "级别: "
    },
    {
        prop: "spec_name",
        placeholder: "请输入",
        type: "input",
        label: "规格: "
    },
    {
        prop: "series_name",
        placeholder: "请输入",
        type: "input",
        label: "系列: "
    },
    {
        prop: "capacity",
        placeholder: "请输入",
        type: "input",
        label: "容量: "
    },
    {
        prop: "frequency",
        placeholder: "请输入",
        type: "input",
        label: "频率: "
    },
    {
        prop: "compatible_models",
        placeholder: "请输入(多个以英文逗号分隔)",
        type: "input",
        label: "兼容型号: "
    },
    {
        prop: "sort",
        placeholder: "请输入",
        type: "inputNumber",
        label: "排序: "
    },
    {
        prop: "disabled",
        placeholder: "请输入",
        type: "radio",
        label: "是否启用: ",
        options: [
            {
                label: "是",
                value: 1
            },
            {
                label: "否",
                value: 0
            }
        ]
    }
];
export const EDIT_RULE_FORM = {
    sort: 1
};
// editRuleForm: {},
//editFormData: [],
