二手车交易,选择其他时的修改

This commit is contained in:
2025-03-14 16:00:51 +08:00
parent 23a9bf9e80
commit 3fbd0b2769

View File

@ -158,6 +158,11 @@ export default {
this.status=res.data?.status?.code
this.supplierName=res.data?.supplierName
this.supplierCode=res.data?.supplierCode
if(res.data.vehicleType.includes(',')){
let res=res.data.vehicleType?.split(',')
this.form.vehicleType=res[0]
this.ortherReason=res[1]
}
}
if(this.$route.params.form){
this.form={...this.$route.params.form}