Browse Source

完善物业费缴费功能

pull/3/head
wangxy 3 years ago
parent
commit
0786a51613
1 changed files with 15 additions and 3 deletions
  1. +15
    -3
      src/views/property/pay.vue

+ 15
- 3
src/views/property/pay.vue View File

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


Loading…
Cancel
Save