From 0786a51613ca43551b8adca34fd8005e4a1b457b Mon Sep 17 00:00:00 2001 From: wangxy Date: Wed, 19 May 2021 19:39:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E7=89=A9=E4=B8=9A=E8=B4=B9?= =?UTF-8?q?=E7=BC=B4=E8=B4=B9=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/property/pay.vue | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/views/property/pay.vue b/src/views/property/pay.vue index 4be7d98..0756714 100644 --- a/src/views/property/pay.vue +++ b/src/views/property/pay.vue @@ -423,7 +423,7 @@ export default { }) break default: - console.log('请选择类型') + // console.log('请选择类型') } }, handleClick(tab, event) { @@ -447,6 +447,18 @@ export default { this.queryParams.contracttab.chargedexpense = parseFloat( this.queryParams.contracttab.chargedexpense ) + if (this.queryParams.chargetype === 1) { + if (this.fewMonths > 0) { + this.queryParams.months = this.fewMonths + } else { + this.queryParams.months = 0 + } + if (this.fewDays > 0) { + this.queryParams.days = this.fewDays + } else { + this.queryParams.days = 0 + } + } this.$confirm( '是否确认缴费, 金额为' + this.queryParams.contracttab.chargedexpense, '提示', @@ -460,7 +472,7 @@ export default { this.loading = true addContract(this.queryParams) .then((res) => { - console.log(res) + // console.log(res) this.handleQuery() if (res.code === 200) { this.$message({ @@ -597,7 +609,7 @@ export default { item.value = arg.contracttab.createby break default: - console.log(item.key) + // console.log(item.key) } }) }