【bug】会议编辑为费用0 缴费二维码的的显示 样式修改
This commit is contained in:
@@ -359,13 +359,13 @@ export default {
|
||||
if (res.success) {
|
||||
this.currentMeetingInfo = res.result
|
||||
this.meetingType = this.currentMeetingInfo.meetingType
|
||||
// 初始化会议费用 这里的判断有问题 应该根据单位是否是标协会员单位 显示不同的会议费用
|
||||
// 初始化会议费用
|
||||
if (this.currentMeetingInfo.meetingCostsVip) {
|
||||
this.meetingMoney = `普通会员(${this.currentMeetingInfo.meetingCosts}/人) 标协会员(${this.currentMeetingInfo.meetingCostsVip}/人)`
|
||||
// 费用合计
|
||||
this.meetingCostSum = this.currentMeetingInfo.meetingCosts
|
||||
} else {
|
||||
this.meetingMoney = `普通会员(${this.currentMeetingInfo.meetingCosts}/人)`
|
||||
this.meetingMoney = `${this.currentMeetingInfo.meetingCosts}/人`
|
||||
// 费用合计
|
||||
this.meetingCostSum = this.currentMeetingInfo.meetingCosts
|
||||
}
|
||||
@@ -520,6 +520,24 @@ export default {
|
||||
if (e.target.value !== 1) {
|
||||
this.guestType = null
|
||||
}
|
||||
// 当前会议是国际研讨会 并且选择身份是内部企业的会议费用为0
|
||||
if(e.target.value === 3 && this.currentMeetingInfo.meetingType === '3' ){
|
||||
this.meetingCostSum = '0.00'
|
||||
}else {
|
||||
this.meetingCostSum = this.currentMeetingInfo.meetingCosts
|
||||
}
|
||||
// 当前会议不是国际研讨会议 身份选择嘉宾和 内部企业的会议费用为0
|
||||
if(e.target.value !== 2 && this.currentMeetingInfo.meetingType !== '3' ){
|
||||
this.meetingCostSum = '0.00'
|
||||
}else {
|
||||
// 会议是标协会议的话 需要判断企业是否是标准协会
|
||||
if(this.currentMeetingInfo.meetingType === '2' && this.isStandardBool){
|
||||
this.meetingCostSum = this.currentMeetingInfo.meetingCostsVip
|
||||
}else {
|
||||
this.meetingCostSum = this.currentMeetingInfo.meetingCosts
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
/*
|
||||
* 选择嘉宾类型
|
||||
@@ -601,32 +619,39 @@ export default {
|
||||
* 下一步
|
||||
* */
|
||||
nextSetp() {
|
||||
// 获取邀请码
|
||||
let code = this.form.getFieldValue('code')
|
||||
switch (code) {
|
||||
// 合作伙伴
|
||||
case this.currentMeetingInfo.cooperativeInvitationCode:
|
||||
this.identifyType = 1
|
||||
this.guestType = 4
|
||||
break
|
||||
// 演讲嘉宾
|
||||
case this.currentMeetingInfo.speakerInvitationCode:
|
||||
this.identifyType = 1
|
||||
this.guestType = 2
|
||||
break
|
||||
// 特邀嘉宾
|
||||
case this.currentMeetingInfo.guestInvitationCode:
|
||||
this.identifyType = 1
|
||||
this.guestType = 3
|
||||
break
|
||||
// vip
|
||||
case this.currentMeetingInfo.vipInvitationCode:
|
||||
this.identifyType = 1
|
||||
this.guestType = 1
|
||||
break
|
||||
default :
|
||||
this.guestType = null
|
||||
}
|
||||
this.form.validateFields(['code'],(err) => {
|
||||
if(!err){
|
||||
// 获取邀请码
|
||||
let code = this.form.getFieldValue('code')
|
||||
switch (code) {
|
||||
// 合作伙伴
|
||||
case this.currentMeetingInfo.cooperativeInvitationCode:
|
||||
this.identifyType = 1
|
||||
this.guestType = 4
|
||||
break
|
||||
// 演讲嘉宾
|
||||
case this.currentMeetingInfo.speakerInvitationCode:
|
||||
this.identifyType = 1
|
||||
this.guestType = 2
|
||||
break
|
||||
// 特邀嘉宾
|
||||
case this.currentMeetingInfo.guestInvitationCode:
|
||||
this.identifyType = 1
|
||||
this.guestType = 3
|
||||
break
|
||||
// vip
|
||||
case this.currentMeetingInfo.vipInvitationCode:
|
||||
this.identifyType = 1
|
||||
this.guestType = 1
|
||||
break
|
||||
default :
|
||||
this.guestType = null
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
|
||||
},
|
||||
/*
|
||||
* 校验邀请码是否正确 给出提示
|
||||
|
||||
Reference in New Issue
Block a user