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 @@
{{ viewTitle }}
- 查看单车还款计划表 + 查看明细 关闭
@@ -20,41 +20,55 @@ {{ formobj.borrowerName }} -
车辆台数
- {{ formobj.vehCount }} +
贷款总金额(台数)
+ {{ formobj.amountAll }}({{ formobj.vehCount }})
+
+
主金融产品{{ (formobj.policyName) }}
+
-
资方
- {{ formobj.bankName }} +
单车贷款金额
+ {{ formobj.loanAmount }}
- -
涉及车架号
- {{ formobj.vinNo }} + +
期数
+ {{ formobj.mainPeriod }} +
+ +
首期还款日
+ {{ formobj.mainRepayDate }}
- - - - - - - +
+
其它融({{ formobj.otherPolicyName }})
+ + +
单车贷款金额
+ {{ formobj.otherAmount }} +
+ +
期数
+ {{ formobj.otherPeriod }} +
+ +
首期还款日
+ {{ formobj.otherRepayDate }} +
+
+
+ + + + + + - - - - - + + + + @@ -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; -}