10 Commits

2 changed files with 6 additions and 3 deletions

View File

@@ -969,6 +969,9 @@ export default {
if(key=='serviceIds'){
this.approvalForm.serviceChange[key]=this.$refs.tree.getCheckedKeys(true)
}
if(key=='vehicleType'){
this.approvalForm.serviceChange[key]=this.selectedOption?.join(',') || ''
}
});
}else {
this.vehicleInfoChange=false
@@ -1000,7 +1003,7 @@ export default {
this.approvalForm.insuranceChange=null
}
}
if(this.vehicleInfoChange || this.insuranceChange){
if((this.vehicleInfoChange || this.insuranceChange) && this.id){
this.approvalDialogShow=true
console.log('11111',this.approvalForm.serviceChange)
console.log('2222',this.approvalForm.insuranceChange)

View File

@@ -263,10 +263,10 @@
data.lat = this.lat;
data.lng = this.lng;
}
if( !this.remark ) {
/*if( !this.remark ) {
Toast('备注内容不能为空')
return
}
}*/
this.clickFlag = false;
try {
await newOrderReporting(data)