|
|
|
@ -74,22 +74,22 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- 是否有借款 -->
|
|
|
|
<!-- 是否有借款 -->
|
|
|
|
<div v-if="contract.borrows && contract.borrows.length>0">
|
|
|
|
<div v-if="contract.borrows && contract.borrows.length>0">
|
|
|
|
<div style="display: flex">
|
|
|
|
<div style="display: flex">
|
|
|
|
<div class="payment-registration-row">
|
|
|
|
<div class="payment-registration-row">
|
|
|
|
<div class="payment-registration-row-title">借款金额</div>
|
|
|
|
<div class="payment-registration-row-title">借款金额</div>
|
|
|
|
<div class="payment-registration-row-content">
|
|
|
|
<div class="payment-registration-row-content">
|
|
|
|
{{ priceFormat(contract.borrows[0]['money']) }} (元)
|
|
|
|
{{ priceFormat(contract.borrows[0]['money']) }} (元)
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="payment-registration-row">
|
|
|
|
<div class="payment-registration-row">
|
|
|
|
<div class="payment-registration-row-title">剩余还款金额</div>
|
|
|
|
<div class="payment-registration-row-title">剩余还款金额</div>
|
|
|
|
<div class="payment-registration-row-content">
|
|
|
|
<div class="payment-registration-row-content">
|
|
|
|
{{ priceFormat(contract.borrows[0]['diff']) }}(元)
|
|
|
|
{{ priceFormat(contract.borrows[0]['diff']) }}(元)
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
@ -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({
|
|
|
|
|