10 Commits

2 changed files with 6 additions and 3 deletions

View File

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

View File

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