release/2.17.1.2411.01

This commit is contained in:
lys 2024-11-27 10:59:24 +08:00
parent 8786ef1f2a
commit ce4c2a7c72
2 changed files with 4 additions and 3 deletions

View File

@ -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);

View File

@ -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({