|
|
@ -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: '', |
|
|
|