const modalConfig = {
    pageName: 'rentalCompany',
    addTitle: '新建租赁公司',
    editTitle: '编辑租赁公司',
    labelWidth: '150px',
    formRules: {
        rentalCompanyCode: [{ required: true, message: '请输入公司编码', trigger: 'change' }],
        rentalCompanyName: [{ required: true, message: '请输入公司名称', trigger: 'change' }],
        deptId: [{ required: true, message: '请选择关联部门', trigger: 'change' }],
    },
    formItems: [
        {
            label: '公司编码',
            prop: 'rentalCompanyCode',
            type: 'input',
            placeholder: '请输入公司编码',
        },
        {
            label: '公司名称',
            prop: 'rentalCompanyName',
            type: 'input',
            placeholder: '请输入公司名称',
        },
        {
            label: '关联部门',
            prop: 'deptId',
            type: 'deptId',
            placeholder: '请选择关联部门',
        },
        {
            label: '备注',
            prop: 'notes',
            type: 'input',
            placeholder: '请输入备注',
        },
    ],
};

export default modalConfig;
