From f9699d1fe1aa7fab65d988a4d764b2aa161c4340 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Thu, 10 Aug 2023 17:07:03 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=91=E8=9E=8D=E4=BA=A7=E5=93=81=E6=94=BF?= =?UTF-8?q?=E7=AD=96=E7=AE=A1=E7=90=86--=E5=A2=9E=E5=8A=A0=E8=B4=B4?= =?UTF-8?q?=E6=81=AF=E6=94=BE=E6=AC=BE=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../financialpolicymanagementAdd.vue | 30 ++++++++++++++++++- .../financialpolicymanagementInfo.vue | 12 +++++++- 2 files changed, 40 insertions(+), 2 deletions(-) diff --git a/anrui-riskcenter-ui/src/views/financialpolicymanagement/financialpolicymanagementAdd.vue b/anrui-riskcenter-ui/src/views/financialpolicymanagement/financialpolicymanagementAdd.vue index 2349849687..7241fe0c81 100644 --- a/anrui-riskcenter-ui/src/views/financialpolicymanagement/financialpolicymanagementAdd.vue +++ b/anrui-riskcenter-ui/src/views/financialpolicymanagement/financialpolicymanagementAdd.vue @@ -171,13 +171,23 @@ + +
贴息放款类型
+ + + + + +
有效期至
- + + +
备注
@@ -248,6 +258,7 @@ export default { vehCategory_list: [], vehicleFunction_list: [], serviceAmountType_list: [], + discountUseType_list:[], guaranteeType_list: [], downPayRatio_list: [], bondRatio_list: [], @@ -273,6 +284,8 @@ export default { guaranteeTypeKey: '', guaranteeTypeValue: '', isOtherProduct: false, + discountUseType: '', + discountUseTypeKey: '', isPack: '', loanFinOtherPolicy: { maxLoanAmount: '', @@ -328,6 +341,11 @@ export default { this.serviceAmountType_list = resp.data } }) + typeValues({ type: 'discountUseType' }).then((resp) => { + if (resp.success) { + this.discountUseType_list = resp.data + } + }) typeValues({ type: 'guaranteeType' }).then((resp) => { if (resp.success) { this.guaranteeType_list = resp.data @@ -491,6 +509,14 @@ export default { this.formobj.serviceAmountTypeValue = '' } }, + discountUseTypeChange(value) { + const choose = this.discountUseType_list.filter((item) => item.dictKey === value) + if (choose !== null && choose.length > 0) { + this.formobj.discountUseType = choose[0].dictValue + } else { + this.formobj.discountUseType = '' + } + }, downPayRatioLeastChange(value) { const choose = this.downPayRatioLeast_list.filter((item) => item.dictKey === value) if (choose !== null && choose.length > 0) { @@ -572,6 +598,8 @@ export default { guaranteeTypeValue: '', isOtherProduct: false, isPack: '', + discountUseType: '', + discountUseTypeKey: '', loanFinOtherPolicy: { maxLoanAmount: '', maxLoanRatio: '', diff --git a/anrui-riskcenter-ui/src/views/financialpolicymanagement/financialpolicymanagementInfo.vue b/anrui-riskcenter-ui/src/views/financialpolicymanagement/financialpolicymanagementInfo.vue index c0026de56a..361336b7ec 100644 --- a/anrui-riskcenter-ui/src/views/financialpolicymanagement/financialpolicymanagementInfo.vue +++ b/anrui-riskcenter-ui/src/views/financialpolicymanagement/financialpolicymanagementInfo.vue @@ -103,11 +103,17 @@
名义/留购价款
{{ formobj.nominalPrice }}
+ +
贴息放款类型
+ {{ formobj.discountUseType }} +
有效期至
{{ formobj.validDateTo }}
- +
+ +
备注
{{ formobj.remarks }}
@@ -172,6 +178,8 @@ export default { guaranteeTypeValue: '', isOtherProduct: false, isPack: '', + discountUseType: '', + discountUseTypeKey: '', loanFinOtherPolicy: { maxLoanAmount: '', maxLoanRatio: '', @@ -232,6 +240,8 @@ export default { guaranteeTypeValue: '', isOtherProduct: false, isPack: '', + discountUseType: '', + discountUseTypeKey: '', loanFinOtherPolicy: { maxLoanAmount: '', maxLoanRatio: '',