From 67c5434731adb51b6e0d5b771be75aeddc7a3980 Mon Sep 17 00:00:00 2001 From: fengachen <373943794@qq.com> Date: Fri, 29 Jul 2022 15:10:59 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BF=AE=E6=94=B9=E3=80=91=E5=88=B0?= =?UTF-8?q?=E8=B4=A6=E5=BC=80=E7=A5=A8=E7=9A=84=E6=98=BE=E7=A4=BA=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ArriveAndInvoivingList.vue | 7 ++++++- .../meetManage/modules/AuditModal.vue | 20 ++++++++++++++----- 2 files changed, 21 insertions(+), 6 deletions(-) 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