代码调整
This commit is contained in:
parent
4bbe980c21
commit
5cb096bfda
@ -116,7 +116,8 @@ export default {
|
|||||||
callback('字母+数字,最后一位数字');
|
callback('字母+数字,最后一位数字');
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
callback('请输入车次');
|
// callback('请输入车次');
|
||||||
|
callback();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
return {
|
return {
|
||||||
@ -137,42 +138,42 @@ export default {
|
|||||||
departStationCode:'' // 出发车站
|
departStationCode:'' // 出发车站
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
trackSectionCode: [
|
// trackSectionCode: [
|
||||||
{ required: true, message: '请选择股道', trigger: 'blur' },
|
// { required: true, message: '请选择股道', trigger: 'blur' },
|
||||||
{ required: true, message: '请选择股道', trigger: 'change' }
|
// { required: true, message: '请选择股道', trigger: 'change' }
|
||||||
],
|
// ],
|
||||||
arriveTripNumber:[
|
arriveTripNumber:[
|
||||||
{ required: true, validator: validateTripNumber, trigger: 'blur' }
|
{ required: true, validator: validateTripNumber, trigger: 'blur' }
|
||||||
// message: '请输入到达车次'
|
// message: '请输入到达车次'
|
||||||
],
|
],
|
||||||
departTripNumber:[
|
departTripNumber:[
|
||||||
{ required: true, validator: validateTripNumber, trigger: 'blur' }
|
{ required: true, validator: validateTripNumber, trigger: 'blur' }
|
||||||
],
|
|
||||||
// message: '请输入出发车次'
|
|
||||||
arriveTime: [
|
|
||||||
{ required: true, message: '请选择到达时间', trigger: 'blur' },
|
|
||||||
{ required: true, message: '请选择到达时间', trigger: 'change' }
|
|
||||||
],
|
|
||||||
departTime: [
|
|
||||||
{ required: true, message: '请选择出发时间', trigger: 'blur' },
|
|
||||||
{ required: true, message: '请选择出发时间', trigger: 'change' }
|
|
||||||
],
|
|
||||||
arriveDirectionCode: [
|
|
||||||
{ required: true, message: '请选择入口', trigger: 'blur' },
|
|
||||||
{ required: true, message: '请选择入口', trigger: 'change' }
|
|
||||||
],
|
|
||||||
departDirectionCode: [
|
|
||||||
{ required: true, message: '请选择出口', trigger: 'blur' },
|
|
||||||
{ required: true, message: '请选择出口', trigger: 'change' }
|
|
||||||
],
|
|
||||||
arriveStationCode: [
|
|
||||||
{ required: true, message: '请选择后方车站', trigger: 'blur' },
|
|
||||||
{ required: true, message: '请选择后方车站', trigger: 'change' }
|
|
||||||
],
|
|
||||||
departStationCode: [
|
|
||||||
{ required: true, message: '请选择前方车站', trigger: 'blur' },
|
|
||||||
{ required: true, message: '请选择前方车站', trigger: 'change' }
|
|
||||||
]
|
]
|
||||||
|
// message: '请输入出发车次'
|
||||||
|
// arriveTime: [
|
||||||
|
// { required: true, message: '请选择到达时间', trigger: 'blur' },
|
||||||
|
// { required: true, message: '请选择到达时间', trigger: 'change' }
|
||||||
|
// ],
|
||||||
|
// departTime: [
|
||||||
|
// { required: true, message: '请选择出发时间', trigger: 'blur' },
|
||||||
|
// { required: true, message: '请选择出发时间', trigger: 'change' }
|
||||||
|
// ],
|
||||||
|
// arriveDirectionCode: [
|
||||||
|
// { required: true, message: '请选择入口', trigger: 'blur' },
|
||||||
|
// { required: true, message: '请选择入口', trigger: 'change' }
|
||||||
|
// ],
|
||||||
|
// departDirectionCode: [
|
||||||
|
// { required: true, message: '请选择出口', trigger: 'blur' },
|
||||||
|
// { required: true, message: '请选择出口', trigger: 'change' }
|
||||||
|
// ],
|
||||||
|
// arriveStationCode: [
|
||||||
|
// { required: true, message: '请选择后方车站', trigger: 'blur' },
|
||||||
|
// { required: true, message: '请选择后方车站', trigger: 'change' }
|
||||||
|
// ],
|
||||||
|
// departStationCode: [
|
||||||
|
// { required: true, message: '请选择前方车站', trigger: 'blur' },
|
||||||
|
// { required: true, message: '请选择前方车站', trigger: 'change' }
|
||||||
|
// ]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user