diff --git a/src/views/financialManagement/arriveAndInvoicing/modules/AuditProofModule.vue b/src/views/financialManagement/arriveAndInvoicing/modules/AuditProofModule.vue index 63f1a77..3095ddb 100644 --- a/src/views/financialManagement/arriveAndInvoicing/modules/AuditProofModule.vue +++ b/src/views/financialManagement/arriveAndInvoicing/modules/AuditProofModule.vue @@ -134,8 +134,12 @@ export default { } }, methods: { - open(record) { - this.getProofInfo(record) + async open(record) { + let flag = await this.getProofInfo(record) + if(!flag){ + this.$message.warn('项目已审核') + return + } this.form.resetFields() let userInfo = Vue.ls.get(USER_INFO) // 默认隐藏说明 @@ -187,19 +191,25 @@ export default { } else { httpMethod = getLastProofInfo } - httpMethod(param).then(res => { - if (res.success) { - this.proofInfo = res.result - // 标协会员、证书的缴费凭证文件、缴费金额、缴费日期、申请人字段和普通项目、工作组项目、资料网员的不一致 - if (record.projectType.toString() === '5' || record.projectType.toString() === '6') { - this.proofInfo.proof = res.result.paymentRecord - this.proofInfo.amountReceived = res.result.amountReceivable - this.proofInfo.paymentDate = res.result.submissionTime - this.proofInfo.applicantName = res.result.liaisonMan + return new Promise(resolve => { + httpMethod(param).then(res => { + if (res.success && res.result !== '无数据') { + this.proofInfo = res.result + // 标协会员、证书的缴费凭证文件、缴费金额、缴费日期、申请人字段和普通项目、工作组项目、资料网员的不一致 + if (record.projectType.toString() === '5' || record.projectType.toString() === '6') { + this.proofInfo.proof = res.result.paymentRecord + this.proofInfo.amountReceived = res.result.amountReceivable + this.proofInfo.paymentDate = res.result.submissionTime + this.proofInfo.applicantName = res.result.liaisonMan + } + this.getProofType(record) + resolve(true) + }else{ + resolve(false) } - this.getProofType(record) - } + }) }) + } }, handleOk() { diff --git a/src/views/incomePayments/meetManage/Attendance.vue b/src/views/incomePayments/meetManage/Attendance.vue index 2a9956a..b8ead9b 100644 --- a/src/views/incomePayments/meetManage/Attendance.vue +++ b/src/views/incomePayments/meetManage/Attendance.vue @@ -137,7 +137,7 @@ - @@ -261,7 +261,8 @@ 审核报名信息 - 编辑 + + 编辑 删除 @@ -445,7 +446,7 @@ export default { export: 'workGroupMeetingSituation:export', batchDel: 'workGroupMeetingSituation:batchDel', edit: 'workGroupMeetingSituation:edit', - delete: 'workGroupMeetingSituationS:delete', + delete: 'workGroupMeetingSituation:delete', auditRecord: 'workGroupMeetingSituation:auditCredentials', auditSignUpInfo: 'workGroupMeetingSituation:auditSignUp' },