【开发】会议审核

This commit is contained in:
fengachen
2021-12-20 13:52:56 +08:00
parent 1ab27496b0
commit 08b3ef0317
3 changed files with 25 additions and 4 deletions
@@ -160,7 +160,7 @@
<!-- 审核缴费凭证-->
<audit-proof-module ref="auditProof" @ok="modalFormOk"></audit-proof-module>
<!-- 会议审核的弹窗 -->
<audit-modal ref="auditModal" @ok="modalFormOk"></audit-modal>
<audit-modal ref="auditModal" :meeting-type="meetingType" :situation-id="situationId" @ok="modalFormOk"></audit-modal>
</div>
</template>
@@ -178,6 +178,7 @@ import ProjectDetailModal from '../../../components/ProjectDetailModal'
import BatchInvoicingModule from '../../packManagement/modules/BatchInvoicingModule'
import { isAllEqual } from '../../../utils/util'
import AuditProofModule from './modules/AuditProofModule'
// import AuditProofModule from "@views/financialManagement/arriveAndInvoicing/modules/AuditProofModule";
import AuditModal from '@views/incomePayments/meetManage/modules/AuditModal'
export default {
@@ -316,7 +317,10 @@ export default {
selectedProject: [],
batchInvoicingVisible: false,
selectedCompany: {}, // 选中项目的企业信息
mailContactsId: null // 项目邮寄联系人id
mailContactsId: null ,// 项目邮寄联系人id
meetingType:undefined, // 会议项目的会议类型
situationId:undefined // 参会人id
}
},
methods: {
@@ -434,6 +438,8 @@ export default {
}
// 会议项目使用原本会议缴费凭证的审核弹窗
if (record.projectType === 3) {
this.meetingType = record.meetingType
this.situationId = record.situationId
this.$refs.auditModal.title = '审核凭证'
this.$refs.auditModal.open(record, false)
return
@@ -239,6 +239,8 @@
v-decorator="['directorPhone']"></a-input>
</a-form-item>
</a-col>
</a-row>
<a-row :gutter="24">
<a-col :xxl="8" :xl="12" :sm="24">
<a-form-item label="酒店名称" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-input placeholder="请输入酒店名称"
@@ -121,6 +121,18 @@ export default {
components: {
JImageUpload
},
props:{
// 到账开票 与消息查看会用到 会议类型
meetingType:{
type:[String,Number],
required:false,
},
// 参会人id 到账开票 与消息查看会用到
situationId:{
type:String,
required:false
}
},
data() {
return {
title: '审核凭证',
@@ -215,12 +227,13 @@ export default {
open(record, signUp) {
this.form.resetFields()
this.visible = true
this.signUpPersonId = record.id
this.signUpPersonId = this.situationId ? this.situationId : record.id
this.querySingUpUserInfo()
// 控制行程信息显示 审核凭证不显示
this.checkSignBool = signUp || false
let meetingType = this.meetingType ? this.meetingType+'' :this.$route.query.meetingType
// 会议类型不同 url不同
this.url = Object.assign({}, this.createUrlByMeetingType(this.$route.query.meetingType))
this.url = Object.assign({}, this.createUrlByMeetingType(meetingType))
console.log(record)
},
close() {