二手车交易,其他的原因要加上

This commit is contained in:
2025-03-14 15:28:25 +08:00
parent 57d0e47c9b
commit f9a29e81dc

View File

@ -231,6 +231,7 @@ export default {
auditResult: type ? 1 : 0 , auditResult: type ? 1 : 0 ,
auditReason: this.auditReason, auditReason: this.auditReason,
...this.form, ...this.form,
vehicleType: this.ortherReason ? (this.form.vehicleType+','+this.ortherReason) : this.form.vehicleType
}) })
setTimeout(()=>{ setTimeout(()=>{
this.closeParentDialog() this.closeParentDialog()
@ -268,6 +269,7 @@ export default {
try { try {
let res = await publishCarInfo({ let res = await publishCarInfo({
...this.form, ...this.form,
vehicleType: this.ortherReason ? (this.form.vehicleType+','+this.ortherReason) : this.form.vehicleType
}) })
if(res.code == 200 && !res.msg){ if(res.code == 200 && !res.msg){
this.$toast('发布成功') this.$toast('发布成功')