薪资档案个税扣缴义务人选项修改

This commit is contained in:
黎永顺 2023-07-13 15:02:57 +08:00
parent 7c908c81db
commit 985b9612f6
1 changed files with 4 additions and 4 deletions

View File

@ -127,7 +127,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}
@ -140,7 +140,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>
);
@ -148,8 +148,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();