Commit 24f059be authored by linxin's avatar linxin

增加字段

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