二手车交易,不通过原因必填
This commit is contained in:
@ -252,6 +252,10 @@ export default {
|
||||
},
|
||||
// 审核操作
|
||||
async auditHandle(type){
|
||||
if (!type && !this.auditReason){
|
||||
this.$toast('请填写不通过原因')
|
||||
return
|
||||
}
|
||||
try {
|
||||
await auditCarInfo({
|
||||
id: this.id,
|
||||
|
@ -7,13 +7,13 @@
|
||||
<img class="navIcon" src="@/assets/secondHandCar/qiugou_big.png" />
|
||||
<div style="opacity: 0;" class="back"></div>
|
||||
</div>
|
||||
<div class="audit" v-if="type==2 && auditReason">
|
||||
<div class="audit" v-if="type==2 && auditRemark">
|
||||
<span><img class="noAudit" src="@/assets/secondHandCar/noAudit.png" />审核不通过:</span>
|
||||
<span>{{auditReason}}</span>
|
||||
<span>{{auditRemark}}</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="contentWrap">
|
||||
<div class="contentWrap" :class="[type==1 ? 'noContentAudit': 'hasContentAudit']">
|
||||
<div class="oneContent content">
|
||||
<img class="sort" src="@/assets/secondHandCar/one_qiugou.png" />
|
||||
<div class="item vehicleTypeItem">
|
||||
@ -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);
|
||||
|
Reference in New Issue
Block a user