release/2.17.1.2411.01
This commit is contained in:
parent
8786ef1f2a
commit
ce4c2a7c72
|
|
@ -73,7 +73,7 @@ class Index extends Component {
|
|||
}, () => {
|
||||
const { calculateStore: { PCSearchForm } } = this.props;
|
||||
PCSearchForm.initFormFields(this.state.searchConditions);
|
||||
this.queryPCList();
|
||||
this.handleRefresh(true);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -185,13 +185,13 @@ class Index extends Component {
|
|||
}
|
||||
});
|
||||
};
|
||||
handleRefresh = () => {
|
||||
handleRefresh = (init = false) => {
|
||||
if (!this.handleDebounce) {
|
||||
this.handleDebounce = _.debounce(() => {
|
||||
const { routeParams: { salaryAcctRecordId } } = this.props;
|
||||
refreshAcctemployee({ salaryAcctRecordId }).then(({ status, errormsg }) => {
|
||||
if (status) {
|
||||
message.success(getLabel(111, "操作成功!"));
|
||||
!init && message.success(getLabel(111, "操作成功!"));
|
||||
this.queryPCList();
|
||||
} else {
|
||||
message.error(errormsg);
|
||||
|
|
|
|||
|
|
@ -114,6 +114,7 @@ export default class LedgerSalaryItemAddModal extends React.Component {
|
|||
...pageInfo,
|
||||
showTotal: total => `共 ${total} 条`,
|
||||
showQuickJumper: true,
|
||||
showSizeChanger: true,
|
||||
pageSizeOptions: ["10", "20", "50", "100"],
|
||||
onChange: current => {
|
||||
this.setState({
|
||||
|
|
|
|||
Loading…
Reference in New Issue