【update】应收金额计算方式的调整

This commit is contained in:
fengchenchen
2023-11-02 17:54:08 +08:00
parent ffb433f346
commit 88ac7a7f5f
+11 -7
View File
@@ -559,7 +559,7 @@ export default {
} else if (this.currentMeetingInfo.meetingType === '3' && this.currentMeetingInfo.isWasic) { } else if (this.currentMeetingInfo.meetingType === '3' && this.currentMeetingInfo.isWasic) {
// 国际研讨会 且为WASIC 会议 // 国际研讨会 且为WASIC 会议
this.isWasic = true this.isWasic = true
this.meetingCostSum = this.currentMeetingInfo.meetingCostsTwoTopic this.meetingCostSum = '0.00'
this.meetingMoney = `114/22焦点论坛+国际发展论坛+ 2个及以上专题研讨(${this.currentMeetingInfo.meetingCostsThreeTopic}/人); this.meetingMoney = `114/22焦点论坛+国际发展论坛+ 2个及以上专题研讨(${this.currentMeetingInfo.meetingCostsThreeTopic}/人);
114/22焦点论坛+国际发展论坛+ 1个及以下专题研讨(${this.currentMeetingInfo.meetingCostsTwoTopic}/人)` 114/22焦点论坛+国际发展论坛+ 1个及以下专题研讨(${this.currentMeetingInfo.meetingCostsTwoTopic}/人)`
this.getLinkTopicsOptionArr() this.getLinkTopicsOptionArr()
@@ -673,7 +673,6 @@ export default {
return return
} }
this.form.validateFields((err, values) => { this.form.validateFields((err, values) => {
console.log("---------err, values--------", err, values)
if (!err) { if (!err) {
// 判断邀请码是否错误 需要判断会议类型 以及 是否有邀请码 // 判断邀请码是否错误 需要判断会议类型 以及 是否有邀请码
if (this.codeErrorBool && this.currentMeetingInfo.meetingType === '3' && this.inviteCodeBool) { if (this.codeErrorBool && this.currentMeetingInfo.meetingType === '3' && this.inviteCodeBool) {
@@ -883,12 +882,17 @@ export default {
calcMeetingCostSum() { calcMeetingCostSum() {
// 對单选的数据进行判断 // 對单选的数据进行判断
this.$nextTick(() => { this.$nextTick(() => {
let radioKey = this.form.getFieldValue('radioKey') // 验证通过了的嘉宾 就不变化了
let radioKeyTwo = this.form.getFieldValue('radioKeyTwo') if(!this.guestType) {
if(radioKey && radioKeyTwo) { let radioKey = this.form.getFieldValue('radioKey')
this.meetingCostSum = this.currentMeetingInfo.meetingCostsThreeTopic let radioKeyTwo = this.form.getFieldValue('radioKeyTwo')
if(radioKey && radioKeyTwo) {
this.meetingCostSum = this.currentMeetingInfo.meetingCostsThreeTopic
} else {
this.meetingCostSum = this.currentMeetingInfo.meetingCostsTwoTopic
}
} else { } else {
this.meetingCostSum = this.currentMeetingInfo.meetingCostsTwoTopic this.meetingCostSum = '0.00'
} }
}) })
}, },