Browse Source

完善合格证管理

zhanglei
yunuo970428 3 years ago
parent
commit
fc8d932a81
  1. 7
      anrui-scm/anrui-scm-ui/src/views/cheliang/hegezhengtaizhang/hegezhengtaizhangAdd.vue

7
anrui-scm/anrui-scm-ui/src/views/cheliang/hegezhengtaizhang/hegezhengtaizhangAdd.vue

@ -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

Loading…
Cancel
Save