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) } }) }