hotfix/2.9.9.2312.02-个税

申报表-动态增删tab
This commit is contained in:
黎永顺 2024-01-02 11:12:39 +08:00
parent 025037d4ef
commit ce63d26457
1 changed files with 2 additions and 2 deletions

View File

@ -40,8 +40,8 @@ class Index extends Component {
const { pageInfo } = this.state;
const { queryParams } = props;
const { dateRange, ...extra } = queryParams;
const [fromSalaryMonthStr, endSalaryMonthStr] = dateRange || [];
const params = { fromSalaryMonthStr, endSalaryMonthStr, ...extra };
const [fromSalaryMonth, endSalaryMonth] = dateRange || [];
const params = { fromSalaryMonth: fromSalaryMonth + "-01", endSalaryMonth: endSalaryMonth + "-01", ...extra };
const payload = { ...pageInfo, ...params };
this.setState({ loading: true });
getDeclareList(payload).then(({ status, data }) => {