|
|
@ -496,11 +496,11 @@ export default { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '请上传现场照片' }) |
|
|
|
return |
|
|
|
} |
|
|
|
if (this.formobj.InsuranceState) { |
|
|
|
if (this.formobj.InsuranceState && this.formobj.policyImages.length === 0) { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '请上传保单' }) |
|
|
|
return |
|
|
|
} |
|
|
|
if (this.formobj.proCardState) { |
|
|
|
if (this.formobj.proCardState && this.formobj.proCard === '') { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '临牌牌照号不能为空' }) |
|
|
|
return |
|
|
|
} |
|
|
@ -512,7 +512,7 @@ export default { |
|
|
|
}).then(() => { |
|
|
|
saveCarTransferSiteImage(this.formobj).then((resp) => { |
|
|
|
if (resp.success) { |
|
|
|
this.$message({ showClose: true, type: 'error', message: '保存成功' }) |
|
|
|
this.$message({ showClose: true, type: 'success', message: '保存成功' }) |
|
|
|
this.handleQu() |
|
|
|
this.getList() |
|
|
|
} |
|
|
|