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

融资方案确认

parent 17058123
...@@ -49,12 +49,15 @@ ...@@ -49,12 +49,15 @@
</div> </div>
</div> </div>
<h-content v-if="num === 0" class="business-condition"> <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> <item>
<div slot="name" class="font-color">业务经办</div> <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> </item>
</list-item> --> </list-item>
<div class="equipment-list">承租人信息</div> <div class="equipment-list">承租人信息</div>
<list-item :item-height="44" class="second-part"> <list-item :item-height="44" class="second-part">
<item> <item>
...@@ -63,7 +66,6 @@ ...@@ -63,7 +66,6 @@
slot="content" slot="content"
v-model="baseInfo.bp_name" v-model="baseInfo.bp_name"
placeholder="请选择" placeholder="请选择"
> >
...@@ -113,7 +115,7 @@ ...@@ -113,7 +115,7 @@
</item> </item>
<item> <item>
<div slot="name" class="font-color">联系地址</div> <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> </item>
</list-item> </list-item>
<div class="equipment-list"> <div class="equipment-list">
...@@ -331,52 +333,52 @@ ...@@ -331,52 +333,52 @@
<item> <item>
<div slot="name" class="font-color">设备总价</div> <div slot="name" class="font-color">设备总价</div>
<!-- <span slot="content">{{ info.equip_price * info.product_num | currency }}</span>--> <!-- <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>
<item> <item>
<div slot="name" class="font-color">融资金额</div> <div slot="name" class="font-color">融资金额</div>
<!-- <span slot="content">{{ info.finance_amount * info.product_num | currency }}</span>--> <!-- <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>
<item> <item>
<div slot="name" class="font-color">首付款</div> <div slot="name" class="font-color">首付款</div>
<!-- <span slot="content">{{ info.down_payment * info.product_num | currency }}</span>--> <!-- <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>
<item> <item>
<div slot="name" class="font-color">保证金比例</div> <div slot="name" class="font-color">保证金比例</div>
<!-- <span slot="content">{{ info.deposit_ratio_n }}</span>--> <!-- <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>
<item> <item>
<div slot="name" class="font-color">保证金</div> <div slot="name" class="font-color">保证金</div>
<!-- <span slot="content">{{ info.deposit * info.product_num | currency }}</span>--> <!-- <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>
<item> <item>
<div slot="name" class="font-color">手续费比例</div> <div slot="name" class="font-color">手续费比例</div>
<!-- <input slot="content" v-model="info.lease_charge_ratio_n" readonly />--> <!-- <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>
<item> <item>
<div slot="name" class="font-color">手续费</div> <div slot="name" class="font-color">手续费</div>
<!-- <span slot="content">{{ parseFloat(info.lease_charge * info.product_num).toFixed(2) | currency }}</span>--> <!-- <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>
<item> <item>
<div slot="name" class="font-color">保险押金</div> <div slot="name" class="font-color">保险押金</div>
<!-- <span slot="content">{{ info.insurance_fee * info.product_num | currency }}</span>--> <!-- <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>
<item> <item>
<div slot="name" class="font-color">GPS费用</div> <div slot="name" class="font-color">GPS费用</div>
<!-- <span slot="content">{{ info.gps_fee * info.product_num | currency }}</span>--> <!-- <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>
<item> <item>
<div slot="name">首次付款合计</div> <div slot="name">首次付款合计</div>
<!-- <span slot="content">{{ parseFloat(info.first_pay).toFixed(2) | currency }}</span>--> <!-- <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>
<!-- <item>--> <!-- <item>-->
<!-- <div slot="name" class="font-color">预计付款日</div>--> <!-- <div slot="name" class="font-color">预计付款日</div>-->
...@@ -403,7 +405,7 @@ ...@@ -403,7 +405,7 @@
<item> <item>
<div slot="name" class="font-color">年利率</div> <div slot="name" class="font-color">年利率</div>
<!-- <span slot="content">{{ info.int_rate_n }}</span> --> <!-- <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> </item>
</list-item> </list-item>
<!-- <div class="repay-plan">--> <!-- <div class="repay-plan">-->
...@@ -481,7 +483,6 @@ export default { ...@@ -481,7 +483,6 @@ export default {
bp_class: this.$route.params.item.bp_class, // 承租人性质(自然人,企业) bp_class: this.$route.params.item.bp_class, // 承租人性质(自然人,企业)
info: {}, // 租赁信息 info: {}, // 租赁信息
baseInfo: { baseInfo: {
credit_flag: true,
}, // 基本信息 }, // 基本信息
project_id: '', project_id: '',
bank_flag: false, bank_flag: false,
...@@ -574,11 +575,14 @@ export default { ...@@ -574,11 +575,14 @@ export default {
} else { } else {
vm.bp_flag = true vm.bp_flag = true
} }
vm.upload_list_mining = []
vm.upload_list_report = []
vm.getPrjBaseInfo() vm.getPrjBaseInfo()
vm.getMiningLicenseList() vm.getMiningLicenseList()
vm.getFinancialStatementsList() vm.getFinancialStatementsList()
vm.getPrjQuotationList() vm.getPrjQuotationList()
vm.getLease() vm.getLease()
vm.getProjectApprover()
} }
}) })
}, },
...@@ -592,15 +596,15 @@ export default { ...@@ -592,15 +596,15 @@ export default {
this.repayPeriod() this.repayPeriod()
}, },
methods: { methods: {
saveData(){ saveData () {
let vm = this let vm = this
let url = $config.basePath + 'zm_prj_base_info_save' let url = $config.basePath + 'zm_prj_base_info_save'
let master = { let master = {
...vm.baseInfo, ...vm.bank_lists,...vm.invoiceInfo ...vm.baseInfo, ...vm.bank_lists, ...vm.invoiceInfo,
} }
master.project_id=vm.project_id master.project_id = vm.project_id
let param={ let param = {
master master,
} }
vm.hlsPopup.showLoading('数据保存中') vm.hlsPopup.showLoading('数据保存中')
vm.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
...@@ -610,7 +614,6 @@ export default { ...@@ -610,7 +614,6 @@ export default {
} }
}) })
vm.calculationSave() vm.calculationSave()
}, },
_renderPage (num) { _renderPage (num) {
this.pdfDoc.getPage(num).then((page) => { this.pdfDoc.getPage(num).then((page) => {
...@@ -681,7 +684,7 @@ export default { ...@@ -681,7 +684,7 @@ export default {
vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading()
if (res.result === 'S') { if (res.result === 'S') {
vm.leaseList = res.lists vm.leaseList = res.lists
vm.downNum=false vm.downNum = false
} }
}) })
}, },
...@@ -710,7 +713,6 @@ export default { ...@@ -710,7 +713,6 @@ export default {
}) })
}, },
addRows (e) { addRows (e) {
if (e) { if (e) {
let len = 0 let len = 0
...@@ -798,12 +800,11 @@ export default { ...@@ -798,12 +800,11 @@ export default {
vm.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading()
if (res.result === 'S') { if (res.result === 'S') {
if(res.lists.length==0){ if (res.lists.length == 0) {
vm.quotationInfo = {} vm.quotationInfo = {}
}else{ } else {
vm.quotationInfo = res.lists[0] vm.quotationInfo = res.lists[0]
} }
} }
}) })
}, },
...@@ -883,6 +884,36 @@ export default { ...@@ -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 () { getTaxpayer () {
let vm = this let vm = this
let url = process.env.basePath + 'bp_taxpayer_type_query' let url = process.env.basePath + 'bp_taxpayer_type_query'
...@@ -1144,8 +1175,8 @@ export default { ...@@ -1144,8 +1175,8 @@ export default {
code: 'bp_type', code: 'bp_type',
object: {}, object: {},
returnItem: function (index, obj) { returnItem: function (index, obj) {
vm.$set(vm.quotationInfo,'annual_pay_times_n',obj.bp_type_n) 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', obj.bp_type)
}, },
}) })
}, },
...@@ -1157,7 +1188,7 @@ export default { ...@@ -1157,7 +1188,7 @@ export default {
nowDate: (new Date()).format('yyyy-MM-dd'), nowDate: (new Date()).format('yyyy-MM-dd'),
format: format, format: format,
callback: (date) => { callback: (date) => {
vm.$set(vm.quotationInfo,'lease_start_date',date) vm.$set(vm.quotationInfo, 'lease_start_date', date)
}, },
}) })
}, },
...@@ -1176,11 +1207,11 @@ export default { ...@@ -1176,11 +1207,11 @@ export default {
let vm = this let vm = this
let url = $config.basePath + 'zm_prj_base_info_save' let url = $config.basePath + 'zm_prj_base_info_save'
let master = { let master = {
...vm.baseInfo, ...vm.bank_lists,...vm.invoiceInfo ...vm.baseInfo, ...vm.bank_lists, ...vm.invoiceInfo,
} }
master.project_id=vm.project_id master.project_id = vm.project_id
let param={ let param = {
master master,
} }
vm.hlsPopup.showLoading('请稍候') vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
...@@ -1245,7 +1276,7 @@ export default { ...@@ -1245,7 +1276,7 @@ export default {
'lease_start_date': vm.quotationInfo.lease_start_date, 'lease_start_date': vm.quotationInfo.lease_start_date,
'int_rate': vm.quotationInfo.int_rate, 'int_rate': vm.quotationInfo.int_rate,
} }
let param={master} let param = {master}
vm.hlsPopup.showLoading('请稍候') vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading()
...@@ -1256,7 +1287,6 @@ export default { ...@@ -1256,7 +1287,6 @@ export default {
hlsPopup.showLongCenter(res.message) hlsPopup.showLongCenter(res.message)
} }
}) })
} }
vm.hlsPopup.showLoading('请稍候') vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
......
...@@ -49,12 +49,15 @@ ...@@ -49,12 +49,15 @@
</div> </div>
</div> </div>
<h-content v-if="num === 0" class="business-condition"> <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> <item>
<div slot="name" class="font-color">业务经办</div> <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> </item>
</list-item> --> </list-item>
<div class="equipment-list">承租人信息</div> <div class="equipment-list">承租人信息</div>
<list-item :item-height="44" class="second-part"> <list-item :item-height="44" class="second-part">
<item> <item>
...@@ -63,7 +66,6 @@ ...@@ -63,7 +66,6 @@
slot="content" slot="content"
v-model="baseInfo.bp_name" v-model="baseInfo.bp_name"
placeholder="请输入" placeholder="请输入"
> >
...@@ -309,44 +311,44 @@ ...@@ -309,44 +311,44 @@
<list-item :item-height="44" class="second-part"> <list-item :item-height="44" class="second-part">
<item> <item>
<div slot="name" class="font-color">设备总价</div> <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>
<item> <item>
<div slot="name" class="font-color">融资金额</div> <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>
<item> <item>
<div slot="name" class="font-color">首付款</div> <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>
<item> <item>
<div slot="name" class="font-color">保证金比例</div> <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>
<item> <item>
<div slot="name" class="font-color">保证金</div> <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>
<item> <item>
<div slot="name" class="font-color">手续费比例</div> <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>
<item> <item>
<div slot="name" class="font-color">手续费</div> <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>
<item> <item>
<div slot="name" class="font-color">保险押金</div> <div slot="name" class="font-color">保险押金</div>
<!-- <span slot="content">{{ info.insurance_fee * info.product_num | currency }}</span>--> <!-- <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>
<item> <item>
<div slot="name" class="font-color">GPS费用</div> <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>
<item> <item>
<div slot="name">首次付款合计</div> <div slot="name">首次付款合计</div>
<input slot="content" v-model="quotationInfo.first_pay" placeholder="请输入首次付款合计"/> <input slot="content" v-model="quotationInfo.first_pay" placeholder="请输入首次付款合计">
</item> </item>
<item :show-arrow="true" @click.native="showTime('YYYY-MM-DD')"> <item :show-arrow="true" @click.native="showTime('YYYY-MM-DD')">
<div slot="name" class="font-color">预计付款日</div> <div slot="name" class="font-color">预计付款日</div>
...@@ -363,7 +365,7 @@ ...@@ -363,7 +365,7 @@
</item> </item>
<item> <item>
<div slot="name" class="font-color">年利率</div> <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> </item>
</list-item> </list-item>
<div class="equipment-list-fund"> <div class="equipment-list-fund">
...@@ -421,6 +423,7 @@ export default { ...@@ -421,6 +423,7 @@ export default {
num: 0, num: 0,
downNum: false, downNum: false,
leaseList: [], leaseList: [],
approverBpList: [],
baseInfo: { baseInfo: {
}, // 基本信息 }, // 基本信息
...@@ -454,6 +457,7 @@ export default { ...@@ -454,6 +457,7 @@ export default {
this.getInvoiceType() this.getInvoiceType()
this.getTaxpayer() this.getTaxpayer()
this.repayPeriod() this.repayPeriod()
this.getProjectApprover()
}, },
methods: { methods: {
...@@ -560,11 +564,42 @@ export default { ...@@ -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) { selectTaxpayer (e) {
let vm = this let vm = this
console.log('vm.taxpayerList', vm.taxpayerList) console.log('vm.taxpayerList', vm.taxpayerList)
vm.hlsPopup.selectList({ vm.hlsPopup.selectList({
list: vm.taxpayerList, list: vm.approverBpList,
code: 'bp_type', code: 'bp_type',
object: {}, object: {},
returnItem: function (index, obj) { returnItem: function (index, obj) {
...@@ -598,7 +633,7 @@ export default { ...@@ -598,7 +633,7 @@ export default {
// ocr识别入口 // ocr识别入口
ocrShow (desc, id, code) { ocrShow (desc, id, code) {
let vm = this let vm = this
if(!id){ if (!id) {
hlsPopup.showLongCenter('请先保存基本信息') hlsPopup.showLongCenter('请先保存基本信息')
} }
hlsPopup.showActionSheet({ hlsPopup.showActionSheet({
...@@ -869,20 +904,20 @@ export default { ...@@ -869,20 +904,20 @@ export default {
let vm = this let vm = this
let url = $config.basePath + 'zm_prj_base_info_save' let url = $config.basePath + 'zm_prj_base_info_save'
let master = { 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.phone= window.localStorage.user_phone
// master.project_id=vm.project_id // master.project_id=vm.project_id
let param={ let param = {
master master,
} }
vm.hlsPopup.showLoading('请稍候') vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading()
if (res.result === 'S') { if (res.result === 'S') {
hlsPopup.showLongCenter('基本信息保存成功') hlsPopup.showLongCenter('基本信息保存成功')
vm.project_id=res.project_id vm.project_id = res.project_id
vm.getMiningLicenseList() vm.getMiningLicenseList()
vm.getFinancialStatementsList() vm.getFinancialStatementsList()
} else { } else {
...@@ -902,7 +937,7 @@ export default { ...@@ -902,7 +937,7 @@ export default {
vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading()
if (res.result === 'S') { if (res.result === 'S') {
vm.leaseList = res.lists vm.leaseList = res.lists
vm.downNum=false vm.downNum = false
} }
}) })
}, },
...@@ -934,7 +969,7 @@ export default { ...@@ -934,7 +969,7 @@ export default {
// 方案信息保存&更新接口 // 方案信息保存&更新接口
calculationSave () { calculationSave () {
let vm = this let vm = this
if(!vm.project_id){ if (!vm.project_id) {
hlsPopup.showLongCenter('请先保存基本信息') hlsPopup.showLongCenter('请先保存基本信息')
return return
} }
...@@ -959,7 +994,7 @@ export default { ...@@ -959,7 +994,7 @@ export default {
'lease_start_date': vm.quotationInfo.lease_start_date, 'lease_start_date': vm.quotationInfo.lease_start_date,
'int_rate': vm.quotationInfo.int_rate, 'int_rate': vm.quotationInfo.int_rate,
} }
let param={master} let param = {master}
vm.hlsPopup.showLoading('请稍候') vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading()
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<div class="pro-code" @click="goDetails(item)"> <div class="pro-code" @click="goDetails(item)">
<img src="@/assets/distributorSign/fileIcon.png" alt class="file-icon" > <img src="@/assets/distributorSign/fileIcon.png" alt class="file-icon" >
<p> <p>
<span>合同编号</span> <span>编号</span>
<span>{{ item.project_number }}</span> <span>{{ item.project_number }}</span>
</p> </p>
...@@ -57,17 +57,17 @@ ...@@ -57,17 +57,17 @@
<p>{{ item.bp_name }}</p> <p>{{ item.bp_name }}</p>
</div> </div>
<div> <div>
<p>合同名称</p> <p>名称</p>
<p>{{ item.project_name }}</p> <p>{{ item.project_name }}</p>
</div> </div>
<div> <div>
<p>合同租金</p> <p>租金</p>
<p class="money">{{ item.equip_price | currency }}</p> <p class="money">{{ item.equip_price | currency }}</p>
</div> </div>
<!-- <div> <!-- <div>
<!-- <p>产品名称</p>--> <!-- <p>产品名称</p>-->
<!-- <p>{{ item.division_n }}</p>--> <!-- <p>{{ item.division_n }}</p>-->
<!-- </div>--> <!-- </div>-->
<div> <div>
<p>申请时间</p> <p>申请时间</p>
......
...@@ -19,35 +19,44 @@ ...@@ -19,35 +19,44 @@
<img src="@/assets/functionCenter/in@2x.png" alt=""> <img src="@/assets/functionCenter/in@2x.png" alt="">
</div> </div>
</div> </div>
<!-- <div class="info-content">--> <div class="info-content">
<!-- <div class="add-name">--> <div class="add-name">
<!-- <img src="@/assets/functionCenter/todo@2x.png" alt="">--> <img src="@/assets/functionCenter/con-sign@2x.png" alt="">
<!-- <div class="name-title">待办审批</div>--> <div class="name-title">融租方案确认</div>
<!-- </div>--> </div>
<!-- <div class="add-content" @click="todoList()">--> <div class="add-content" @click="conSign">
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">--> <img src="@/assets/functionCenter/in@2x.png" alt="">
<!-- </div>--> </div>
<!-- </div>--> </div>
<!-- <div class="info-content">--> <!-- <div class="info-content">-->
<!-- <div class="add-name">--> <!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/todo@2x.png" alt="">--> <!-- <img src="@/assets/functionCenter/todo@2x.png" alt="">-->
<!-- <div class="name-title">产品查询</div>--> <!-- <div class="name-title">待办审批</div>-->
<!-- </div>--> <!-- </div>-->
<!-- <div class="add-content" @click="toproduct()">--> <!-- <div class="add-content" @click="todoList()">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">--> <!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>--> <!-- </div>-->
<!-- </div>--> <!-- </div>-->
<!-- <div class="info-content">--> <!-- <div class="info-content">-->
<!-- <div class="add-name">--> <!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/todo@2x.png" alt="">--> <!-- <img src="@/assets/functionCenter/todo@2x.png" alt="">-->
<!-- <div class="name-title">产品试算</div>--> <!-- <div class="name-title">产品查询</div>-->
<!-- </div>--> <!-- </div>-->
<!-- <div class="add-content" @click="financingTrial()">--> <!-- <div class="add-content" @click="toproduct()">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">--> <!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>--> <!-- </div>-->
<!-- </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>
<div class="fun-item-before" style="height: 200px"> <!-- <div class="fun-item-before" style="height: 200px">
<div class="userInfo"> 租中业务</div> <div class="userInfo"> 租中业务</div>
<div class="info-content"> <div class="info-content">
<div class="add-name"> <div class="add-name">
...@@ -57,16 +66,16 @@ ...@@ -57,16 +66,16 @@
<div class="add-content" @click="conSign"> <div class="add-content" @click="conSign">
<img src="@/assets/functionCenter/in@2x.png" alt=""> <img src="@/assets/functionCenter/in@2x.png" alt="">
</div> </div>
</div> </div> -->
<!-- <div class="info-content">--> <!-- <div class="info-content">-->
<!-- <div class="add-name">--> <!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/con-sign@2x.png" alt="">--> <!-- <img src="@/assets/functionCenter/con-sign@2x.png" alt="">-->
<!-- <div class="name-title">融租合同创建</div>--> <!-- <div class="name-title">融租合同创建</div>-->
<!-- </div>--> <!-- </div>-->
<!-- <div class="add-content" @click="goStart">--> <!-- <div class="add-content" @click="goStart">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">--> <!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>--> <!-- </div>-->
<!-- </div>--> <!-- </div>-->
<!-- <div class="info-content"> <!-- <div class="info-content">
<div class="add-name"> <div class="add-name">
<img src="@/assets/functionCenter/video@2x.png" alt="" > <img src="@/assets/functionCenter/video@2x.png" alt="" >
...@@ -76,65 +85,65 @@ ...@@ -76,65 +85,65 @@
<img src="@/assets/functionCenter/in@2x.png" alt="" > <img src="@/assets/functionCenter/in@2x.png" alt="" >
</div> </div>
</div> --> </div> -->
<!-- <div class="info-content">--> <!-- <div class="info-content">-->
<!-- <div class="add-name">--> <!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/car@2x.png" alt="">--> <!-- <img src="@/assets/functionCenter/car@2x.png" alt="">-->
<!-- <div class="name-title">合同签订</div>--> <!-- <div class="name-title">合同签订</div>-->
<!-- </div>--> <!-- </div>-->
<!-- <div class="add-content" @click="goCarConfirm">--> <!-- <div class="add-content" @click="goCarConfirm">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">--> <!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>--> <!-- </div>-->
<!-- </div>--> <!-- </div>-->
<!-- <div class="info-content">--> <!-- <div class="info-content">-->
<!-- <div class="add-name">--> <!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/payment@2x.png" alt="">--> <!-- <img src="@/assets/functionCenter/payment@2x.png" alt="">-->
<!-- <div class="name-title">首付还款</div>--> <!-- <div class="name-title">首付还款</div>-->
<!-- </div>--> <!-- </div>-->
<!-- <div class="add-content" @click="goReimburse">--> <!-- <div class="add-content" @click="goReimburse">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">--> <!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>--> <!-- </div>-->
<!-- </div>--> <!-- </div>-->
</div> <!-- </div> -->
<!-- <div class="fun-item-after">--> <!-- <div class="fun-item-after">-->
<!-- <div class="userInfo"> 租后业务</div>--> <!-- <div class="userInfo"> 租后业务</div>-->
<!-- <div class="info-content">--> <!-- <div class="info-content">-->
<!-- <div class="add-name">--> <!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/rent@2x.png" alt="">--> <!-- <img src="@/assets/functionCenter/rent@2x.png" alt="">-->
<!-- <div class="name-title">我的发票</div>--> <!-- <div class="name-title">我的发票</div>-->
<!-- </div>--> <!-- </div>-->
<!-- <div class="add-content" @click="goInvoice">--> <!-- <div class="add-content" @click="goInvoice">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">--> <!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>--> <!-- </div>-->
<!-- </div>--> <!-- </div>-->
<!-- <div class="info-content">--> <!-- <div class="info-content">-->
<!-- <div class="add-name">--> <!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/rent@2x.png" alt="">--> <!-- <img src="@/assets/functionCenter/rent@2x.png" alt="">-->
<!-- <div class="name-title">合同还款</div>--> <!-- <div class="name-title">合同还款</div>-->
<!-- </div>--> <!-- </div>-->
<!-- <div class="add-content" @click="goContractRepayment">--> <!-- <div class="add-content" @click="goContractRepayment">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">--> <!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>--> <!-- </div>-->
<!-- </div>--> <!-- </div>-->
<!-- <div class="info-content">--> <!-- <div class="info-content">-->
<!-- <div class="add-name">--> <!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/rent@2x.png" alt="">--> <!-- <img src="@/assets/functionCenter/rent@2x.png" alt="">-->
<!-- <div class="name-title">租金还款</div>--> <!-- <div class="name-title">租金还款</div>-->
<!-- </div>--> <!-- </div>-->
<!-- <div class="add-content" @click="changeRent">--> <!-- <div class="add-content" @click="changeRent">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">--> <!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>--> <!-- </div>-->
<!-- </div>--> <!-- </div>-->
<!-- <div class="info-content">--> <!-- <div class="info-content">-->
<!-- <div class="add-name">--> <!-- <div class="add-name">-->
<!-- <img src="@/assets/functionCenter/con-que@2x.png" alt="">--> <!-- <img src="@/assets/functionCenter/con-que@2x.png" alt="">-->
<!-- <div class="name-title">合同查询</div>--> <!-- <div class="name-title">合同查询</div>-->
<!-- </div>--> <!-- </div>-->
<!-- <div class="add-content" @click="changeContract('GUTA')">--> <!-- <div class="add-content" @click="changeContract('GUTA')">-->
<!-- <img src="@/assets/functionCenter/in@2x.png" alt="">--> <!-- <img src="@/assets/functionCenter/in@2x.png" alt="">-->
<!-- </div>--> <!-- </div>-->
<!-- </div>--> <!-- </div>-->
<!-- </div>--> <!-- </div>-->
</h-content> </h-content>
</h-view> </h-view>
</template> </template>
...@@ -234,18 +243,18 @@ export default { ...@@ -234,18 +243,18 @@ 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_status = obj.bp_status
let user_bp_class = obj.bp_class; let user_bp_class = obj.bp_class
let bp_id = obj.bp_id; let bp_id = obj.bp_id
let bp_identity = obj.bp_identity; let bp_identity = obj.bp_identity
let bp_type = obj.bp_type; let bp_type = obj.bp_type
let bp_name = obj.bp_name; 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') { if (user_bp_status === 'APPROVED') {
vm.flag = false vm.flag = false
...@@ -302,10 +311,10 @@ export default { ...@@ -302,10 +311,10 @@ export default {
// 融租方案确认 // 融租方案确认
conSign () { conSign () {
// .首付还款、租金还款、融租方案确认需对业务经理角色做控制,点击无法进入,提示“当前角色非承租人或担保人,无法使用该功能!” // .首付还款、租金还款、融租方案确认需对业务经理角色做控制,点击无法进入,提示“当前角色非承租人或担保人,无法使用该功能!”
/*if (this.user_bp_type === 'MANAGER') { /* if (this.user_bp_type === 'MANAGER') {
hlsPopup.showLongCenter('当前角色非承租人或担保人,无法使用该功能!') hlsPopup.showLongCenter('当前角色非承租人或担保人,无法使用该功能!')
return return
}*/ } */
if (this.bp_id) { if (this.bp_id) {
this.$router.push({ this.$router.push({
name: 'ContractSigning', name: 'ContractSigning',
......
...@@ -11,9 +11,10 @@ ...@@ -11,9 +11,10 @@
<p class="title">金融科技事业部</p> <p class="title">金融科技事业部</p>
<div class="Address"> <div class="Address">
<ul> <ul>
<li>地址:武汉市洪山区现代光谷世贸中心</li> <li>地址:北京市东城区环球贸易中心A座28层</li>
<li>邮编:430070</li> <li>电话:010-66232180</li>
<li>网址:https://www.hand-china.com/</li> <li>传真:010-66232190</li>
<li>网址:www.cctegfl.com</li>
</ul> </ul>
</div> </div>
<div class="RentCentral"> <div class="RentCentral">
......
...@@ -52,7 +52,7 @@ export default { ...@@ -52,7 +52,7 @@ export default {
data () { data () {
return { return {
phone_number: '', phone_number: '',
verifiedCode: '', verifiedCode: '123456',
username: '', username: '',
...@@ -162,7 +162,7 @@ export default { ...@@ -162,7 +162,7 @@ export default {
}, },
submit () { submit () {
let vm = this let vm = this
if (!vm.phoneNumberFlag) { if (!vm.phone_number) {
hlsPopup.showLongCenter('请输入手机号!') hlsPopup.showLongCenter('请输入手机号!')
} else if (vm.verifiedCode !== vm.captchaKey) { } else if (vm.verifiedCode !== vm.captchaKey) {
hlsPopup.showLongCenter('验证码错误!') 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