修改模板bug
This commit is contained in:
parent
bc3fbc84eb
commit
a0be731aa9
@ -351,7 +351,7 @@ const checkTableColumnVisible = (tableColumnName: any) => {
|
||||
if (@column.Statistical == "Y"){
|
||||
@: if (column.field === '@(@column.LowerPropertyName)') {
|
||||
@: // 计算表格内总和
|
||||
@: return `${data.reduce((sum, row) => sum + (row.@(@column.LowerPropertyName) || 0), 0)}/总数:${totalSum?.@(@column.LowerPropertyName|| 0)}`
|
||||
@: return `${data.reduce((sum, row) => sum + (row.@(@column.LowerPropertyName) || 0), 0)}/总数:${totalSum?.@(@column.LowerPropertyName)||0}`
|
||||
@: }
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user