diff --git a/src/views/contract/components/paymentRegistration.vue b/src/views/contract/components/paymentRegistration.vue index 0708b42..72089f9 100644 --- a/src/views/contract/components/paymentRegistration.vue +++ b/src/views/contract/components/paymentRegistration.vue @@ -75,7 +75,7 @@
+ style="width: 150px;" @input="checkIsEnd"/>
@@ -282,6 +282,10 @@ } }, methods: { + checkIsEnd (e) { + this.paymentRegistrationForm.isLast = (Number(this.totalMoney()) + Number(e)) >= (this.contract.money * 0.95); + }, + async getPlanTypes() { const res = await getparameter({ number: 'money_way' @@ -344,7 +348,9 @@ this.form.audit_money = this.contract.audit_money; const res = await getFundLog({ - contract_id: this.contract.id + contract_id: this.contract.id, + page: 1, + page_size: 999 }) this.payment = res.data