调整实训作业设置

dev_auth
杨树林 5 years ago
parent 56c1c1d7e4
commit fd293c0d44

@ -630,6 +630,14 @@ class Trainingjobsetting extends Component {
}
}
if(this.state.borredszfl===false){
this.setState({
borredszf:this.state.borredszf,
borredszfls:this.state.borredszfls,
borredszfl:this.state.borredszfl,
})
return;
}
var latedeductiontwos = 0;
if (this.state.completionefficiencyscore === true) {
latedeductiontwos = this.state.latedeductiontwo;
@ -1164,13 +1172,12 @@ class Trainingjobsetting extends Component {
}
//总比分
Totalscorecalculation = (value) => {
console.log("Totalscorecalculation");
console.log(value.length);
this.setState({
CalculateMax: value,
})
if (value === "" || value === undefined) {
if ( value === undefined || value === null || value === "" ) {
this.setState({
borredszf:"ml10 color-grey-9 bor-reds ",
borredszfls:"不能为空",

Loading…
Cancel
Save