|
|
@@ -247,7 +247,7 @@ const Usage = () => {
|
|
|
<Table.Summary.Row>
|
|
|
<Table.Summary.Cell className="text-center">小计</Table.Summary.Cell>
|
|
|
<Table.Summary.Cell className="text-center">
|
|
|
- {state.sum?.createCount ? state.sum?.createCount + state.sum?.receiveCount : '-'}
|
|
|
+ {state.sum?.createCount}
|
|
|
</Table.Summary.Cell>
|
|
|
<Table.Summary.Cell className="text-center">
|
|
|
{state.sum?.receiveCount}
|
|
|
@@ -265,7 +265,9 @@ const Usage = () => {
|
|
|
<Table.Summary.Row>
|
|
|
<Table.Summary.Cell className="text-center">总计</Table.Summary.Cell>
|
|
|
<Table.Summary.Cell colSpan={2} className="text-center">
|
|
|
- <Text type="danger">{state.create + state.sum?.receiveCount}</Text>
|
|
|
+ <Text type="danger">
|
|
|
+ {(state.sum?.createCount || 0) + state.sum?.receiveCount}
|
|
|
+ </Text>
|
|
|
</Table.Summary.Cell>
|
|
|
<Table.Summary.Cell colSpan={3} className="text-center">
|
|
|
<Text type="danger">
|