台账归档页面刷新

This commit is contained in:
MustangDeng 2022-05-31 16:37:35 +08:00
parent c5b401f9f4
commit 55f732c1fc
2 changed files with 3 additions and 2 deletions

View File

@ -156,7 +156,7 @@ export default class CanMoveItem extends React.Component {
</span>
</div>
{
this.state.showContent && <WeaTable rowSelection={rowSelection} dataSource={this.props.dataSource} columns={this.state.columns} pagination={false}/>
this.state.showContent && <WeaTable rowSelection={rowSelection} dataSource={this.props.dataSource} columns={this.state.columns} pagination={false} draggable={true}/>
}
{
this.state.addItemVisible && <AddSalaryItemModal

View File

@ -191,7 +191,8 @@ export default class StandingBook extends React.Component {
content: "确认要归档吗?",
onOk: () => {
siaccountFile({ billMonth }).then((res) => {
console.log("res", res);
const { current } = this.state;
this.getCommonList({ ...this.state.tableParams, current });
});
},
onCancel: () => {},