mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 19:36:46 +08:00
fix:只有社招新员工项目校验选修课数量
This commit is contained in:
@@ -908,7 +908,10 @@ const submitStorage = async () => {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
if (num < projectInfo.value.electiveCourseCount) {
|
if (
|
||||||
|
num < projectInfo.value.electiveCourseCount &&
|
||||||
|
projectInfo.value.szxygProjectFlag
|
||||||
|
) {
|
||||||
message.warning("选修课课程数小于设置的“选修课数量’值");
|
message.warning("选修课课程数小于设置的“选修课数量’值");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3898,7 +3898,7 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
if(num<state.electiveCourseCount){
|
if(num<state.electiveCourseCount&&state.isNewEmployee){
|
||||||
message.warning("选修课课程数小于设置的“选修课数量’值,请修改后重新提交");
|
message.warning("选修课课程数小于设置的“选修课数量’值,请修改后重新提交");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user