Commit 932528b4 authored by linxin's avatar linxin

add

parents a2703204 24f059be
......@@ -104,6 +104,10 @@
<div slot="name" class="font-color">手续费</div>
<span slot="content">{{ info.lease_charge|NumFormat }}</span>
</item>
<item>
<div slot="name">首次付款合计</div>
<span slot="content">{{ info.first_pay|NumFormat }}</span>
</item>
<item>
<div slot="name" class="font-color">预计付款日</div>
<span slot="content">{{ dateConverse(info.lease_start_date) }}</span>
......
......@@ -15,8 +15,8 @@
</div>
</h-header>
<div class="top-content">
<span class="top-tittle">融资额(元)</span>
<span class="num">{{ info.finance_amount|NumFormat }}</span>
<span class="top-tittle">总租金</span>
<span class="num">{{ info.total_rental_sum|NumFormat }}</span>
<div class="top-detail">
<div class="left">
<span class="line">保证金</span>
......
......@@ -185,6 +185,18 @@
</div>
</item>
</list-item>
<div class="bottom-call">
<div class="left">
<img src="@/assets/distributorSign/call.png" alt="">
</div>
<div class="center">
<p>业务经办:{{ bp_user_id_n }}</p>
<p>联系电话:{{ cell_phone }}</p>
</div>
<div class="right1" @click="callUp">
<img src="@/assets/distributorSign/calls.png" alt="">
</div>
</div>
<div class="alert">
<div class="alert-content">
<div class="title">
......@@ -299,6 +311,18 @@
</div>
</item>
</list-item>
<div class="bottom-call">
<div class="left">
<img src="@/assets/distributorSign/call.png" alt="">
</div>
<div class="center">
<p>业务经办:{{ bp_user_id_n }}</p>
<p>联系电话:{{ cell_phone }}</p>
</div>
<div class="right1" @click="callUp">
<img src="@/assets/distributorSign/calls.png" alt="">
</div>
</div>
<div class="alert">
<div class="alert-content">
<div class="title">
......@@ -377,6 +401,8 @@ export default {
accInfo: [],
check_id: '',
idCard_check_id: '',
bp_user_id_n: '',
cell_phone: '',
personInfo: {
bp_name_sp: '',
id_card_no: '',
......@@ -438,6 +464,9 @@ export default {
this.isConfirm = this.$route.params.isConfirm
},
methods: {
callUp () {
this.hlsPopup.showSuccess('打电话')
},
getTabNum (i) {
this.tabNum = i
},
......@@ -465,6 +494,8 @@ export default {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
Object.assign(vm.personInfo, res.info)
vm.bp_user_id_n = res.info.bp_user_id_n
vm.cell_phone = res.info.cell_phone
}
})
},
......@@ -479,6 +510,8 @@ export default {
vm.hlsPopup.hideLoading()
if (res.result === 'S') {
Object.assign(vm.companyInfo, res.info)
vm.bp_user_id_n = res.info.bp_user_id_n
vm.cell_phone = res.info.cell_phone
}
})
},
......@@ -584,6 +617,44 @@ export default {
input::placeholder {
color: #b4b4b5;
}
.bottom-call {
width: 100%;
height: 60px;
display: flex;
flex-direction: row;
margin-bottom: 10px;
.left {
width: 16%;
height: 60px;
background: rgba(0,70,156,0.03);
display: flex;
justify-content: center;
align-items: center
}
.center {
height: 100%;
width: 66%;
margin-left: 2px;
background: rgba(0,70,156,0.03);
p {
height: 30px;
line-height: 30px;
margin-left: 10px;
font-family: PingFangSC-Regular;
font-size: 14px;
color: #656464;
letter-spacing: 0.43px;
}
}
.right1 {
height: 100%;
width: 16%;
background: rgba(0,70,156,0.20);
display: flex;
justify-content: center;
align-items: center
}
}
.header {
background-color: #00469c;
color: #fff;
......
......@@ -16,8 +16,8 @@
</h-header>
<img v-if="none" class="noData" src="@/assets/intoApproval/none.jpg" >
<div v-if="dataNone" class="top-content">
<span class="top-tittle">融资额(元)</span>
<span class="num">{{ info.finance_amount|NumFormat }}</span>
<span class="top-tittle">总租金</span>
<span class="num">{{ info.total_rental_sum|NumFormat }}</span>
<div class="top-detail">
<div class="left">
<span class="line">保证金</span>
......
......@@ -40,6 +40,10 @@
<div slot="name">手续费</div>
<span slot="content">{{ rentInfo.lease_charge|NumFormat }}</span>
</item>
<item>
<div slot="name">首次付款合计</div>
<span slot="content">{{ rentInfo.first_pay|NumFormat }}</span>
</item>
<item>
<div slot="name">预计付款日</div>
<span slot="content">{{ rentInfo.lease_start_date|timeFormat }}</span>
......
......@@ -18,11 +18,11 @@
<img src="@/assets/myInfo/car.png" >
<p>发车申请</p>
</div>
<div>
<div @click="changePay">
<img src="@/assets/myInfo/pay.png" >
<p>首付还款</p>
</div>
<div>
<div @click="changeRent">
<img src="@/assets/myInfo/refund.png" >
<p>租金还款</p>
</div>
......@@ -72,9 +72,11 @@
<div slot="name">关于徐工</div>
</item>
<item @click.native="updateVersion">
<img slot="left-icon" src="@/assets/myInfo/refresh.png" class="left-icon" >
<div slot="name">检查更新</div>
</item>
<item @click.native="logOut">
<img slot="left-icon" src="@/assets/myInfo/exit.png" class="left-icon" >
<div slot="name">退出登录</div>
</item>
<button v-if="flag" @click="changePageHead">用户绑定</button>
......@@ -92,6 +94,14 @@ export default {
user_bp_class: '',
bp_id: '',
user_phone: '',
show: false,
}
},
created () {
if (this.user_phone) {
this.show = false
} else {
this.show = true
}
},
beforeRouteEnter (to, from, next) {
......@@ -101,6 +111,16 @@ export default {
},
activated () {},
methods: {
changePay () {
this.$router.push({
name: 'FirstPay',
})
},
changeRent () {
this.$router.push({
name: 'PaymentFirstPay',
})
},
updateVersion () {
if (vum.Platform.isAndroid()) {
this.hote_update_version(
......
......@@ -27,7 +27,7 @@
<span>首付款</span>
<div>300,000.00</div>
<p>90,000.00</p>
<input v-model="first_pay" type="text" placeholder="请输入还款金额">
<input type="text" placeholder="请输入还款金额">
</div>
<div class="list">
<span>保证金</span>
......@@ -70,6 +70,7 @@ export default {
return {
money: '',
first_pay: '',
a: '123',
}
},
computed: {},
......
......@@ -222,8 +222,8 @@
/>
</h-content>
<bottom-tab class="footer-button">
<tab-button :class="[isApproved?'put-approved':'put']" @click.native="putData">提交</tab-button>
<tab-button v-if="!isApproved" class="save" @click.native="verified">保存</tab-button>
<tab-button class="put" @click.native="putData">提交</tab-button>
<tab-button class="save" @click.native="verified">保存</tab-button>
</bottom-tab>
<h-modal ref="modal" v-model="showModalValue" position="bottom" cus-class="sign-modal">
<h-view>
......@@ -431,7 +431,7 @@ export default {
}
})
},
load_picture(check_id){
load_picture (check_id) {
debugger
let vm = this
let url = process.env.basePath + 'attachment_list_query'
......@@ -443,7 +443,7 @@ export default {
vm.hlsPopup.hideLoading()
console.log('%%%%%%%%%%%%' + res)
if (res.result === 'S') {
console.log('**********' + res.lists)
console.log('**********' + res.lists)
} else {
hlsPopup.showLongCenter(res.message)
}
......@@ -540,7 +540,7 @@ export default {
}
},
// 图片上传入口
imgUploadShow(check_id){
imgUploadShow (check_id) {
let vm = this
hlsPopup.showActionSheet({
titleText: '请选择照片',
......@@ -554,7 +554,7 @@ export default {
},
})
},
imgUploadOpenCamera(check_id){
imgUploadOpenCamera (check_id) {
let vm = this
let obj = {
'pkvalue': check_id,
......@@ -562,7 +562,7 @@ export default {
'picture': '',
'filePath': '',
'attachment_id': '',
'user_id':1
'user_id': 1,
}
let cameraoptions = {
quality: 100,
......@@ -580,7 +580,7 @@ export default {
}
hlsUtil.openCamera(cameraoptions, success, error)
},
imgUploadTakePicture(check_id){
imgUploadTakePicture (check_id) {
let vm = this
let cameraoptions = {
quality: 100,
......@@ -593,7 +593,7 @@ export default {
'picture': '',
'filePath': '',
'attachment_id': '',
'user_id':1
'user_id': 1,
}
obj.picture = imgUrl[i]
obj.filePath = imgUrl[i]
......@@ -609,7 +609,7 @@ export default {
},
// 图片保存
save_picture (list) {
alert('图片待上传数组 ' + JSON.stringify(list))
alert('图片待上传数组 ' + JSON.stringify(list))
let vm = this
if (list.length) {
// hlsPopup.showLoading('图片上传请稍候')
......@@ -625,7 +625,7 @@ export default {
for (var i = 0; i < list.length; i++) {
let uploadSuccess = function (res) {
if (res.result === 'S') {
alert('返回结果 '+ JSON.stringify(res.response))
alert('返回结果 ' + JSON.stringify(res.response))
alreadyUploadNum++
for (var j = 0; j < list.length; j++) {
if (list[j].filePath === res.response.filePath) {
......
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