diff --git a/src/api/incomeMeetingApi.js b/src/api/incomeMeetingApi.js
index fe46d65..1b32a1e 100644
--- a/src/api/incomeMeetingApi.js
+++ b/src/api/incomeMeetingApi.js
@@ -29,6 +29,9 @@ const editGenerateCodeList = (params) => postAction('/meeting/randomCode/edit',
// 标协会议-问题征集详情-查询标准号下拉框数据
const getStandardNumberList = (params) => getAction('/meeting/standardsMeeting/getStandardNumberList', params)
+// 国际研讨会-WASIC-通过会议ID获取关联主题的信息
+const getLinkTopics = (params) => getAction('/meeting/internalMeeting/getLinkTopics', params)
+
export {
getUserInfo,
@@ -42,5 +45,6 @@ export {
generateCode,
addGenerateCodeList,
editGenerateCodeList,
- getStandardNumberList
+ getStandardNumberList,
+ getLinkTopics
}
diff --git a/src/enums/commonEnums.js b/src/enums/commonEnums.js
index d20ef86..4a1ad1b 100644
--- a/src/enums/commonEnums.js
+++ b/src/enums/commonEnums.js
@@ -22,3 +22,14 @@ export const InvoiceTypeEnums = {
plain: { name: '增值税普通发票', index: 1 },
special: { name: '增值税专用发票', index: 2 }
}
+// 国际研讨会关联课题
+//汽车网络安全与数据安全标准合规专题,
+// 智能网汽车标准化领航及标准路线图专题,
+// 汽车地毯专题,
+// 动力电池安全专题,
+// 弱势道路交通参与者(VRU)保护专题,
+// 免费专题
+export const LinkTopicsEnums = {
+ free: { name: '免费专题', index: 6 }
+}
+
diff --git a/src/views/incomePayments/meetManage/AddOrDetailMeet.vue b/src/views/incomePayments/meetManage/AddOrDetailMeet.vue
index e13e425..f053cde 100644
--- a/src/views/incomePayments/meetManage/AddOrDetailMeet.vue
+++ b/src/views/incomePayments/meetManage/AddOrDetailMeet.vue
@@ -757,6 +757,7 @@ export default {
}
this.model.isAddQuestion = this.model.isAddQuestion || 0 // 处理历史数据的问题
// 是否WASIC--处理历史数据的问题
+ this.model.isWasic = this.model.isWasic || 0
this.isWasic = this.model.isWasic || 0
} else {
this.title = '新增会议'
@@ -871,6 +872,10 @@ export default {
}
// 添加编辑会议需要增加会议类型
formData.meetingType = this.meetingType
+ // 国际研讨会 对isWasic做处理
+ if(formData.meetingType === '3') {
+ formData.isWasic = Number(formData.isWasic)
+ }
// 如果是工作会议维护跳转的需要加上会议类型为工作组会议和工作组id
if (this.isWorkGroupMeetType) {
formData.meetingType = '1'
@@ -1186,7 +1191,7 @@ export default {
// 是否WASIC 会议
isWasicChange(e) {
console.log(e)
- this.isWasic = e
+ this.isWasic = Number(e)
},
/*
* 根据会议类型返回不同的会议新增与编辑接口
diff --git a/src/views/incomePayments/meetManage/Attendance.vue b/src/views/incomePayments/meetManage/Attendance.vue
index c731c4b..1ae6f16 100644
--- a/src/views/incomePayments/meetManage/Attendance.vue
+++ b/src/views/incomePayments/meetManage/Attendance.vue
@@ -17,12 +17,12 @@
{{ tbMeetingType }}
-
+
{{ currentMeetingInfo.isWasic_dictText || '否' }}
- {{ currentMeetingInfo.linkTopics_dictTixt }}
+
@@ -57,14 +57,14 @@
{{ currentMeetingInfo.meetingCostsThreeTopic }} 元/人
-
+
{{ currentMeetingInfo.meetingCosts }} 元/人
{{ currentMeetingInfo.meetingCostsVip }} 元/人
-
+
{{ currentMeetingInfo.estimatedNumber }}
diff --git a/src/views/incomePayments/meetManage/OtherMeetingForm.vue b/src/views/incomePayments/meetManage/OtherMeetingForm.vue
index 36b28c0..1f653da 100644
--- a/src/views/incomePayments/meetManage/OtherMeetingForm.vue
+++ b/src/views/incomePayments/meetManage/OtherMeetingForm.vue
@@ -401,6 +401,13 @@ export default {
checkTaxMoney(rules, value, callback) {
this.checkMoneyTemplate(rules, value, callback, '税额')
},
+ changeReceivableAmountParent(params) {
+ // 表单赋值
+ this.form.setFieldsValue({
+ 'amountReceivable': params.target.value
+ })
+ this.changeReceivableAmount(params)
+ },
handleOk() {
this.form.validateFields((err, values) => {
if (!err) {
diff --git a/src/views/incomePayments/meetManage/SignUpInfoEdit.vue b/src/views/incomePayments/meetManage/SignUpInfoEdit.vue
index 710ba7e..4410fac 100644
--- a/src/views/incomePayments/meetManage/SignUpInfoEdit.vue
+++ b/src/views/incomePayments/meetManage/SignUpInfoEdit.vue
@@ -43,7 +43,7 @@
v-decorator="['phone',validatorRules.phone]">
-
+
@@ -144,12 +147,13 @@ import SeminarVipForm from '@views/incomePayments/meetManage/modules/SeminarVipF
import SeminarPartnerForm from '@views/incomePayments/meetManage/modules/SeminarPartnerForm'
import AddMeetingCompany from '@comp/company/AddMeetingCompany'
import {getContactsById} from '@api/api'
-import {getSingUpUserInfo, validateStandard, getMeetInfoById} from '@api/incomeMeetingApi'
+import {getSingUpUserInfo, validateStandard, getMeetInfoById, getLinkTopics} from '@api/incomeMeetingApi'
import { judgeInternalEnterprise } from '../../../api/incomePaymentsApi'
import {httpAction} from '@api/manage'
import pick from 'lodash.pick'
import PageHeaderTitle from '@comp/layouts/PageHeaderTitle'
import { queryCompanyInfoById } from '../../../api/api'
+import { LinkTopicsEnums } from "../../../enums/commonEnums";
export default {
name: 'SignUpInfoEdit',
@@ -265,7 +269,9 @@ export default {
},
title:'添加参会人',
// 当前参会企业是否是内部企业
- isInternalEnterprise: false
+ isInternalEnterprise: false,
+ // 可选课题名称的数组
+ linkTopicsOptionArr: []
}
},
created() {
@@ -310,6 +316,14 @@ export default {
},
},
methods: {
+ // 获取国际研讨会-能选择课题的数据字典数据
+ getLinkTopicsOptionArr(meetingId) {
+ getLinkTopics({id: meetingId}).then(res =>{
+ if(res.success) {
+ this.linkTopicsOptionArr = res.result || []
+ }
+ })
+ },
// 通过企业的id获取企业管理中的基本信息,用于发票回显
queryCompanyInfoById(id) {
return new Promise(resolve => {
@@ -488,6 +502,21 @@ export default {
handleCancel() {
this.$router.go(-1)
},
+ // 国际研讨会-WASIC-改变选择的主题值
+ changeChoiceTopic(e) {
+ console.log('e------', e)
+ // let choiceTopicArr = (e || '').split(',')
+ // choiceTopicArr = choiceTopicArr.filter(item => item && item !== (LinkTopicsEnums.free.index + ''))
+ // let meetingCostSum = 0
+ // console.log('choiceTopicArr------', choiceTopicArr)
+ // if(choiceTopicArr.length > 2) {
+ // meetingCostSum = this.currentMeetingInfo.meetingCostsThreeTopic
+ // } else {
+ // meetingCostSum = this.currentMeetingInfo.meetingCostsTwoTopic
+ // }
+ // 改变组件内的待收金额
+ // this.$refs.formother && this.$refs.formother.changeReceivableAmountParent({target: {value: meetingCostSum}})
+ },
/*
* 改变身份
* */
@@ -594,9 +623,13 @@ export default {
* */
queryMeetingInfo(meetingId){
this.currentMeetingInfo = {}
- getMeetInfoById({id:meetingId}).then(res => {
+ getMeetInfoById({id: meetingId}).then(res => {
if(res.success){
this.currentMeetingInfo = res.result
+ // 国际研讨会 且为WASIC 会议
+ if (this.currentMeetingInfo.meetingType === '3' && this.currentMeetingInfo.isWasic){
+ this.getLinkTopicsOptionArr(meetingId)
+ }
}
})
}
diff --git a/src/views/projectManagement/InternationalSeminar.vue b/src/views/projectManagement/InternationalSeminar.vue
index 68ef315..c3c034c 100644
--- a/src/views/projectManagement/InternationalSeminar.vue
+++ b/src/views/projectManagement/InternationalSeminar.vue
@@ -55,6 +55,11 @@
+
+
+
+
+
查询