分标委会议的跳转参会情况修改

This commit is contained in:
fengachen
2021-09-17 18:28:38 +08:00
parent 2a51b93fcd
commit 43dc6ebd48
3 changed files with 51 additions and 16 deletions
@@ -54,7 +54,7 @@
<a-col :xxl="8" :xl="12" :sm="24" v-if="identifyType === 2 && !payModeBool "> <a-col :xxl="8" :xl="12" :sm="24" v-if="identifyType === 2 && !payModeBool ">
<a-form-item label="邮编" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="邮编" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input placeholder="请输入邮编" <a-input placeholder="请输入邮编"
:maxLength='50' @change="(e) => {e.target.value = e.target.value.replace(/[^0-9]/g,'')}" :maxLength="50"
v-decorator="[ 'postContacCode']"></a-input> v-decorator="[ 'postContacCode']"></a-input>
</a-form-item> </a-form-item>
</a-col> </a-col>
@@ -90,7 +90,15 @@
<j-image-upload v-decorator="['paymentRecord']" :return-id="true"></j-image-upload> <j-image-upload v-decorator="['paymentRecord']" :return-id="true"></j-image-upload>
</a-form-item> </a-form-item>
</a-col> </a-col>
<!--缴费方式为线上的需要上传 -->
<a-col :xxl="8" :xl="12" :sm="24" v-if="onlinePayModeBool">
<a-form-item label="订单号后四位" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input placeholder="请输入订单号后四位"
:maxLength='4'
@change="(e) => {e.target.value = e.target.value.replace(/[^0-9]/g,'')}"
v-decorator="[ 'housiwei',validatorRules.housiwei]"></a-input>
</a-form-item>
</a-col>
</a-row> </a-row>
</template> </template>
</a-form> </a-form>
@@ -134,9 +142,9 @@ export default {
required: false required: false
}, },
// 会议费用是否为0 // 会议费用是否为0
meetingCostBool:{ meetingCostBool: {
type:Boolean, type: Boolean,
required:false, required: false,
} }
}, },
data() { data() {
@@ -161,6 +169,8 @@ export default {
}, },
// 缴费方式为打包 // 缴费方式为打包
payModeBool: false, payModeBool: false,
// 缴费方式为线上缴费
onlinePayModeBool:false,
// 回显的邮寄联系人 // 回显的邮寄联系人
selectPostPerson: null, selectPostPerson: null,
validatorRules: { validatorRules: {
@@ -175,6 +185,10 @@ export default {
needInvoice: { needInvoice: {
rules: [{required: true, message: '请选择发票类型'}], rules: [{required: true, message: '请选择发票类型'}],
validateTrigger: 'change' validateTrigger: 'change'
},
housiwei:{
rules: [{required: true, message: '请输入订单号后四位'}],
validateTrigger: 'blur'
} }
} }
} }
@@ -229,6 +243,10 @@ export default {
} else { } else {
this.payModeBool = false this.payModeBool = false
} }
// 缴费方式为线上 要输入订单后四位
if(e.target.value === 2){
this.onlinePayModeBool = true
}
}, },
/* /*
* 编辑回显值 * 编辑回显值
@@ -263,6 +263,10 @@ export default {
if(record.payMode === 3){ if(record.payMode === 3){
this.$refs.formother.payModeBool = true this.$refs.formother.payModeBool = true
} }
// 缴费方式为线上的需要回显订单号后四位
if(record.payMode === 2){
this.$refs.formother.onlinePayModeBool = true
}
this.$refs.formother.setFormVal(this.model) this.$refs.formother.setFormVal(this.model)
} }
//国际研讨会的嘉宾前三个的编辑回显值 //国际研讨会的嘉宾前三个的编辑回显值
@@ -97,13 +97,13 @@
@change="handleTableChange" @change="handleTableChange"
class="j-table-force-nowrap"> class="j-table-force-nowrap">
<!-- 工作组名称--> <template slot="htmlSlot" slot-scope="text,record">
<template slot="projectName" slot-scope="text, record"> <div class="primary-color" @click="toAttendance(record)">{{ text }}</div>
<div class="project-name" @click="goMemberUnitMaintenance(record)">{{ text }}</div>
</template> </template>
<template slot="text" slot-scope="text"> <template slot="text" slot-scope="text">
<j-ellipsis :value="text" :length="20"></j-ellipsis> <j-ellipsis v-if="text" :value="text" :length="20"></j-ellipsis>
<span v-else></span>
</template> </template>
<span slot="action" class="action-span-cell" slot-scope="text, record"> <span slot="action" class="action-span-cell" slot-scope="text, record">
@@ -182,47 +182,48 @@ export default {
align: 'center', align: 'center',
dataIndex: 'meetingType_dictText', dataIndex: 'meetingType_dictText',
width: 100, width: 100,
scopedSlots: {customRender: 'text'}
}, },
{ {
title: '负责人', title: '负责人',
align: 'center', align: 'center',
dataIndex: 'directorName', dataIndex: 'directorName',
width: 160, width: 160,
scopedSlots: {customRender: 'text'}
}, },
{ {
title: '召开时间', title: '召开时间',
align: 'center', align: 'center',
dataIndex: 'startTime', dataIndex: 'startTime',
width: 160, width: 160,
customRender: function (text, record) { customRender: (text, record) => (<j-ellipsis value={record.startTime + record.endTime} length={20}></j-ellipsis>)
return `${record.startTime}~${record.endTime}`
}
}, },
{ {
title: '召开地点', title: '召开地点',
align: 'center', align: 'center',
dataIndex: 'venue', dataIndex: 'venue',
width: 160, width: 160,
customRender: function (text, record) { customRender: (text, record) => (<j-ellipsis value={text + '/' + record.address} length={20}></j-ellipsis>)
return text + '/' + record.address
}
}, },
{ {
title: '年份', title: '年份',
align: 'center', align: 'center',
dataIndex: 'particularYear', dataIndex: 'particularYear',
width: 100, width: 100,
scopedSlots: {customRender: 'text'}
}, },
{ {
title: '已提醒', title: '已提醒',
align: 'center', align: 'center',
dataIndex: 'remind_dictText', dataIndex: 'remind_dictText',
width: 100, width: 100,
scopedSlots: {customRender: 'text'}
}, },
{ {
title: '创建时间', title: '创建时间',
align: 'center', align: 'center',
dataIndex: 'createTime', dataIndex: 'createTime',
scopedSlots: {customRender: 'text'}
}, },
{ {
title: '操作', title: '操作',
@@ -266,7 +267,7 @@ export default {
* 新增 * 新增
* */ * */
handleAdd() { handleAdd() {
// 分表委的新增应该是需要分表委的i // 分表委的新增应该是需要分表委的id
this.$router.push({ this.$router.push({
path: '/incomePayments/meetManage/AddOrDetailMeet', path: '/incomePayments/meetManage/AddOrDetailMeet',
query: { query: {
@@ -288,6 +289,18 @@ export default {
} }
}) })
}, },
/*
* 参会情况
* */
toAttendance(record) {
this.$router.push({
path: '/incomePayments/meetManage/Attendance',
query: {
id: record.id,
meetingName: record.meetingName
}
})
},
/* /*
* 发布 * 发布
* */ * */