release/2.19.1.2501.01-个税

This commit is contained in:
黎永顺 2026-02-02 15:33:42 +08:00
parent 648b349f32
commit 7a1705d3f2
1 changed files with 2 additions and 2 deletions

View File

@ -246,7 +246,7 @@ class EmployeeDeclareDetailSchemaEditDialog extends Component {
break; break;
case "dismissDate": case "dismissDate":
const { employmentStatus } = declareForm.getFormParams(); const { employmentStatus } = declareForm.getFormParams();
if (!value && employmentStatus === "ABNORMAL") this.setState({ this.setState({
eConditions: _.map(eConditions, it => { eConditions: _.map(eConditions, it => {
return { return {
...it, items: _.map(it.items, child => { ...it, items: _.map(it.items, child => {
@ -257,7 +257,7 @@ class EmployeeDeclareDetailSchemaEditDialog extends Component {
}) })
}; };
}) })
}, () => declareForm.updateFields({ employmentStatus: "NORMAL" })); }, () => declareForm.updateFields({ employmentStatus: (!value && employmentStatus === "ABNORMAL") ? "NORMAL" : "ABNORMAL" }));
break; break;
case "reissueSalary": case "reissueSalary":
this.setState({ this.setState({