diff --git a/src/views/financialManagement/arriveAndInvoicing/ArriveAndInvoivingList.vue b/src/views/financialManagement/arriveAndInvoicing/ArriveAndInvoivingList.vue index c9037d4..e3f07eb 100644 --- a/src/views/financialManagement/arriveAndInvoicing/ArriveAndInvoivingList.vue +++ b/src/views/financialManagement/arriveAndInvoicing/ArriveAndInvoivingList.vue @@ -484,8 +484,13 @@ export default { if (record.projectType === 3) { this.meetingType = record.meetingType this.situationId = record.situationId + let params = { + meetingType:record.meetingType, + situationId:record.situationId, + type:'kp' + } this.$refs.auditModal.title = '审核凭证' - this.$refs.auditModal.open(record, false) + this.$refs.auditModal.open(params, false) return } }, diff --git a/src/views/incomePayments/meetManage/modules/AuditModal.vue b/src/views/incomePayments/meetManage/modules/AuditModal.vue index bd68dd0..684964c 100644 --- a/src/views/incomePayments/meetManage/modules/AuditModal.vue +++ b/src/views/incomePayments/meetManage/modules/AuditModal.vue @@ -223,27 +223,37 @@ export default { signUpPersonId: '', } }, + watch:{ + situationId(val){ + this.signUpPersonId = val + this.querySingUpUserInfo() + return val + } + }, methods: { open(record, signUp) { this.form.resetFields() - this.signUpPersonId = this.situationId ? this.situationId : record.id - this.querySingUpUserInfo() // 控制行程信息显示 审核凭证不显示 this.checkSignBool = signUp || false let meetingType = this.meetingType ? this.meetingType+'' :this.$route.query.meetingType - // prop meetingType 第一次传进来值拿不到 - if(Object.prototype.hasOwnProperty.call(record,'meetingType')){ + // 到账开票 + if(record.type && record.type === 'kp' ){ meetingType = record.meetingType + '' + this.signUpPersonId = record.situationId + this.querySingUpUserInfo() + }else { + this.querySingUpUserInfo() } // 会议类型不同 url不同 this.url = Object.assign({}, this.createUrlByMeetingType(meetingType)) this.visible = true - console.log( this.url,this.url) }, close() { this.$emit('close') this.visible = false + this.model = {} + this.signUpPersonId = '' }, handleOk() { const that = this