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);