diff --git a/src/views/secondHandCar/wantBuy.vue b/src/views/secondHandCar/wantBuy.vue index 27287b21..42db7fbb 100644 --- a/src/views/secondHandCar/wantBuy.vue +++ b/src/views/secondHandCar/wantBuy.vue @@ -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}