Commit 5d3df845 authored by 王建文's avatar 王建文

融资方案确认

parent 17058123
......@@ -49,12 +49,15 @@
</div>
</div>
<h-content v-if="num === 0" class="business-condition">
<!-- <list-item :item-height="44" class="second-part">
<list-item :item-height="44" class="second-part">
<item>
<div slot="name" class="font-color">业务经办</div>
<input slot="content" v-model="baseInfo.bp_user_id_n" >
<input
slot="content" v-model="baseInfo.zm_approver_bp_n" placeholder="请选择"
readonly
@click="selectApproverBp" >
</item>
</list-item> -->
</list-item>
<div class="equipment-list">承租人信息</div>
<list-item :item-height="44" class="second-part">
<item>
......@@ -63,7 +66,6 @@
slot="content"
v-model="baseInfo.bp_name"
placeholder="请输入"
>
......@@ -309,44 +311,44 @@
<list-item :item-height="44" class="second-part">
<item>
<div slot="name" class="font-color">设备总价</div>
<input slot="content" v-model="quotationInfo.equip_price" placeholder="请输入设备总价"/>
<input slot="content" v-model="quotationInfo.equip_price" placeholder="请输入设备总价">
</item>
<item>
<div slot="name" class="font-color">融资金额</div>
<input slot="content" v-model="quotationInfo.finance_amount" placeholder="请输入融资金额"/>
<input slot="content" v-model="quotationInfo.finance_amount" placeholder="请输入融资金额">
</item>
<item>
<div slot="name" class="font-color">首付款</div>
<input slot="content" v-model="quotationInfo.down_payment" placeholder="请输入首付款"/>
<input slot="content" v-model="quotationInfo.down_payment" placeholder="请输入首付款">
</item>
<item>
<div slot="name" class="font-color">保证金比例</div>
<input slot="content" v-model="quotationInfo.deposit_ratio" placeholder="请输入保证金比例"/>
<input slot="content" v-model="quotationInfo.deposit_ratio" placeholder="请输入保证金比例">
</item>
<item>
<div slot="name" class="font-color">保证金</div>
<input slot="content" v-model="quotationInfo.deposit" placeholder="请输入保证金"/>
<input slot="content" v-model="quotationInfo.deposit" placeholder="请输入保证金">
</item>
<item>
<div slot="name" class="font-color">手续费比例</div>
<input slot="content" v-model="quotationInfo.lease_charge_ratio" placeholder="请输入手续费比例"/>
<input slot="content" v-model="quotationInfo.lease_charge_ratio" placeholder="请输入手续费比例">
</item>
<item>
<div slot="name" class="font-color">手续费</div>
<input slot="content" v-model="quotationInfo.lease_charge" placeholder="请输入手续费"/>
<input slot="content" v-model="quotationInfo.lease_charge" placeholder="请输入手续费">
</item>
<item>
<div slot="name" class="font-color">保险押金</div>
<!-- <span slot="content">{{ info.insurance_fee * info.product_num | currency }}</span>-->
<input slot="content" v-model="quotationInfo.insurance_fee" placeholder="请输入保险押金"/>
<input slot="content" v-model="quotationInfo.insurance_fee" placeholder="请输入保险押金">
</item>
<item>
<div slot="name" class="font-color">GPS费用</div>
<input slot="content" v-model="quotationInfo.gps_fee" placeholder="请输入GPS费用"/>
<input slot="content" v-model="quotationInfo.gps_fee" placeholder="请输入GPS费用">
</item>
<item>
<div slot="name">首次付款合计</div>
<input slot="content" v-model="quotationInfo.first_pay" placeholder="请输入首次付款合计"/>
<input slot="content" v-model="quotationInfo.first_pay" placeholder="请输入首次付款合计">
</item>
<item :show-arrow="true" @click.native="showTime('YYYY-MM-DD')">
<div slot="name" class="font-color">预计付款日</div>
......@@ -363,7 +365,7 @@
</item>
<item>
<div slot="name" class="font-color">年利率</div>
<input slot="content" v-model="quotationInfo.int_rate" placeholder="请输入年利率"/>
<input slot="content" v-model="quotationInfo.int_rate" placeholder="请输入年利率">
</item>
</list-item>
<div class="equipment-list-fund">
......@@ -421,6 +423,7 @@ export default {
num: 0,
downNum: false,
leaseList: [],
approverBpList: [],
baseInfo: {
}, // 基本信息
......@@ -454,6 +457,7 @@ export default {
this.getInvoiceType()
this.getTaxpayer()
this.repayPeriod()
this.getProjectApprover()
},
methods: {
......@@ -560,11 +564,42 @@ export default {
}
})
},
getProjectApprover () {
let vm = this
let url = process.env.basePath + 'zm_project_approver_list'
let param = {}
vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.approverBpList = res.lists.map(item => {
return {
code: item.bp_id,
code_name: item.bp_name,
}
})
}
})
},
selectApproverBp (e) {
let vm = this
vm.hlsPopup.selectList({
list: vm.approverBpList,
code: 'approver_bp',
object: {},
returnItem: function (index, obj) {
vm.$set(vm.baseInfo, 'zm_approver_bp', obj.approver_bp)
vm.$set(vm.baseInfo, 'zm_approver_bp_n', obj.approver_bp_n)
console.log('obj', vm.baseInfo)
},
})
},
selectTaxpayer (e) {
let vm = this
console.log('vm.taxpayerList', vm.taxpayerList)
vm.hlsPopup.selectList({
list: vm.taxpayerList,
list: vm.approverBpList,
code: 'bp_type',
object: {},
returnItem: function (index, obj) {
......@@ -598,7 +633,7 @@ export default {
// ocr识别入口
ocrShow (desc, id, code) {
let vm = this
if(!id){
if (!id) {
hlsPopup.showLongCenter('请先保存基本信息')
}
hlsPopup.showActionSheet({
......@@ -869,20 +904,20 @@ export default {
let vm = this
let url = $config.basePath + 'zm_prj_base_info_save'
let master = {
...vm.baseInfo, ...vm.bank_lists,...vm.invoiceInfo
...vm.baseInfo, ...vm.bank_lists, ...vm.invoiceInfo,
}
master.user_phone= window.localStorage.user_phone
master.user_phone = window.localStorage.user_phone
// master.phone= window.localStorage.user_phone
// master.project_id=vm.project_id
let param={
master
let param = {
master,
}
vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
hlsPopup.showLongCenter('基本信息保存成功')
vm.project_id=res.project_id
vm.project_id = res.project_id
vm.getMiningLicenseList()
vm.getFinancialStatementsList()
} else {
......@@ -902,7 +937,7 @@ export default {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.leaseList = res.lists
vm.downNum=false
vm.downNum = false
}
})
},
......@@ -934,7 +969,7 @@ export default {
// 方案信息保存&更新接口
calculationSave () {
let vm = this
if(!vm.project_id){
if (!vm.project_id) {
hlsPopup.showLongCenter('请先保存基本信息')
return
}
......@@ -959,7 +994,7 @@ export default {
'lease_start_date': vm.quotationInfo.lease_start_date,
'int_rate': vm.quotationInfo.int_rate,
}
let param={master}
let param = {master}
vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
......
......@@ -29,7 +29,7 @@
<div class="pro-code" @click="goDetails(item)">
<img src="@/assets/distributorSign/fileIcon.png" alt class="file-icon" >
<p>
<span>合同编号</span>
<span>编号</span>
<span>{{ item.project_number }}</span>
</p>
......@@ -57,17 +57,17 @@
<p>{{ item.bp_name }}</p>
</div>
<div>
<p>合同名称</p>
<p>名称</p>
<p>{{ item.project_name }}</p>
</div>
<div>
<p>合同租金</p>
<p>租金</p>
<p class="money">{{ item.equip_price | currency }}</p>
</div>
<!-- <div>
<!-- <div>
<!-- <p>产品名称</p>-->
<!-- <p>{{ item.division_n }}</p>-->
<!-- </div>-->
<!-- <p>{{ item.division_n }}</p>-->
<!-- </div>-->
<div>
<p>申请时间</p>
......
This diff is collapsed.
......@@ -11,9 +11,10 @@
<p class="title">金融科技事业部</p>
<div class="Address">
<ul>
<li>地址:武汉市洪山区现代光谷世贸中心</li>
<li>邮编:430070</li>
<li>网址:https://www.hand-china.com/</li>
<li>地址:北京市东城区环球贸易中心A座28层</li>
<li>电话:010-66232180</li>
<li>传真:010-66232190</li>
<li>网址:www.cctegfl.com</li>
</ul>
</div>
<div class="RentCentral">
......
......@@ -52,7 +52,7 @@ export default {
data () {
return {
phone_number: '',
verifiedCode: '',
verifiedCode: '123456',
username: '',
......@@ -162,7 +162,7 @@ export default {
},
submit () {
let vm = this
if (!vm.phoneNumberFlag) {
if (!vm.phone_number) {
hlsPopup.showLongCenter('请输入手机号!')
} else if (vm.verifiedCode !== vm.captchaKey) {
hlsPopup.showLongCenter('验证码错误!')
......
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