2 Commits

View File

@@ -1004,7 +1004,8 @@ export default {
}
}
if((this.vehicleInfoChange || this.insuranceChange) && this.id){
this.approvalDialogShow=true
// this.approvalDialogShow=true
this.submitApprovalHandle()
console.log('11111',this.approvalForm.serviceChange)
console.log('2222',this.approvalForm.insuranceChange)
}else {
@@ -1030,10 +1031,10 @@ export default {
this.$toast('车辆状态不能为空')
return
}
if(!this.approvalForm.serviceRemark){
/* if(!this.approvalForm.serviceRemark){
this.$toast('车辆和服务备注不能为空')
return
}
}*/
}
if(this.insuranceChange){
if(this.hasLiabilityInsurance === null || this.hasLiabilityInsurance === undefined || this.hasLiabilityInsurance === '') { // 有职业责任险,就需要有保单照片
@@ -1056,10 +1057,10 @@ export default {
this.$toast('保单有效期不能为空')
return
}
if(!this.approvalForm.insuranceRemark){
/* if(!this.approvalForm.insuranceRemark){
this.$toast('保单备注不能为空')
return
}
}*/
}
try {
this.loading = true;