From ff79fcb97e62937886f0aae4f2df525fba46f037 Mon Sep 17 00:00:00 2001 From: fengachen <373943794@qq.com> Date: Mon, 29 Nov 2021 15:57:02 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90bug=E3=80=91=20=E4=BC=9A=E8=AE=AE?= =?UTF-8?q?=E8=B4=B9=E7=94=A8=E4=B8=BA0=20=E8=AE=BE=E7=BD=AE=E9=9C=80?= =?UTF-8?q?=E8=A6=81=E5=8F=91=E7=A5=A8=E4=B8=BA=200?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/incomePayments/meetManage/SignUpInfoEdit.vue | 4 ++++ src/views/signUp/SignUpPage.vue | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/views/incomePayments/meetManage/SignUpInfoEdit.vue b/src/views/incomePayments/meetManage/SignUpInfoEdit.vue index 0731b6b..b132857 100644 --- a/src/views/incomePayments/meetManage/SignUpInfoEdit.vue +++ b/src/views/incomePayments/meetManage/SignUpInfoEdit.vue @@ -367,6 +367,10 @@ export default { submitData.meetingId = this.$route.query.meetingId // 会议类型 submitData.meetingType = this.$route.query.meetingType + // 会议费用为 0 设置参数 需要发票为0 + if(this.meetingCostBool){ + submitData.needInvoice = 0 + } console.log(submitData) let url = '' if(!this.model.id){ diff --git a/src/views/signUp/SignUpPage.vue b/src/views/signUp/SignUpPage.vue index 3973a2e..9b03e17 100644 --- a/src/views/signUp/SignUpPage.vue +++ b/src/views/signUp/SignUpPage.vue @@ -474,6 +474,10 @@ export default { submitData.identity = values.identity || this.identifyType // 嘉宾类型 submitData.guestType = values.guestType || this.guestType + // 会议费用为0 参数设置需要发票为0 + if(this.meetingCostSum === '0.00' ){ + submitData.needInvoice = 0 + } console.log(submitData) let url = this.url.add let method = 'post'