泛微薪资核算iframe表格
This commit is contained in:
parent
bbf2a4ebdb
commit
cc3a671f7c
|
|
@ -106,6 +106,7 @@ const StandingbookTable: FC = (props) => {
|
|||
};
|
||||
const rowSelection = {
|
||||
selectedRowKeys: selected,
|
||||
columnWidth: 80,
|
||||
onChange: (selectedRowKeys: Array<any>) => {
|
||||
setSelected(selectedRowKeys);
|
||||
window.parent.postMessage(
|
||||
|
|
@ -136,9 +137,9 @@ const StandingbookTable: FC = (props) => {
|
|||
<Table.Summary.Row>
|
||||
{
|
||||
_.isEmpty(sumRow) ? <Spin tip="加载中"/> :
|
||||
_.map(columns, (item, index) => {
|
||||
_.map([{}, ...columns], (item, index) => {
|
||||
if (index === 0) {
|
||||
return <Table.Summary.Cell colSpan={2} index={0} key={index} align="center"><Text
|
||||
return <Table.Summary.Cell index={0} key={index} align="center"><Text
|
||||
type="danger">总计</Text></Table.Summary.Cell>;
|
||||
}
|
||||
return <Table.Summary.Cell index={index} key={index}>
|
||||
|
|
|
|||
Loading…
Reference in New Issue