From c71b1fc7097c5357a574f48d6784202018d5a49b Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Wed, 12 Mar 2025 09:43:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E6=89=8B=E8=BD=A6=E4=BA=A4=E6=98=93?= =?UTF-8?q?=EF=BC=8C=E4=B8=8D=E9=80=9A=E8=BF=87=E5=8E=9F=E5=9B=A0=E5=BF=85?= =?UTF-8?q?=E5=A1=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/secondHandCar/carSource.vue | 4 ++++ src/views/secondHandCar/wantBuy.vue | 18 +++++++++++++----- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/views/secondHandCar/carSource.vue b/src/views/secondHandCar/carSource.vue index cb1355ed..2ad82b34 100644 --- a/src/views/secondHandCar/carSource.vue +++ b/src/views/secondHandCar/carSource.vue @@ -252,6 +252,10 @@ export default { }, // 审核操作 async auditHandle(type){ + if (!type && !this.auditReason){ + this.$toast('请填写不通过原因') + return + } try { await auditCarInfo({ id: this.id, diff --git a/src/views/secondHandCar/wantBuy.vue b/src/views/secondHandCar/wantBuy.vue index 96bf7be3..014b3f33 100644 --- a/src/views/secondHandCar/wantBuy.vue +++ b/src/views/secondHandCar/wantBuy.vue @@ -7,13 +7,13 @@
-
+
审核不通过: - {{auditReason}} + {{auditRemark}}
-
+
@@ -128,6 +128,7 @@ export default { queryType:'', noClick:true, auditReason:'', + auditRemark:'', } }, async mounted() { @@ -143,7 +144,7 @@ export default { this.form={...res.data} this.form.boardType=res.data.boardType?.code this.form.emissionStandard=res.data.emissionStandard?.code - this.auditReason=res.data?.auditReason + this.auditRemark=res.data?.auditRemark } }, methods:{ @@ -277,8 +278,15 @@ export default { } } } -.contentWrap{ +.noContentAudit{ height: calc(100% - 42px); +} +.hasContentAudit{ + height: calc(100% - 85px); +} +.contentWrap{ + width: 100%; + //height: calc(100% - 42px); overflow-y: auto; .sort{ @include wh(91px, 19px);