Merge branch 'hotfix/2.8.3.2307.01' into release/2.8.3.2307.01

This commit is contained in:
黎永顺 2023-07-13 15:11:06 +08:00
commit aa1c3a6417
1 changed files with 4 additions and 4 deletions

View File

@ -130,7 +130,7 @@ class Index extends Component {
const { taxAgentStore } = this.props;
const { statuses, archiveStatus, taxAgentId } = this.state.searchItemsValue;
const { archiveStatusList, userStatusList } = this.state;
const { taxAgentAdminOption } = taxAgentStore;
const { taxAgentOption } = taxAgentStore;
return (
<WeaFormItem
label={value}
@ -143,7 +143,7 @@ class Index extends Component {
options={key === "statuses" ? userStatusList : key === "taxAgentId" ? [{
key: "",
showname: ""
}, ...taxAgentAdminOption] : archiveStatusList}
}, ...taxAgentOption] : archiveStatusList}
onChange={(val) => this.setState({ searchItemsValue: { ...this.state.searchItemsValue, [key]: val } })}/>
</WeaFormItem>
);
@ -151,8 +151,8 @@ class Index extends Component {
componentDidMount() {
const { taxAgentStore } = this.props;
const { getTaxAgentSelectListAsAdmin } = taxAgentStore;
getTaxAgentSelectListAsAdmin();
const { fetchTaxAgentOption } = taxAgentStore;
fetchTaxAgentOption();
this.queryTabTotal();
this.queryList("/api/bs/hrmsalary/salaryArchive/pendingList");
const init = this.init();