Browse Source

完善自放还款划扣明细

master
yunuo970428 1 year ago
parent
commit
a0e89ddc0c
  1. 11
      anrui-riskcenter-ui/src/views/monthlypayment/monthlypayment.vue

11
anrui-riskcenter-ui/src/views/monthlypayment/monthlypayment.vue

@ -451,14 +451,19 @@ export default {
//
toDeduct() {
if (this.list.length > 0) {
const click = true
this.list.forEach((e) => {
if (e.updateTime === '') {
this.$message({ showClose: true, type: 'error', message: '资方划扣还款明细列表存在未更新的数据,请先点击更新' })
this.click = false
return
}
})
this.viewState = 3
this.$refs['divDeduct'].showAdd()
if (click) {
this.viewState = 3
this.$refs['divDeduct'].showAdd()
} else {
this.$message({ showClose: true, type: 'error', message: '资方划扣还款明细列表存在未更新的数据,请先点击更新' })
}
} else {
this.$message({ showClose: true, type: 'error', message: '资方划扣还款明细列表数据为空,无需执行划扣操作' })
}

Loading…
Cancel
Save