添加分组合并功能
This commit is contained in:
parent
bb1f8e4496
commit
1cf66a36b5
|
@ -21,12 +21,22 @@ export const allColumns: BasicColumn[] = [
|
||||||
{
|
{
|
||||||
title: '物料类别名称',
|
title: '物料类别名称',
|
||||||
align:"center",
|
align:"center",
|
||||||
dataIndex: 'categoryName'
|
dataIndex: 'categoryName',
|
||||||
|
customCell: (record, index, column) => {
|
||||||
|
if (record.categoryRowSpan != null) {
|
||||||
|
return { rowSpan: record.categoryRowSpan };
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '物料类型名称',
|
title: '物料类型名称',
|
||||||
align:"center",
|
align:"center",
|
||||||
dataIndex: 'typeName'
|
dataIndex: 'typeName',
|
||||||
|
customCell: (record, index, column) => {
|
||||||
|
if (record.typeRowSpan != null) {
|
||||||
|
return { rowSpan: record.typeRowSpan };
|
||||||
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: '用药类型名称',
|
title: '用药类型名称',
|
||||||
|
|
Loading…
Reference in New Issue