From 283d1a37a216f514b6be4517e188ca76ba16713b Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Wed, 30 Jul 2025 16:15:44 +0800 Subject: [PATCH] =?UTF-8?q?story#6932,VConsole=E8=B0=83=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/secondHandCar/sellingInfo.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/secondHandCar/sellingInfo.vue b/src/views/secondHandCar/sellingInfo.vue index f395fc55..f6b90cc0 100644 --- a/src/views/secondHandCar/sellingInfo.vue +++ b/src/views/secondHandCar/sellingInfo.vue @@ -169,11 +169,12 @@ export default { }, methods:{ onConfirm(data) { + console.log("data",data) this.time = timeFormat(new Date(data)) - if (this.form.salesChannel==1 || this.form.salesChannel==2){ - this.form.tradeTime = timeFormat(new Date(data)) - }else if(this.form.salesChannel==3){ + if (this.form.salesChannel==3){ this.form.scrapTime = timeFormat(new Date(data)) + }else{ + this.form.tradeTime = timeFormat(new Date(data)) } console.log("tradeTime",this.form.tradeTime) console.log("scrapTime",this.form.scrapTime)