master
lion 7 months ago
parent a19bf6f73b
commit e115cd8195

@ -19,14 +19,14 @@
width="200" width="200"
> >
<template slot-scope="repay"> <template slot-scope="repay">
<Button <!-- <Button
class="slot-btns-item" class="slot-btns-item"
size="small" size="small"
type="primary" type="primary"
@click="openPay(scope.row,repay.row.id)" @click="openPay(scope.row,repay.row.id)"
> >
编辑 编辑
</Button> </Button> -->
<Poptip <Poptip
:transfer="true" :transfer="true"
confirm confirm

@ -119,6 +119,7 @@
} else { } else {
this.borrow_money = 0 this.borrow_money = 0
this.repayment_total = 0 this.repayment_total = 0
this.id = ''
this.form = { this.form = {
borrow_id: '', borrow_id: '',
money: '', money: '',

@ -444,7 +444,8 @@
this.form.audit_money = this.contract.audit_money; this.form.audit_money = this.contract.audit_money;
if (this.contract.borrows && this.contract.borrows.length > 0) { if (this.contract.borrows && this.contract.borrows.length > 0) {
this.paymentRegistrationForm.applyMoney = this.contract.borrows[0].diff this.paymentRegistrationForm.applyMoney =
parseFloat(this.contract.money) - parseFloat(this.contract.borrows[0].money) + parseFloat(this.contract.borrows[0].diff)
} }
const res = await getFundLog({ const res = await getFundLog({

Loading…
Cancel
Save