diff --git a/src/views/bigTrainRunplanManage/addRunplan.vue b/src/views/bigTrainRunplanManage/addRunplan.vue index 21754963d..090857746 100644 --- a/src/views/bigTrainRunplanManage/addRunplan.vue +++ b/src/views/bigTrainRunplanManage/addRunplan.vue @@ -116,7 +116,8 @@ export default { callback('字母+数字,最后一位数字'); } } else { - callback('请输入车次'); + // callback('请输入车次'); + callback(); } }; return { @@ -137,42 +138,42 @@ export default { departStationCode:'' // 出发车站 }, rules: { - trackSectionCode: [ - { required: true, message: '请选择股道', trigger: 'blur' }, - { required: true, message: '请选择股道', trigger: 'change' } - ], + // trackSectionCode: [ + // { required: true, message: '请选择股道', trigger: 'blur' }, + // { required: true, message: '请选择股道', trigger: 'change' } + // ], arriveTripNumber:[ { required: true, validator: validateTripNumber, trigger: 'blur' } // message: '请输入到达车次' ], departTripNumber:[ { 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' } + // ] } }; },