【bug】报名字段与详情字段显示不统一

This commit is contained in:
fengachen
2021-10-22 16:44:11 +08:00
parent cc6a0c3e32
commit fb2aa0f6a6
2 changed files with 13 additions and 5 deletions
@@ -36,10 +36,11 @@
<a-col :xxl="8" :xl="12" :sm="24">
<label class="label">是否住酒店</label><span>{{ model.checkInHotel_dictText }}</span>
</a-col>
<a-col :xxl="8" :xl="12" :sm="24">
<!-- 抵达时间和离开时间 填写了才显示 -->
<a-col :xxl="8" :xl="12" :sm="24" v-if="!!model.arrivalTime">
<label class="label">抵达时间</label><span>{{ model.arrivalTime }}</span>
</a-col>
<a-col :xxl="8" :xl="12" :sm="24">
<a-col :xxl="8" :xl="12" :sm="24" v-if="!!model.departureTime">
<label class="label">离开时间</label><span>{{ model.departureTime }}</span>
</a-col>
</a-row>
@@ -54,7 +55,8 @@
<a-col :xxl="8" :xl="12" :sm="24">
<label class="label">缴费方式</label><span>{{ model.payMode_dictText }}</span>
</a-col>
<a-col :xxl="8" :xl="12" :sm="24">
<!-- 缴费方式为打包的不显示发票 -->
<a-col :xxl="8" :xl="12" :sm="24" v-if="model.payMode !== 3">
<label class="label">需要发票</label><span>{{ model.needInvoice_dictText }}</span>
</a-col>
<!-- <a-col :xxl="8" :xl="12" :sm="24">-->
@@ -63,7 +65,7 @@
</a-row>
</template>
<!--缴费信息end-->
<!-- 不需要发票的不显示邮寄信息 -->
<!-- 不需要发票的不显示邮寄信息 -->
<!--邮寄信息begin-->
<template v-if="model.identity === 2 && model.needInvoice !== 0 ">
<div class="item-title">邮寄信息</div>
@@ -242,7 +242,6 @@ export default {
if(this.model.id){
this.title = '编辑参会人'
}
console.log(this.model)
// 设置编辑的显示隐藏状态
this.identifyType = this.model.identity
this.guestType = this.model.guestType ? this.model.guestType : null
@@ -265,9 +264,16 @@ export default {
if(record.payMode === 3){
this.$refs.formother.payModeBool = true
}
// 缴费方式为汇款 需要显示发票字段
if(record.payMode === 1){
this.$refs.formother.payModeBool = false
}
// 缴费方式为线上的需要回显订单号后四位
if(record.payMode === 2){
this.$refs.formother.onlinePayModeBool = true
// 控制发票是否显示的字段
this.$refs.formother.payModeBool = false
}
this.$refs.formother.setFormVal(this.model)
}