添加分组合并功能

This commit is contained in:
yangjun 2025-03-20 10:10:21 +08:00
parent bb1f8e4496
commit 1cf66a36b5
1 changed files with 12 additions and 2 deletions

View File

@ -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: '用药类型名称',