Browse Source

金融产品政策管理--增加贴息放款类型

master
yunuo970428 2 years ago
parent
commit
f9699d1fe1
  1. 30
      anrui-riskcenter-ui/src/views/financialpolicymanagement/financialpolicymanagementAdd.vue
  2. 12
      anrui-riskcenter-ui/src/views/financialpolicymanagement/financialpolicymanagementInfo.vue

30
anrui-riskcenter-ui/src/views/financialpolicymanagement/financialpolicymanagementAdd.vue

@ -171,13 +171,23 @@
<el-input v-model="formobj.nominalPrice" @keyup.native="UpNumber" class="addinputw addinputInfo" clearable placeholder=""/>
</el-form-item>
</el-col>
<el-col :span="6">
<div class="span-sty"><span>贴息放款类型</span></div>
<el-form-item>
<el-select class="addinputInfo" v-model="formobj.discountUseTypeKey" @change="discountUseTypeChange" placeholder="请选择" clearable filterable>
<el-option v-for="item in discountUseType_list" :key="item.dictKey" :label="item.dictValue" :value="item.dictKey"></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<div class="span-sty"><span>有效期至</span></div>
<el-form-item>
<el-date-picker class="addinputInfo" value-format="yyyy-MM-dd" format="yyyy-MM-dd" v-model="formobj.validDateTo" type="date" placeholder="选择日期"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="6">
</el-row>
<el-row>
<el-col :span="24">
<div class="span-sty"><span>备注</span></div>
<el-form-item>
<el-input v-model="formobj.remarks" class="addinputw addinputInfo" clearable placeholder=""/>
@ -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: '',

12
anrui-riskcenter-ui/src/views/financialpolicymanagement/financialpolicymanagementInfo.vue

@ -103,11 +103,17 @@
<div class="span-sty"><span>名义/留购价款</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.nominalPrice }}</span></el-form-item>
</el-col>
<el-col :span="6">
<div class="span-sty"><span>贴息放款类型</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.discountUseType }}</span></el-form-item>
</el-col>
<el-col :span="6">
<div class="span-sty"><span>有效期至</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.validDateTo }}</span></el-form-item>
</el-col>
<el-col :span="6">
</el-row>
<el-row>
<el-col :span="24">
<div class="span-sty"><span>备注</span></div>
<el-form-item><span class="addinputInfo">{{ formobj.remarks }}</span></el-form-item>
</el-col>
@ -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: '',

Loading…
Cancel
Save