【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
@@ -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)
}