//新增产品分类
export const FORM_DATA_LV1: any[] = [
    {
        prop: "name",
        placeholder: "请输入",
        type: "input",
        label: "产品分类名称: "
    },
    {
        prop: "pid",
        placeholder: "请选择",
        type: "treeSelect",
        label: "所属分类: ",
        options: []
    },
    {
        prop: "sort",
        placeholder: "请输入",
        type: "inputNumber",
        label: "产品分类排序: "
    },
    {
        prop: "is_show",
        placeholder: "请输入",
        type: "radio",
        label: "是否显示: ",
        options: [
            {
                label: "是",
                value: 1
            },
            {
                label: "否",
                value: 0
            }
        ]
    }
];
//编辑产品分类
export const EDIT_FORM_DATA_LV1: any[] = [
    {
        prop: "name",
        placeholder: "请输入",
        type: "input",
        label: "产品分类名称: "
    },

    {
        prop: "pid",
        placeholder: "请选择",
        type: "treeSelect",
        label: "所属分类: ",
        options: []
    },
    {
        prop: "sort",
        placeholder: "请输入",
        type: "inputNumber",
        label: "产品分类排序: "
    },
    {
        prop: "is_show",
        placeholder: "请输入",
        type: "radio",
        label: "是否显示: ",
        options: [
            {
                label: "是",
                value: 1
            },
            {
                label: "否",
                value: 0
            }
        ]
    }
];

export const FORM_DATA_LV2: any[] = [
    {
        prop: "name",
        placeholder: "请输入",
        type: "input",
        label: "产品分类名称: "
    },

    {
        prop: "pid",
        placeholder: "请选择",
        type: "treeSelect",
        label: "所属分类: ",
        options: []
    },
    {
        prop: "related_tco_category",
        placeholder: "请选择",
        type: "treeSelects",
        label: "对应成本系统分类: ",
        options: []
    },
    {
        prop: "sort",
        placeholder: "请输入",
        type: "inputNumber",
        label: "产品分类排序: "
    },
    {
        prop: "is_show",
        placeholder: "请输入",
        type: "radio",
        label: "是否显示: ",
        options: [
            {
                label: "是",
                value: 1
            },
            {
                label: "否",
                value: 0
            }
        ]
    }
];
