schedule_job
杨树林 5 years ago
parent c36be3f87f
commit 3480de8929

@ -329,7 +329,6 @@ class Trainingjobsetting extends Component {
//跳转道描点的地方
scrollToAnchor = (anchorName) => {
debugger
if (anchorName) {
// 找到锚点
let anchorElement = document.getElementById(anchorName);
@ -579,7 +578,6 @@ class Trainingjobsetting extends Component {
if (this.state.unifiedsetting === false) {
///非统一设置
let rulesdata = this.state.rulesdata;
// console.log(rulesdata);
//开启了补交
if(this.state.allowreplenishment===true){
//补交结束时间不为空
@ -595,8 +593,8 @@ class Trainingjobsetting extends Component {
}catch (e) {
}
if(emdtimes){
if(moment(this.state.late_time, "YYYY-MM-DD HH:mm") <= emdtimes){
this.props.showNotification(`补交结束时间必须晚于截止时间`);
mylate_times=true;
let kus=i+1;
this.setState({
@ -604,6 +602,7 @@ class Trainingjobsetting extends Component {
hand_flags: true,
handclass: "bor-reds",
});
this.props.showNotification(`补交结束时间必须晚于截止时间`);
break;
}else{
mylate_times=false;
@ -615,6 +614,9 @@ class Trainingjobsetting extends Component {
}
}
}
}
}
}

Loading…
Cancel
Save