From 2ce2a3f27dd2f4e086011999e6d8e6e2353800ae Mon Sep 17 00:00:00 2001
From: yunuo970428 <405378304@qq.com>
Date: Tue, 25 Jun 2024 09:50:09 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E8=BF=98=E6=AC=BE=E8=AE=A1?=
=?UTF-8?q?=E5=88=92=E8=A1=A8=E8=AF=A6=E6=83=85=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../repaymentschedule/repaymentschedule.js | 6 +-
.../repaymentscheduleInfo.vue | 115 ++++++++++--------
2 files changed, 66 insertions(+), 55 deletions(-)
diff --git a/anrui-riskcenter-ui/src/api/repaymentschedule/repaymentschedule.js b/anrui-riskcenter-ui/src/api/repaymentschedule/repaymentschedule.js
index 4bb3cf8939..402856f076 100644
--- a/anrui-riskcenter-ui/src/api/repaymentschedule/repaymentschedule.js
+++ b/anrui-riskcenter-ui/src/api/repaymentschedule/repaymentschedule.js
@@ -27,10 +27,10 @@ export default {
headers: { 'Content-Type': 'application/json' }
})
},
- // 查看多台还款计划--回显(详情)
- viewVinsSchedule: function(data) {
+ // 查看还款计划--回显(详情)
+ scheduleDetails: function(data) {
return request({
- url: '/riskcenter/v1/loanrepaymentschedule/viewVinsSchedule',
+ url: '/riskcenter/v1/loanrepaymentschedule/scheduleDetails',
method: 'get',
params: data
})
diff --git a/anrui-riskcenter-ui/src/views/repaymentschedule/repaymentscheduleInfo.vue b/anrui-riskcenter-ui/src/views/repaymentschedule/repaymentscheduleInfo.vue
index 27c362249d..5f27f7180c 100644
--- a/anrui-riskcenter-ui/src/views/repaymentschedule/repaymentscheduleInfo.vue
+++ b/anrui-riskcenter-ui/src/views/repaymentschedule/repaymentscheduleInfo.vue
@@ -4,7 +4,7 @@
@@ -20,41 +20,55 @@
{{ formobj.borrowerName }}
- 车辆台数
- {{ formobj.vehCount }}
+ 贷款总金额(台数)
+ {{ formobj.amountAll }}({{ formobj.vehCount }})
+
+
主金融产品{{ (formobj.policyName) }}
+
- 资方
- {{ formobj.bankName }}
+ 单车贷款金额
+ {{ formobj.loanAmount }}
-
- 涉及车架号
- {{ formobj.vinNo }}
+
+ 期数
+ {{ formobj.mainPeriod }}
+
+
+ 首期还款日
+ {{ formobj.mainRepayDate }}
-
-
-
-
- {{ scope.row.repayMonth }}
-
-
-
-
- {{ scope.row.mainRepay }}
-
+
+
其它融({{ formobj.otherPolicyName }})
+
+
+ 单车贷款金额
+ {{ formobj.otherAmount }}
+
+
+ 期数
+ {{ formobj.otherPeriod }}
+
+
+ 首期还款日
+ {{ formobj.otherRepayDate }}
+
+
+
+
+
+
+
+
+
-
-
- {{ scope.row.otherRepay }}
-
-
-
-
- {{ scope.row.amount }}
-
+
+
+
+
@@ -80,23 +94,28 @@ export default {
viewState: 1,
tableKey: 0,
formobj: {
- salesOrderSid: '',
+ sid: '',
loanContractNo: '',
borrowerName: '',
- bankName: '',
+ amountAll: '',
vehCount: '',
- vinNo: '',
- isOtherPolicy: '',
+ policyName: '',
+ loanAmount: '',
+ mainPeriod: '',
mainRepayDate: '',
+ otherPolicyName: '',
+ otherAmount: '',
+ otherPeriod: '',
otherRepayDate: '',
- scheduleVins: []
+ vinList: [],
+ isOtherPolicy: ''
}
}
},
methods: {
showInfo(row) {
this.viewTitle = '单车还款计划表'
- req.viewVinsSchedule({ salesOrderSid: row.salesOrderSid }).then((res) => {
+ req.scheduleDetails({ salesOrderSid: row.salesOrderSid }).then((res) => {
if (res.success) {
this.formobj = res.data
}
@@ -111,16 +130,21 @@ export default {
},
handleReturn() {
this.formobj = {
- salesOrderSid: '',
+ sid: '',
loanContractNo: '',
borrowerName: '',
- bankName: '',
+ amountAll: '',
vehCount: '',
- vinNo: '',
- isOtherPolicy: '',
+ policyName: '',
+ loanAmount: '',
+ mainPeriod: '',
mainRepayDate: '',
+ otherPolicyName: '',
+ otherAmount: '',
+ otherPeriod: '',
otherRepayDate: '',
- scheduleVins: []
+ vinList: [],
+ isOtherPolicy: ''
}
this.$emit('doback')
}
@@ -135,17 +159,4 @@ export default {
.addinputInfo {
margin-left: 120px !important;
}
-.tlineheightb {
- display: flex;
- flex-direction: row;
- justify-content: flex-start;
- align-items: center;
-}
-/deep/ .tlineheightb .el-form-item .el-form-item__content .addinputInfo {
- line-height: 15px !important;
- display: flex;
- flex-direction: row;
- justify-content: flex-start;
- align-items: center;
-}