master
This commit is contained in:
parent
ed8f9a056b
commit
4e231ec401
|
|
@ -65,10 +65,10 @@ const OCTable: FC = (props) => {
|
||||||
<span>{excelResultValue}</span>
|
<span>{excelResultValue}</span>
|
||||||
</div>
|
</div>
|
||||||
{
|
{
|
||||||
showDifference &&
|
showDifference && !!parseInt(calculateDifference(acctResultValue, excelResultValue || 0)) &&
|
||||||
<div className={cs(styles["danger"], styles["comparison-single-row"])}>
|
<div className={cs(styles["danger"], styles["comparison-single-row"])}>
|
||||||
<span>{lanObj["差值"]}:</span>
|
<span>{lanObj["差值"]}:</span>
|
||||||
<span>{calculateDifference(acctResultValue, excelResultValue)}</span>
|
<span>{calculateDifference(acctResultValue, excelResultValue || 0)}</span>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
</div>;
|
</div>;
|
||||||
|
|
@ -104,7 +104,7 @@ const OCTable: FC = (props) => {
|
||||||
return <Table
|
return <Table
|
||||||
rowKey="id" className={styles.tableWrapper}
|
rowKey="id" className={styles.tableWrapper}
|
||||||
columns={columns} dataSource={dataSource} bordered size="small"
|
columns={columns} dataSource={dataSource} bordered size="small"
|
||||||
scroll={{ x: 1200, y: `calc(100vh - 137px)` }}
|
scroll={{ x: 1200, y: `calc(100vh - 165px)` }}
|
||||||
pagination={{
|
pagination={{
|
||||||
...paginationFun(pageInfo, sizeChange, onChange, i18n),
|
...paginationFun(pageInfo, sizeChange, onChange, i18n),
|
||||||
size: "default"
|
size: "default"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue