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" > <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>
...@@ -56,18 +56,18 @@ ...@@ -56,18 +56,18 @@
<p>承租人</p> <p>承租人</p>
<p>{{ item.bp_name }}</p> <p>{{ item.bp_name }}</p>
</div> </div>
<div>
<p>合同名称</p>
<p>{{ item.project_name }}</p>
</div>
<div> <div>
<p>合同租金</p> <p>名称</p>
<p>{{ item.project_name }}</p>
</div>
<div>
<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>
......
This diff is collapsed.
...@@ -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