|
|
@ -378,7 +378,8 @@ export default { |
|
|
|
certificateState: '004', // 合格证状态key |
|
|
|
certificateStateValue: '正式', // 合格证状态value |
|
|
|
noticeModel: '', // 公告型号 |
|
|
|
smRemarks: '' |
|
|
|
smRemarks: '', |
|
|
|
carModel: '', |
|
|
|
}, // 添加和修改 |
|
|
|
templook: {}, // 查看实体 |
|
|
|
Situation: [], |
|
|
@ -711,6 +712,10 @@ export default { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '请检查车架号的长度应为8位或17位' }) |
|
|
|
return |
|
|
|
} |
|
|
|
if (this.temp.certificateSituationValue === '正式' && this.temp.carModel === '') { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '因合格证状态为正式,则车辆型号不能为空' }) |
|
|
|
return |
|
|
|
} |
|
|
|
this.$refs['dataForm'].validate((valid) => { |
|
|
|
if (valid) { |
|
|
|
this.FormLoading = true |
|
|
|