Merge branch 'feature/v2-社保福利台账补缴新增' into develop
This commit is contained in:
commit
f0d7ec8f5b
|
|
@ -116,7 +116,7 @@ class SupplementarySlide extends Component {
|
|||
handleSaveSupplementSalary = () => {
|
||||
const { billMonth, paymentOrganization, onCancel } = this.props;
|
||||
const { baseInfo } = this.state;
|
||||
const { supplementType, projects, projectsAll, billMonthList, includes } = baseInfo;
|
||||
const { supplementType, projects, projectsAll, billMonthList, includes, historyMonth } = baseInfo;
|
||||
if (!projects || !billMonthList || !includes) {
|
||||
Modal.warning({
|
||||
title: "信息确认",
|
||||
|
|
@ -124,6 +124,13 @@ class SupplementarySlide extends Component {
|
|||
});
|
||||
return;
|
||||
}
|
||||
if (supplementType === "2" && !historyMonth) {
|
||||
Modal.warning({
|
||||
title: "信息确认",
|
||||
content: "必要信息不完整,红色*为必填项!"
|
||||
});
|
||||
return;
|
||||
}
|
||||
const payload = {
|
||||
supplementType,
|
||||
projects: projectsAll.split(",").concat(projects.split(",")),
|
||||
|
|
|
|||
Loading…
Reference in New Issue