[update] 会员管理-标协会议报名信息维护联调
This commit is contained in:
@@ -181,6 +181,7 @@ import PageHeaderTitle from '@/components/layouts/PageHeaderTitle'
|
||||
import JYearDate from '@/components/jero/JYearDate'
|
||||
import StatusSlot from '@/components/tools/StatusSlot'
|
||||
import { formatMoney } from '@/utils/formatMoney'
|
||||
import { getMeetInfoById } from '@/api/incomeMeetingApi'
|
||||
|
||||
export default {
|
||||
name: 'StardsMemberProjectMeetingApplyInfo',
|
||||
@@ -313,7 +314,9 @@ export default {
|
||||
disableMixinCreated: true,
|
||||
url: {
|
||||
list: '/meeting/standardsMeetingSituation/standardPage',
|
||||
exportXlsUrl: '/meeting/standardsMeetingSituation/exportStandardXls'
|
||||
exportXlsUrl: '/meeting/standardsMeetingSituation/exportStandardXls',
|
||||
delete: '/meeting/standardsMeetingSituation/delete',
|
||||
deleteBatch: '/meeting/standardsMeetingSituation/deleteBatch'
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -355,13 +358,33 @@ export default {
|
||||
* 编辑参会人
|
||||
* */
|
||||
handleEdit(record) {
|
||||
this.$router.push({
|
||||
path: '/incomePayments/meetManage/SignUpInfoEdit',
|
||||
query: {
|
||||
id: record.id,
|
||||
meetingId: record.meetingId,
|
||||
meetingType: record.tbMeetingType,
|
||||
costBool: this.meetingCostBool
|
||||
let meetingCostBool
|
||||
getMeetInfoById({id: record.meetingId}).then(res => {
|
||||
if (res.success) {
|
||||
const currentMeetingInfo = Object.assign({}, res.result)
|
||||
let vipCost = currentMeetingInfo.meetingCostsVip
|
||||
// 判断标协会员的费用是否是0
|
||||
let flagVip = vipCost === 0 || vipCost === '0.00'
|
||||
let cost = currentMeetingInfo.meetingCosts
|
||||
// 判断普通会员的费用是否是0
|
||||
let flag = cost === 0 || cost === '0.00'
|
||||
if (flag && flagVip) {
|
||||
// 说明会议费用为0
|
||||
meetingCostBool = true
|
||||
} else {
|
||||
meetingCostBool = false
|
||||
}
|
||||
this.$router.push({
|
||||
path: '/incomePayments/meetManage/SignUpInfoEdit',
|
||||
query: {
|
||||
id: record.id,
|
||||
meetingId: record.meetingId,
|
||||
meetingType: '2',
|
||||
costBool: meetingCostBool
|
||||
}
|
||||
})
|
||||
} else {
|
||||
this.$message.warning(res.message)
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user