会议详情样式修改,bug修改

This commit is contained in:
zhaoxiao
2021-10-19 16:15:15 +08:00
parent 97e6a76001
commit b0a50b19e1
6 changed files with 263 additions and 148 deletions
+1 -1
View File
@@ -227,7 +227,7 @@ const columns = [
{
title: '邮寄人',
align: 'center',
dataIndex: 'contactName'
dataIndex: 'mailName'
},
{
title: '快递',
@@ -35,7 +35,8 @@
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-form-item label="运行年份">
<j-year-date style="width: 100%" placeholder="请选择运行年份" v-model="queryParam.particularYear"></j-year-date>
<j-year-date style="width: 100%" placeholder="请选择运行年份" v-model="queryParam.particularYear"
@change="dateChange"></j-year-date>
</a-form-item>
</a-col>
@@ -72,8 +73,7 @@
class="j-table-force-nowrap">
<template slot="text" slot-scope="text">
<j-ellipsis v-if="text && text.length > 0" :value="text" :length="18"></j-ellipsis>
<span v-else></span>
<j-ellipsis :value="text" :length="18"></j-ellipsis>
</template>
<!-- 打包需要发票到账开票邮寄状态-->
@@ -87,7 +87,7 @@
</a-table>
</div>
<!-- /表格区域-->
<!-- 添加会议参会人-->
<!-- 添加会议参会人-->
<add-meeting-person ref="modalForm" @ok="modalFormOk"></add-meeting-person>
</j-modal>
</template>
@@ -106,7 +106,7 @@ import '@/assets/less/TableExpand.less'
export default {
name: 'SelectMeetingProjectModule',
mixins: [JeroListMixin],
components:{
components: {
JDate,
JYearDate,
StatusSlot,
@@ -143,117 +143,125 @@ export default {
align: 'center',
dataIndex: 'meetingName',
width: 160,
scopedSlots: {customRender: 'text'}
scopedSlots: { customRender: 'text' }
},
{
title: '参会单位',
align: 'center',
dataIndex: 'companyName',
width: 260,
scopedSlots: {customRender: 'text'}
scopedSlots: { customRender: 'text' }
},
// 合同里来款用途固定为会务费
{
title: '来款用途',
align: 'center',
dataIndex: 'chargeUse',
width: 80,
customRender: () => {return '会务费'}
width: 200,
customRender: () => {
return '会务费'
}
},
{
title: '参会人员',
align: 'center',
dataIndex: 'companyContactName',
width: 80,
scopedSlots: {customRender: 'text'}
width: 260,
scopedSlots: { customRender: 'text' }
},
{
title: '应收金额',
align: 'center',
dataIndex: 'amountReceivable',
width: 80,
scopedSlots: {customRender: 'text'}
width: 200,
scopedSlots: { customRender: 'text' }
},
{
title: '实收金额',
align: 'center',
dataIndex: 'paidAmount',
width: 80,
scopedSlots: {customRender: 'text'}
width: 200,
scopedSlots: { customRender: 'text' }
},
{
title: '缴费方式',
align: 'center',
dataIndex: 'payMode_dictText',
width: 80,
scopedSlots: {customRender: 'text'}
width: 150,
scopedSlots: { customRender: 'text' }
},
{
title: '负责人',
align: 'center',
dataIndex: 'directorName',
width: 80,
scopedSlots: {customRender: 'text'}
width: 200,
scopedSlots: { customRender: 'text' }
},
{
title: '打包',
align: 'center',
dataIndex: 'pack',
width: 80,
scopedSlots: {customRender: 'status-pack'}
scopedSlots: { customRender: 'status-pack' }
},
{
title: '需要发票',
align: 'center',
dataIndex: 'needInvoice',
scopedSlots: {customRender: 'status-pack'},
width: 80,
scopedSlots: { customRender: 'status-pack' },
width: 80
},
{
title: '到账',
align: 'center',
dataIndex: 'inAccount',
scopedSlots: {customRender: 'status'},
width: 80,
scopedSlots: { customRender: 'status' },
width: 80
},
{
title: '开票',
align: 'center',
dataIndex: 'makeInvoice',
scopedSlots: {customRender: 'status'},
width: 80,
scopedSlots: { customRender: 'status' },
width: 80
},
{
title: '邮寄',
align: 'center',
dataIndex: 'mail',
scopedSlots: {customRender: 'status'},
width: 80,
scopedSlots: { customRender: 'status' },
width: 80
},
{
title: '创建时间',
align: 'center',
dataIndex: 'createTime',
width: 160,
scopedSlots: {customRender: 'text'},
},
scopedSlots: { customRender: 'text' }
}
],
url: {
list: '/meeting/payMeetingSituation/contractPage',
list: '/meeting/payMeetingSituation/contractPage'
},
disableMixinCreated: true,
contractId: '', // 收入合同id
// 合同信息
contranctInfo:{},
contranctInfo: {},
// 打包状态
pack:''
pack: ''
}
},
methods: {
moment,
/**
* 运行年份变化
*/
dateChange() {
this.$forceUpdate()
},
open(record) {
this.contranctInfo =Object.assign({},record)
console.log(record,'meetingPerson')
this.contranctInfo = Object.assign({}, record)
console.log(record, 'meetingPerson')
this.filters.companyId = record.signedCompanyId
// 列表查询加入打包年份
this.filters.packYear = record.packYear
@@ -313,7 +321,7 @@ export default {
/*
* 打开新增会议参会人员
* */
handleAdd(){
handleAdd() {
// 传进去一些需要的默认值
this.$refs.modalForm.open(this.contranctInfo)
},
@@ -345,7 +353,7 @@ export default {
particularYear: new Date().getFullYear().toString()
}
this.loadData(1)
},
}
}
}
</script>
@@ -20,6 +20,7 @@
v-model="queryParam.departId"
placeholder="请选择科室"
:disabled="pack === 0"
allowClear
@change="departChange">
</a-tree-select>
</a-form-item>
@@ -28,16 +29,24 @@
<a-form-item label="负责人" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-select v-model="queryParam.principalId"
show-search
allowClear
placeholder="请选择负责人"
option-filter-prop="children"
@change="principalChange"
:filter-option="filterOption">
<a-select-option v-for="item in userList" :key="item.id" :value="item.id">{{ item.realname }}</a-select-option>
<a-select-option v-for="item in userList" :key="item.id" :value="item.id">
{{ item.realname }}
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-form-item label="运行年份" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-year-date style="width:100%" placeholder="请选择运行年份" v-model="queryParam.year"></j-year-date>
<j-year-date style="width:100%"
placeholder="请选择运行年份"
allowClear
v-model="queryParam.year"
@change="dateChange"></j-year-date>
</a-form-item>
</a-col>
@@ -133,7 +142,7 @@ export default {
contractId: {
type: String,
requird: false,
default: null,
default: null
},
// 项目类型,1--普通项目;2--工作组项目;3--会议项目;4--会员项目
projectType: {
@@ -248,10 +257,23 @@ export default {
}
],
treeDepartData: [], // 部门列表
userList: [], // 用户列表
userList: [] // 用户列表
}
},
methods: {
/**
* 运行年份变化
*/
dateChange() {
this.$forceUpdate()
},
/**
* 负责人变化
*/
principalChange() {
this.$forceUpdate()
},
open() {
// 运行年份默认为当年
this.queryParam.year = new Date().getFullYear().toString()
@@ -357,13 +379,13 @@ export default {
* 重置
*/
searchReset() {
this.lastQueryParam = {}
let obj = {
departId: this.departId,
principalId: undefined,
year: undefined,
principalId: this.principal,
year: new Date().getFullYear().toString(),
}
this.queryParam = Object.assign(this.queryParam, obj)
this.lastQueryParam = Object.assign(this.lastQueryParam, obj)
this.loadData(1)
},
/**
@@ -18,7 +18,7 @@
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-form-item label="运行年份" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-year-date style="width:100%" placeholder="请选择运行年份" v-model="queryParam.year"></j-year-date>
<j-year-date style="width:100%" placeholder="请选择运行年份" v-model="queryParam.year" @change="dateChange"></j-year-date>
</a-form-item>
</a-col>
@@ -163,7 +163,16 @@ export default {
}
},
methods: {
/**
* 运行年份变化
*/
dateChange() {
this.$forceUpdate()
},
open() {
// 运行年份默认为当年
this.queryParam.year = new Date().getFullYear().toString()
this.lastQueryParam.year = new Date().getFullYear().toString()
this.loadData()
this.visible = true
},
@@ -230,7 +239,19 @@ export default {
addOk() {
this.close()
this.$emit('ok')
}
},
/**
* 重置
*/
searchReset() {
this.lastQueryParam = {
year: new Date().getFullYear().toString()
}
this.queryParam = {
year: new Date().getFullYear().toString()
}
this.loadData(1)
},
}
}
</script>
+154 -100
View File
@@ -5,7 +5,7 @@
<div class="part-title">
<div class="part-title-text">会议信息</div>
</div>
<a-row>
<a-row class="meeting-info flex-col">
<a-col :xxl="8" :xl="12" :sm="24">
<label class="label">会议名称</label><span>{{ currentMeetingInfo.meetingName }}</span>
</a-col>
@@ -66,10 +66,24 @@
<a-col :xxl="8" :xl="12" :sm="24" v-show="currentMeetingInfo.meetingType ==='3' ">
<label>合作伙伴邀请码</label><span>{{ currentMeetingInfo.cooperativeInvitationCode }}</span>
</a-col>
<a-col :xxl="8" :xl="12" :sm="24">
<label>会议通知</label><span v-if="currentMeetingInfo.meetingFiles"><preview-file
</a-row>
<a-row class="flex-col">
<a-col>
<label class="label">会议通知</label><span v-if="currentMeetingInfo.meetingFiles"><preview-file
:file-id="currentMeetingInfo.meetingFiles"></preview-file></span>
</a-col>
</a-row>
<a-row class="meeting-textarea flex-col">
<label class="label">会议内容</label><span class="content">{{ currentMeetingInfo.meetingContent }}</span>
</a-row>
<a-row class="meeting-textarea flex-col">
<label class="label">备注</label><span class="content">{{ currentMeetingInfo.remark }}</span>
</a-row>
<div class="part-title">
<div class="part-title-text">报名信息</div>
</div>
<a-row class="flex-col">
<a-col :xxl="8" :xl="12" :sm="24">
<label>报名链接</label><span>{{ signUpHerfUrl }}</span>
</a-col>
@@ -87,18 +101,12 @@
v-model="currentMeetingInfo.paymentQrCode" disabled></j-image-upload>
</a-col>
</a-row>
<a-row v-show="currentMeetingInfo.meetingType === '2' ">
<label class="label">酒店联系人及手机号</label><span class="content"
v-for="(item,index) of currentMeetingInfo.hotelContactsList"
:key="index">{{
item.hotelContacts + ':' + item.hotelContactsPhone + ' '
}}</span>
</a-row>
<a-row>
<label class="label">会议内容</label><span class="content">{{ currentMeetingInfo.meetingContent }}</span>
</a-row>
<a-row>
<label class="label">备注</label><span class="content">{{ currentMeetingInfo.remark }}</span>
<a-row v-show="currentMeetingInfo.meetingType === '2' " class="flex-col">
<label class="label">酒店联系人及手机号</label>
<span class="content"
v-for="(item,index) of currentMeetingInfo.hotelContactsList"
:key="index">
{{ item.hotelContacts + ':' + item.hotelContactsPhone + ' ' }}</span>
</a-row>
<div class="part-title">
<div class="part-title-text">参会人员信息</div>
@@ -160,7 +168,8 @@
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
<a-button type="primary" @click="searchQuery" icon="search" v-has:[authorCode.search]="'attendance:search'">查询</a-button>
<a-button type="primary" @click="searchQuery" icon="search"
v-has:[authorCode.search]="'attendance:search'">查询</a-button>
<a-button @click="searchReset" icon="reload" class="reset-button" style="margin-left: 8px">重置</a-button>
</span>
</a-col>
@@ -173,10 +182,14 @@
<div class="table-operator">
<!-- 变更去掉了此功能 暂时注释 2021-09-16 -->
<!-- <a-button type="primary" icon="import" @click="importParticipant">导入参会人</a-button>-->
<a-button type="primary" icon="plus" @click="addParticipant" v-has:[authorCode.add]="'attendance:add'">添加参会人</a-button>
<a-button type="primary" icon="download" @click="handleExportXls('会员项目')" v-has:[authorCode.export]="'attendance:export'">导出
<a-button type="primary" icon="plus" @click="addParticipant" v-has:[authorCode.add]="'attendance:add'">添加参会人
</a-button>
<a-button type="primary" icon="download" @click="handleExportXls('会员项目')"
v-has:[authorCode.export]="'attendance:export'">导出
</a-button>
<a-button type="danger" icon="delete" @click="batchDel" v-has:[authorCode.batchDel]="'attendance:batchDel'">
批量删除
</a-button>
<a-button type="danger" icon="delete" @click="batchDel" v-has:[authorCode.batchDel]="'attendance:batchDel'">批量删除</a-button>
<!--当会议费用为0不需要合并开票 -->
<!-- 变更将此功能添加到到账开票了 暂时注释 2021-09-16 -->
<!-- <a-button type="primary" @click="batchInvoice" v-show="currentMeetingInfo.meetingCosts !== 0">合并开票</a-button>-->
@@ -268,9 +281,9 @@
</template>
<script>
import {JeroListMixin} from '@/mixins/JeroListMixin'
import {mixinDevice} from '@/utils/mixin'
import {getMeetInfoById, createQcCode} from '@api/incomeMeetingApi'
import { JeroListMixin } from '@/mixins/JeroListMixin'
import { mixinDevice } from '@/utils/mixin'
import { getMeetInfoById, createQcCode } from '@api/incomeMeetingApi'
import JYearDate from '@comp/jero/JYearDate'
import JDictSelectTag from '@comp/dict/JDictSelectTag'
import ImportParticipantModal from '@views/incomePayments/meetManage/modules/ImportParticipantModal'
@@ -318,7 +331,7 @@ export default {
title: '参会单位',
align: 'center',
dataIndex: 'companyName',
scopedSlots: {customRender: 'htmlSlot'},
scopedSlots: { customRender: 'htmlSlot' },
width: 180
},
{
@@ -326,7 +339,7 @@ export default {
align: 'center',
dataIndex: 'companyContactName',
width: 160,
scopedSlots: {customRender: 'person'},
scopedSlots: { customRender: 'person' }
},
{
title: '应收金额',
@@ -357,35 +370,35 @@ export default {
align: 'center',
dataIndex: 'pack',
width: 100,
scopedSlots: {customRender: 'status-pack'}
scopedSlots: { customRender: 'status-pack' }
},
{
title: '需要发票',
align: 'center',
dataIndex: 'needInvoice',
width: 100,
scopedSlots: {customRender: 'status-pack'}
scopedSlots: { customRender: 'status-pack' }
},
{
title: '到账',
align: 'center',
width: 100,
dataIndex: 'inAccount',
scopedSlots: {customRender: 'status'}
scopedSlots: { customRender: 'status' }
},
{
title: '开票',
align: 'center',
width: 100,
dataIndex: 'makeInvoice',
scopedSlots: {customRender: 'status-bill'}
scopedSlots: { customRender: 'status-bill' }
},
{
title: '邮寄',
align: 'center',
width: 100,
dataIndex: 'mail',
scopedSlots: {customRender: 'status-mail'}
scopedSlots: { customRender: 'status-mail' }
},
{
title: '对接人',
@@ -397,67 +410,65 @@ export default {
align: 'center',
fixed: 'right',
width: 300,
scopedSlots: {customRender: 'action'}
scopedSlots: { customRender: 'action' }
}
],
// 权限编码
authorCode:{
},
authorCode: {},
// 其他会议的参会情况的权限编码
otherMeetingCode:{
search:'otherMeetingSituation:search',
add:'otherMeetingSituation:add',
export:'otherMeetingSituation:export',
batchDel:'otherMeetingSituation:batchDel',
edit:'otherMeetingSituation:edit',
delete:'otherMeetingSituation:delete',
auditRecord:'otherMeetingSituation:auditCredentials',
auditSignUpInfo:'otherMeetingSituation:auditSignUp'
otherMeetingCode: {
search: 'otherMeetingSituation:search',
add: 'otherMeetingSituation:add',
export: 'otherMeetingSituation:export',
batchDel: 'otherMeetingSituation:batchDel',
edit: 'otherMeetingSituation:edit',
delete: 'otherMeetingSituation:delete',
auditRecord: 'otherMeetingSituation:auditCredentials',
auditSignUpInfo: 'otherMeetingSituation:auditSignUp'
},
// 分标委会议的参会情况权限编码
committeeMeetingCode:{
search:'committeeMeetingSituation:search',
add:'committeeMeetingSituation:add',
export:'committeeMeetingSituation:export',
batchDel:'committeeMeetingSituation:batchDel',
edit:'committeeMeetingSituation:edit',
delete:'committeeMeetingSituation:delete',
auditRecord:'committeeMeetingSituation:auditCredentials',
auditSignUpInfo:'committeeMeetingSituation:auditSignUp'
committeeMeetingCode: {
search: 'committeeMeetingSituation:search',
add: 'committeeMeetingSituation:add',
export: 'committeeMeetingSituation:export',
batchDel: 'committeeMeetingSituation:batchDel',
edit: 'committeeMeetingSituation:edit',
delete: 'committeeMeetingSituation:delete',
auditRecord: 'committeeMeetingSituation:auditCredentials',
auditSignUpInfo: 'committeeMeetingSituation:auditSignUp'
},
// 工作组会议的参会情况的权限编码
workGroupMeetingCode:{
search:'workGroupMeetingSituation:search',
add:'workGroupMeetingSituation:add',
export:'workGroupMeetingSituation:export',
batchDel:'workGroupMeetingSituation:batchDel',
edit:'workGroupMeetingSituation:edit',
delete:'workGroupMeetingSituationS:delete',
auditRecord:'workGroupMeetingSituation:auditCredentials',
auditSignUpInfo:'workGroupMeetingSituation:auditSignUp'
workGroupMeetingCode: {
search: 'workGroupMeetingSituation:search',
add: 'workGroupMeetingSituation:add',
export: 'workGroupMeetingSituation:export',
batchDel: 'workGroupMeetingSituation:batchDel',
edit: 'workGroupMeetingSituation:edit',
delete: 'workGroupMeetingSituationS:delete',
auditRecord: 'workGroupMeetingSituation:auditCredentials',
auditSignUpInfo: 'workGroupMeetingSituation:auditSignUp'
},
// 国际研讨会的参会情况的权限编码
internalMeetingCode:{
search:'internalMeetingSituation:search',
add:'internalMeetingSituation:add',
export:'internalMeetingSituation:export',
batchDel:'internalMeetingSituation:batchDel',
edit:'internalMeetingSituation:edit',
delete:'internalMeetingSituation:delete',
auditRecord:'internalMeetingSituation:auditCredentials',
auditSignUpInfo:'internalMeetingSituation:auditSignUp',
internalMeetingCode: {
search: 'internalMeetingSituation:search',
add: 'internalMeetingSituation:add',
export: 'internalMeetingSituation:export',
batchDel: 'internalMeetingSituation:batchDel',
edit: 'internalMeetingSituation:edit',
delete: 'internalMeetingSituation:delete',
auditRecord: 'internalMeetingSituation:auditCredentials',
auditSignUpInfo: 'internalMeetingSituation:auditSignUp'
},
// 标协会议的参会情况的权限编码
standardsMeetingCode:{
search:'standardsMeetingSituation:search',
add:'standardsMeetingSituation:add',
export:'standardsMeetingSituation:export',
batchDel:'standardsMeetingSituation:batchDel',
edit:'standardsMeetingSituation:edit',
delete:'standardsMeetingSituation:delete',
auditRecord:'standardsMeetingSituation:auditCredentials',
auditSignUpInfo:'standardsMeetingSituation:auditSignUp'
standardsMeetingCode: {
search: 'standardsMeetingSituation:search',
add: 'standardsMeetingSituation:add',
export: 'standardsMeetingSituation:export',
batchDel: 'standardsMeetingSituation:batchDel',
edit: 'standardsMeetingSituation:edit',
delete: 'standardsMeetingSituation:delete',
auditRecord: 'standardsMeetingSituation:auditCredentials',
auditSignUpInfo: 'standardsMeetingSituation:auditSignUp'
},
disableMixinCreated: true,
// url: {
@@ -468,7 +479,7 @@ export default {
// importExcelUrl: '/meeting/payMeetingSituation/importExcel'
// },
// 其他会议的url
otherMeetingUrl:{
otherMeetingUrl: {
list: '/meeting/ohterMeetingSituation/page',
delete: '/meeting/ohterMeetingSituation/delete',
deleteBatch: '/meeting/ohterMeetingSituation/deleteBatch',
@@ -476,7 +487,7 @@ export default {
importExcelUrl: '/meeting/ohterMeetingSituation/importExcel'
},
// 分标委会议的url
committeeMeetingUrl:{
committeeMeetingUrl: {
list: '/meeting/committeeMeetingSituation/page',
delete: '/meeting/committeeMeetingSituation/delete',
deleteBatch: '/meeting/committeeMeetingSituation/deleteBatch',
@@ -484,7 +495,7 @@ export default {
importExcelUrl: '/meeting/committeeMeetingSituation/importExcel'
},
// 国际研讨会的url
internalMeetingUrl:{
internalMeetingUrl: {
list: '/meeting/internalMeetingSituation/page',
delete: '/meeting/internalMeetingSituation/delete',
deleteBatch: '/meeting/internalMeetingSituation/deleteBatch',
@@ -492,7 +503,7 @@ export default {
importExcelUrl: '/meeting/internalMeetingSituation/importExcel'
},
// 标协会议的url
standardsMeetingUrl:{
standardsMeetingUrl: {
list: '/meeting/standardsMeetingSituation/page',
delete: '/meeting/standardsMeetingSituation/delete',
deleteBatch: '/meeting/standardsMeetingSituation/deleteBatch',
@@ -500,7 +511,7 @@ export default {
importExcelUrl: '/meeting/standardsMeetingSituation/importExcel'
},
// 工作组会议的url
workGroupMeetingUrl:{
workGroupMeetingUrl: {
list: '/meeting/workGroupMeetingSituation/page',
delete: '/meeting/workGroupMeetingSituation/delete',
deleteBatch: '/meeting/workGroupMeetingSituation/deleteBatch',
@@ -589,18 +600,23 @@ export default {
}
},
// eslint-disable-next-line
url(){
switch (this.$route.query.meetingType){
case '1': return this.workGroupMeetingUrl
case '2': return this.standardsMeetingUrl
case '3': return this.internalMeetingUrl
case '4': return this.otherMeetingUrl
case '5': return this.committeeMeetingUrl
url() {
switch (this.$route.query.meetingType) {
case '1':
return this.workGroupMeetingUrl
case '2':
return this.standardsMeetingUrl
case '3':
return this.internalMeetingUrl
case '4':
return this.otherMeetingUrl
case '5':
return this.committeeMeetingUrl
}
},
// 报名链接
signUpHerfUrl() {
return `${window._CONFIG['singUpQRCodeURL']}?id=${this.$route.query.id}`
return `${ window._CONFIG['singUpQRCodeURL'] }?id=${ this.$route.query.id }`
},
// 签到地址 只给一个会议id
signInUrl() {
@@ -742,7 +758,7 @@ export default {
generateQRCode(params) {
return new Promise(resolve => {
let code = ''
createQcCode({contact: params}).then(res => {
createQcCode({ contact: params }).then(res => {
if (res.success) {
code = res.result
} else {
@@ -759,7 +775,7 @@ export default {
toSignUpDetail(record) {
this.$router.push({
path: '/incomePayments/meetManage/SignUpInfoDetail',
query: {id: record.id, meetingType: this.currentMeetingInfo.meetingType,}
query: { id: record.id, meetingType: this.currentMeetingInfo.meetingType }
})
},
/*
@@ -789,13 +805,23 @@ export default {
* 通过会议类型设置权限编码
* type 会议类型
* */
setCodeByMeetingType(type){
switch (type){
case '1':this.authorCode = Object.assign({},this.workGroupMeetingCode);break
case '2':this.authorCode = Object.assign({},this.standardsMeetingCode);break
case '3':this.authorCode = Object.assign({},this.internalMeetingCode);break
case '4':this.authorCode = Object.assign({},this.otherMeetingCode);break
case '5':this.authorCode = Object.assign({},this.committeeMeetingCode);break
setCodeByMeetingType(type) {
switch (type) {
case '1':
this.authorCode = Object.assign({}, this.workGroupMeetingCode)
break
case '2':
this.authorCode = Object.assign({}, this.standardsMeetingCode)
break
case '3':
this.authorCode = Object.assign({}, this.internalMeetingCode)
break
case '4':
this.authorCode = Object.assign({}, this.otherMeetingCode)
break
case '5':
this.authorCode = Object.assign({}, this.committeeMeetingCode)
break
}
}
}
@@ -805,10 +831,38 @@ export default {
<style scoped lang="less">
@import '~@assets/less/common.less';
.meeting-info {
.ant-col {
span {
display: inline-block;
word-break: keep-all;
white-space: nowrap;
max-width: calc(100% - 100px);
overflow: hidden;
text-overflow: ellipsis;
}
}
}
//会议内容、备注的样式
.meeting-textarea {
display: flex;
label {
flex-shrink: 0;
}
}
.flex-col {
.ant-col {
display: flex;
}
}
.ant-row {
line-height: 3;
.ant-col {
label {
color: #999;
}
@@ -96,6 +96,16 @@
</a-radio-group>
</a-form-item>
</a-col>
<!-- 收入合同处新增工作组项目需要显示默认的来款用途在工作组新增的时候为后端写死-->
<a-col :xl="12" :sm="24" v-if="defaultChargeWay === 2">
<a-form-item label="来款用途" :labelCol="labelCol" :wrapperCol="wrapperCol">
<j-dict-select-tag v-decorator="['chargeUse', {initialValue: 1}]"
:triggerChange="true"
:disabled="true"
placeholder="请选择来款用途"
dictCode="payment_charge_use"/>
</a-form-item>
</a-col>
<a-col :xl="12" :sm="24" v-if="chargeWayType === 3">
<a-form-item label="收费通知号" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-radio-group
@@ -530,7 +540,7 @@ export default {
this.chargeNoticeList.forEach(item => {
if (item.type === 'chargeNoticeA' && key === 'a') {
this.selectedChargeNotice = 'A'
if (!isFirst) {
if (!isFirst) {
this.model.receivableAmount = item.yearCharge
this.model.chargeNoticeId = item.chargeNoticeId
}