export default function getTableChildren(key, prefix, width = 70) {
	return [
		{ title: '粮油合计', width, key: `${prefix}cbLyhj`, align: 'center', dataIndex: `${key}.a` },
		{ title: '原粮合计', width, key: `${prefix}cbYyhj`, align: 'center', dataIndex: `${key}.a` },
		{
			title: '粮食分品种',
			align: 'center',
			children: [
				{ title: '小麦', key: `${prefix}cbXmhj`, width, align: 'center', dataIndex: `${key}.a` },
				{
					title: '面折粮',
					align: 'center',
					children: [
						{ title: '', width, key: `${prefix}cbXmMzl`, align: 'center', dataIndex: `${key}.a` },
						{ title: '面粉', width, key: `${prefix}cbXmToMf`, align: 'center', dataIndex: `${key}.a` }
					]
				},
				{ title: '青稞', width, key: `${prefix}cbQkhj`, align: 'center', dataIndex: `${key}.a` },
				{ title: '稻谷', width, key: `${prefix}cbDghj`, align: 'center', dataIndex: `${key}.a` },
				{
					title: '米折粮',
					align: 'center',
					children: [
						{ title: '', width, key: `${prefix}cbDgMzl`, align: 'center', dataIndex: `${key}.a` },
						{ title: '大米', width, key: `${prefix}cbDgToDm`, align: 'center', dataIndex: `${key}.a` }
					]
				}
			]
		}
		// {title:'菜籽油合计',width,align:'center',dataIndex:`${key}.a`},
	]
}
