新增补缴必填项提示
This commit is contained in:
parent
4f89a7ef4f
commit
fc8f5a4625
|
|
@ -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