Merge branch 'master' into feature/2.9.42310.01-薪资项目拓扑图

release/2.19.1.2503.01-业务线个税
黎永顺 1 year ago
commit 22398469e5

@ -54,10 +54,11 @@ const calcFixedTotal: FunctionComponent<Props> = (props) => {
} }
return () => debounceFetcher && debounceFetcher.cancel(); return () => debounceFetcher && debounceFetcher.cancel();
}, [props.payload, props.sumRow]); }, [props.payload, props.sumRow]);
return (<> return (<>
{ {
_.map(columns, (item: any, index) => { _.map(columns, (item: any, index) => {
return <Table.Summary.Cell index={index + 1} key={index + 1} align="center"> return <Table.Summary.Cell index={index + 1} key={index + 1} align={_.head(columns)?.align || "left"}>
{ {
loading ? <Spin spinning={loading} size="small"></Spin> : loading ? <Spin spinning={loading} size="small"></Spin> :
<Text type="danger">{sumRow[item.dataIndex] || "-"}</Text> <Text type="danger">{sumRow[item.dataIndex] || "-"}</Text>

Loading…
Cancel
Save