dev_forum
杨树林 6 years ago
parent d41de4196d
commit e74749f4e7

@ -361,6 +361,8 @@ class Trainingjobsetting extends Component {
return;
} else {
// 补交结束时间不能早于截止时间
if(!this.state.flagPageEditsfor ===false){
if (moment(this.state.late_time, "YYYY-MM-DD HH:mm") <= moment()) {
//结束时间小于当前时间
@ -396,8 +398,7 @@ class Trainingjobsetting extends Component {
})
return;
}
}
}
}
@ -1946,7 +1947,7 @@ class Trainingjobsetting extends Component {
`
}
</style>
<InputNumber disabled={!whethertopay} min={0} max={1000} className="mr10 h40 color-grey-9"
<InputNumber disabled={!flagPageEditsfor || !whethertopay} min={0} max={1000} className="mr10 h40 color-grey-9"
onChange={this.changeTopicName}
style={{"color":"#999999","height": "40px"}}
value={this.state.latededuction}/>

Loading…
Cancel
Save