export const unitColumns = [
	{
		title: '编码',
		dataIndex: 'number',
		width: 200,
		resizable: true,
		align: 'center',
		sorter: true,
		sortDirections: ['descend', 'ascend'],
		ellipsis: true
	},
	{
		title: '名称',
		dataIndex: 'name',
		width: 200,
		resizable: true,
		align: 'center',
		ellipsis: true
	},
	{
		title: '单位组',
		dataIndex: 'unitGroupName',
		width: 200,
		resizable: true,
		align: 'center',
		ellipsis: true
	},
	{
		title: '可用状态',
		dataIndex: 'enabledState',
		width: 200,
		resizable: true,
		align: 'center',
		ellipsis: true
	},
	{
		title: '换算率',
		dataIndex: 'rate',
		width: 200,
		resizable: true,
		align: 'center',
		ellipsis: true
	},
	{
		title: '是否基本单位',
		dataIndex: 'isBase',
		width: 200,
		resizable: true,
		align: 'center',
		ellipsis: true
	},
	{
		title: '换算率',
		dataIndex: 'rate',
		width: 200,
		resizable: true,
		align: 'center',
		sorter: true,
		sortDirections: ['descend', 'ascend'],
		ellipsis: true
	}
]

export const unitGroupColumns = [
	{
		title: '名称',
		dataIndex: 'name',
		width: 180,
		resizable: true,
		align: 'center'
	},
	{
		title: '状态',
		dataIndex: 'enabledState',
		width: 80,
		resizable: true,
		align: 'center'
	}
]
