二手拖车,进入详情页调保存信息记录接口,注释打印代码

This commit is contained in:
2025-06-28 14:41:12 +08:00
parent 0b0749f04a
commit dee9cd779a

View File

@ -158,7 +158,7 @@ export default {
queryType:this.queryType ,
})
this.detailInfo=res?.data
console.log("this.detailInfo",this.detailInfo)
// console.log("this.detailInfo",this.detailInfo)
const municipalities = ['北京市', '天津市', '上海市', '重庆市'];
const isMunicipality = municipalities.some(city => res.data.areaName.includes(city));
this.detailInfo.areaName= isMunicipality ? res.data.areaName?.substring(0, 3) : res.data.areaName;
@ -170,7 +170,7 @@ export default {
}
this.imgSrcList.unshift(res?.data?.vehicleAnglePhoto)
let result=await saveRecord({type: 1, carInfoId: this.id, duration:'',id:''});
console.log('resultresult',result)
// console.log('resultresult',result)
this.recordResponseId=result?.data?.id
}
},