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