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" readonly>
<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="请选择"
>
......@@ -113,7 +115,7 @@
</item>
<item>
<div slot="name" class="font-color">联系地址</div>
<textarea slot="content" v-model="baseInfo.living_address"></textarea>
<textarea slot="content" v-model="baseInfo.living_address"/>
</item>
</list-item>
<div class="equipment-list">
......@@ -331,52 +333,52 @@
<item>
<div slot="name" class="font-color">设备总价</div>
<!-- <span slot="content">{{ info.equip_price * info.product_num | currency }}</span>-->
<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>
<!-- <span slot="content">{{ info.finance_amount * info.product_num | currency }}</span>-->
<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>
<!-- <span slot="content">{{ info.down_payment * info.product_num | currency }}</span>-->
<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>
<!-- <span slot="content">{{ info.deposit_ratio_n }}</span>-->
<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>
<!-- <span slot="content">{{ info.deposit * info.product_num | currency }}</span>-->
<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="info.lease_charge_ratio_n" readonly />-->
<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>
<!-- <span slot="content">{{ parseFloat(info.lease_charge * info.product_num).toFixed(2) | currency }}</span>-->
<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>
<!-- <span slot="content">{{ info.gps_fee * info.product_num | currency }}</span>-->
<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>
<!-- <span slot="content">{{ parseFloat(info.first_pay).toFixed(2) | currency }}</span>-->
<input slot="content" v-model="quotationInfo.first_pay" placeholder="请输入首次付款合计"/>
<input slot="content" v-model="quotationInfo.first_pay" placeholder="请输入首次付款合计">
</item>
<!-- <item>-->
<!-- <div slot="name" class="font-color">预计付款日</div>-->
......@@ -403,7 +405,7 @@
<item>
<div slot="name" class="font-color">年利率</div>
<!-- <span slot="content">{{ info.int_rate_n }}</span> -->
<input slot="content" v-model="quotationInfo.int_rate" placeholder="请输入年利率"/>
<input slot="content" v-model="quotationInfo.int_rate" placeholder="请输入年利率">
</item>
</list-item>
<!-- <div class="repay-plan">-->
......@@ -481,7 +483,6 @@ export default {
bp_class: this.$route.params.item.bp_class, // 承租人性质(自然人,企业)
info: {}, // 租赁信息
baseInfo: {
credit_flag: true,
}, // 基本信息
project_id: '',
bank_flag: false,
......@@ -574,11 +575,14 @@ export default {
} else {
vm.bp_flag = true
}
vm.upload_list_mining = []
vm.upload_list_report = []
vm.getPrjBaseInfo()
vm.getMiningLicenseList()
vm.getFinancialStatementsList()
vm.getPrjQuotationList()
vm.getLease()
vm.getProjectApprover()
}
})
},
......@@ -592,15 +596,15 @@ export default {
this.repayPeriod()
},
methods: {
saveData(){
saveData () {
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.project_id=vm.project_id
let param={
master
master.project_id = vm.project_id
let param = {
master,
}
vm.hlsPopup.showLoading('数据保存中')
vm.hlsHttp.post(url, param).then(function (res) {
......@@ -610,7 +614,6 @@ export default {
}
})
vm.calculationSave()
},
_renderPage (num) {
this.pdfDoc.getPage(num).then((page) => {
......@@ -681,7 +684,7 @@ export default {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
vm.leaseList = res.lists
vm.downNum=false
vm.downNum = false
}
})
},
......@@ -710,7 +713,6 @@ export default {
})
},
addRows (e) {
if (e) {
let len = 0
......@@ -798,12 +800,11 @@ export default {
vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
if(res.lists.length==0){
if (res.lists.length == 0) {
vm.quotationInfo = {}
}else{
} else {
vm.quotationInfo = res.lists[0]
}
}
})
},
......@@ -883,6 +884,36 @@ 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)
},
})
},
getTaxpayer () {
let vm = this
let url = process.env.basePath + 'bp_taxpayer_type_query'
......@@ -1144,8 +1175,8 @@ export default {
code: 'bp_type',
object: {},
returnItem: function (index, obj) {
vm.$set(vm.quotationInfo,'annual_pay_times_n',obj.bp_type_n)
vm.$set(vm.quotationInfo,'annual_pay_times',obj.bp_type)
vm.$set(vm.quotationInfo, 'annual_pay_times_n', obj.bp_type_n)
vm.$set(vm.quotationInfo, 'annual_pay_times', obj.bp_type)
},
})
},
......@@ -1157,7 +1188,7 @@ export default {
nowDate: (new Date()).format('yyyy-MM-dd'),
format: format,
callback: (date) => {
vm.$set(vm.quotationInfo,'lease_start_date',date)
vm.$set(vm.quotationInfo, 'lease_start_date', date)
},
})
},
......@@ -1176,11 +1207,11 @@ 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.project_id=vm.project_id
let param={
master
master.project_id = vm.project_id
let param = {
master,
}
vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(function (res) {
......@@ -1245,7 +1276,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()
......@@ -1256,7 +1287,6 @@ export default {
hlsPopup.showLongCenter(res.message)
}
})
}
vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(function (res) {
......
......@@ -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>
......@@ -56,18 +56,18 @@
<p>承租人</p>
<p>{{ item.bp_name }}</p>
</div>
<div>
<p>合同名称</p>
<p>{{ item.project_name }}</p>
</div>
<div>
<p>合同租金</p>
<p>名称</p>
<p>{{ item.project_name }}</p>
</div>
<div>
<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>
......
......@@ -19,35 +19,44 @@
<img src="@/assets/functionCenter/in@2x.png" alt="">
</div>
</div>
<!-- <div class="info-content">-->
<!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/todo@2x.png" alt="">-->
<!-- <div class="name-title">待办审批</div>-->
<!-- </div>-->
<!-- <div class="add-content" @click="todoList()">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="info-content">-->
<!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/todo@2x.png" alt="">-->
<!-- <div class="name-title">产品查询</div>-->
<!-- </div>-->
<!-- <div class="add-content" @click="toproduct()">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="info-content">-->
<!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/todo@2x.png" alt="">-->
<!-- <div class="name-title">产品试算</div>-->
<!-- </div>-->
<!-- <div class="add-content" @click="financingTrial()">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>-->
<!-- </div>-->
<div class="info-content">
<div class="add-name">
<img src="@/assets/functionCenter/con-sign@2x.png" alt="">
<div class="name-title">融租方案确认</div>
</div>
<div class="add-content" @click="conSign">
<img src="@/assets/functionCenter/in@2x.png" alt="">
</div>
</div>
<!-- <div class="info-content">-->
<!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/todo@2x.png" alt="">-->
<!-- <div class="name-title">待办审批</div>-->
<!-- </div>-->
<!-- <div class="add-content" @click="todoList()">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="info-content">-->
<!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/todo@2x.png" alt="">-->
<!-- <div class="name-title">产品查询</div>-->
<!-- </div>-->
<!-- <div class="add-content" @click="toproduct()">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="info-content">-->
<!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/todo@2x.png" alt="">-->
<!-- <div class="name-title">产品试算</div>-->
<!-- </div>-->
<!-- <div class="add-content" @click="financingTrial()">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>-->
<!-- </div>-->
</div>
<div class="fun-item-before" style="height: 200px">
<!-- <div class="fun-item-before" style="height: 200px">
<div class="userInfo"> 租中业务</div>
<div class="info-content">
<div class="add-name">
......@@ -57,17 +66,17 @@
<div class="add-content" @click="conSign">
<img src="@/assets/functionCenter/in@2x.png" alt="">
</div>
</div>
<!-- <div class="info-content">-->
<!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/con-sign@2x.png" alt="">-->
<!-- <div class="name-title">融租合同创建</div>-->
<!-- </div>-->
<!-- <div class="add-content" @click="goStart">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="info-content">
</div> -->
<!-- <div class="info-content">-->
<!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/con-sign@2x.png" alt="">-->
<!-- <div class="name-title">融租合同创建</div>-->
<!-- </div>-->
<!-- <div class="add-content" @click="goStart">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="info-content">
<div class="add-name">
<img src="@/assets/functionCenter/video@2x.png" alt="" >
<div class="name-title">视频面签</div>
......@@ -76,65 +85,65 @@
<img src="@/assets/functionCenter/in@2x.png" alt="" >
</div>
</div> -->
<!-- <div class="info-content">-->
<!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/car@2x.png" alt="">-->
<!-- <div class="name-title">合同签订</div>-->
<!-- </div>-->
<!-- <div class="add-content" @click="goCarConfirm">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="info-content">-->
<!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/payment@2x.png" alt="">-->
<!-- <div class="name-title">首付还款</div>-->
<!-- </div>-->
<!-- <div class="add-content" @click="goReimburse">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>-->
<!-- </div>-->
</div>
<!-- <div class="fun-item-after">-->
<!-- <div class="userInfo"> 租后业务</div>-->
<!-- <div class="info-content">-->
<!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/rent@2x.png" alt="">-->
<!-- <div class="name-title">我的发票</div>-->
<!-- </div>-->
<!-- <div class="add-content" @click="goInvoice">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="info-content">-->
<!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/rent@2x.png" alt="">-->
<!-- <div class="name-title">合同还款</div>-->
<!-- </div>-->
<!-- <div class="add-content" @click="goContractRepayment">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="info-content">-->
<!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/rent@2x.png" alt="">-->
<!-- <div class="name-title">租金还款</div>-->
<!-- </div>-->
<!-- <div class="add-content" @click="changeRent">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="info-content">-->
<!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/con-que@2x.png" alt="">-->
<!-- <div class="name-title">合同查询</div>-->
<!-- </div>-->
<!-- <div class="add-content" @click="changeContract('GUTA')">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="info-content">-->
<!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/car@2x.png" alt="">-->
<!-- <div class="name-title">合同签订</div>-->
<!-- </div>-->
<!-- <div class="add-content" @click="goCarConfirm">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="info-content">-->
<!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/payment@2x.png" alt="">-->
<!-- <div class="name-title">首付还款</div>-->
<!-- </div>-->
<!-- <div class="add-content" @click="goReimburse">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>-->
<!-- </div>-->
<!-- </div> -->
<!-- <div class="fun-item-after">-->
<!-- <div class="userInfo"> 租后业务</div>-->
<!-- <div class="info-content">-->
<!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/rent@2x.png" alt="">-->
<!-- <div class="name-title">我的发票</div>-->
<!-- </div>-->
<!-- <div class="add-content" @click="goInvoice">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="info-content">-->
<!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/rent@2x.png" alt="">-->
<!-- <div class="name-title">合同还款</div>-->
<!-- </div>-->
<!-- <div class="add-content" @click="goContractRepayment">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="info-content">-->
<!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/rent@2x.png" alt="">-->
<!-- <div class="name-title">租金还款</div>-->
<!-- </div>-->
<!-- <div class="add-content" @click="changeRent">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="info-content">-->
<!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/con-que@2x.png" alt="">-->
<!-- <div class="name-title">合同查询</div>-->
<!-- </div>-->
<!-- <div class="add-content" @click="changeContract('GUTA')">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>-->
<!-- </div>-->
<!-- </div>-->
</h-content>
</h-view>
</template>
......@@ -234,55 +243,55 @@ export default {
// }
// })
let obj = JSON.parse(window.localStorage.getItem("now_user_bp_bind_id"));
let obj = JSON.parse(window.localStorage.getItem('now_user_bp_bind_id'))
if(!Object.keys(obj).length) return vm.role = '未绑定';
if (!Object.keys(obj).length) return vm.role = '未绑定'
let user_bp_status = obj.bp_status;
let user_bp_class = obj.bp_class;
let bp_id = obj.bp_id;
let bp_identity = obj.bp_identity;
let bp_type = obj.bp_type;
let bp_name = obj.bp_name;
let user_bp_status = obj.bp_status
let user_bp_class = obj.bp_class
let bp_id = obj.bp_id
let bp_identity = obj.bp_identity
let bp_type = obj.bp_type
let bp_name = obj.bp_name
let user_phone = window.localStorage.getItem("user_phone");
let user_phone = window.localStorage.getItem('user_phone')
if (user_bp_status === 'APPROVED') {
vm.flag = false
}
if (user_bp_status === 'APPROVED') {
vm.flag = false
}
vm.user_bp_status = user_bp_status
vm.user_bp_class = user_bp_class
vm.bp_id = bp_id
vm.bp_identity = bp_identity
vm.user_bp_type = bp_type
vm.user_bp_name = bp_name
vm.user_phone = user_phone
if (bp_type === 'TENANT') {
vm.role = '主承租人'
} else if (bp_type === 'GUTA') {
vm.role = '担保人'
} else if (bp_type === 'FACTORY') {
vm.role = '主机厂'
} else if (bp_type === 'AGENT') {
vm.role = '经销商'
} else if (bp_type === 'OFFICE') {
vm.role = '办事处'
} else if (bp_type === 'MANAGER') {
vm.role = '业务经理'
}
if (bp_type === 'AGENT') {
vm.isAGENT = true
} else {
vm.isAGENT = false
}
if (bp_type === 'GUTA' || bp_type === 'TENANT' || bp_type === 'AGENT') {
vm.isMultiRole = true
} else {
vm.isMultiRole = false
}
vm.user_bp_status = user_bp_status
vm.user_bp_class = user_bp_class
vm.bp_id = bp_id
vm.bp_identity = bp_identity
vm.user_bp_type = bp_type
vm.user_bp_name = bp_name
vm.user_phone = user_phone
if (bp_type === 'TENANT') {
vm.role = '主承租人'
} else if (bp_type === 'GUTA') {
vm.role = '担保人'
} else if (bp_type === 'FACTORY') {
vm.role = '主机厂'
} else if (bp_type === 'AGENT') {
vm.role = '经销商'
} else if (bp_type === 'OFFICE') {
vm.role = '办事处'
} else if (bp_type === 'MANAGER') {
vm.role = '业务经理'
}
if (bp_type === 'AGENT') {
vm.isAGENT = true
} else {
vm.isAGENT = false
}
if (bp_type === 'GUTA' || bp_type === 'TENANT' || bp_type === 'AGENT') {
vm.isMultiRole = true
} else {
vm.isMultiRole = false
}
},
// 进入融资合同创建
goStart () {
......@@ -302,10 +311,10 @@ export default {
// 融租方案确认
conSign () {
// .首付还款、租金还款、融租方案确认需对业务经理角色做控制,点击无法进入,提示“当前角色非承租人或担保人,无法使用该功能!”
/*if (this.user_bp_type === 'MANAGER') {
/* if (this.user_bp_type === 'MANAGER') {
hlsPopup.showLongCenter('当前角色非承租人或担保人,无法使用该功能!')
return
}*/
} */
if (this.bp_id) {
this.$router.push({
name: 'ContractSigning',
......
......@@ -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