Commit 735e6e68 authored by jiacheng.mao's avatar jiacheng.mao

创建融租方案 增加 手续费政策字段

parent 0ad22639
......@@ -204,7 +204,15 @@
</item>
<item v-if="isReadOnly">
<div slot="name" class="required">保证金抵扣方式</div>
<input slot="content" v-model="saveInfo.deposit_deduction_n" readonly>
<input slot="content" v-model="saveInfo.handling_policy_n" readonly>
</item>
<item v-if="!isReadOnly" :showArrow="true" @click.native="selectHandlingPolicyLine">
<div slot="name" class="required">手续费政策</div>
<input slot="content" v-model="saveInfo.handling_policy_n" readonly placeholder="请选择">
</item>
<item v-if="isReadOnly">
<div slot="name" class="required">手续费政策</div>
<input slot="content" v-model="saveInfo.handling_policy_n" readonly>
</item>
<item>
<div slot="name" class="required">手续费比例</div>
......@@ -436,6 +444,7 @@ export default {
divisionLists: [],
productLine: [], // 产品线
depositDeductionLine: [], //保证金抵扣方式
handlingPolicyLine: [], //手续费政策
factory_ocr_type: '',
certificationType: '',
uploadList: [], // 附件上传
......@@ -480,6 +489,8 @@ export default {
deposit_ratio_n: '',
deposit_deduction: '',
deposit_deduction_n: '',
handling_policy: '',
handling_policy_n: '',
deposit: '',
lease_charge_ratio: '',
lease_charge_ratio_n: '',
......@@ -613,6 +624,7 @@ export default {
vm.repayPeriod()// 还款周期查询
vm.getPayWay()// 支付方式查询
vm.getDepositDeduction()// 保证金抵扣方式
vm.getHandlingPolicy()// 手续费政策
}, 0)
console.log(vm.factory_ocr_type)
}
......@@ -1119,6 +1131,8 @@ export default {
hlsPopup.showLongCenter('保证金不能为空!')
} else if (!vm.saveInfo.deposit_deduction) {
hlsPopup.showLongCenter('保证金抵扣方式不能为空!')
} else if (!vm.saveInfo.handling_policy) {
hlsPopup.showLongCenter('手续费政策不能为空!')
} else if (!vm.saveInfo.lease_charge_ratio_n) {
hlsPopup.showLongCenter('手续费比例不能为空!')
} else if (!vm.saveInfo.lease_charge) {
......@@ -1643,6 +1657,35 @@ export default {
}
})
},
selectHandlingPolicyLine (e) {
let vm = this
vm.hlsPopup.selectList({
list: vm.handlingPolicyLine,
code: 'handling_policy',
object: {},
returnItem: function (index, obj) {
vm.saveInfo.handling_policy = obj.handling_policy
vm.saveInfo.handling_policy_n = obj.handling_policy_n
},
})
},
getHandlingPolicy () {
let vm = this
let url = process.env.basePath + 'prj_handling_policy'
let param = {}
vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.handlingPolicyLine = res.lists.map(item => {
return {
code: item.handling_policy,
code_name: item.handling_policy_n,
}
})
}
})
},
getProductLine () {
let vm = this
let url = process.env.basePath + 'prj_product_division'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment