Datagrid data={data} rowClick={'expand'} expandSingle={true} expand={MaterielEdit open={open} matType={mattype} /MaterielEdit} ReferenceField source='mat_id' label='物料' reference="t_base_materiel" / TextField source='count' label='数量
<Datagrid data={data} rowClick={'expand'} expandSingle={true}
expand={<MaterielEdit open={open} matType={mattype} ></MaterielEdit>}>
<ReferenceField source='mat_id' label='物料'
reference="t_base_materiel" />
<TextField source='count' label='数量' />
<TextField source='description' label='说明' />
</Datagrid>