Commit 2efe1da6 authored by 李晓兵's avatar 李晓兵

'附件上传'

parents 6a11cdd1 932528b4
...@@ -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: {},
......
...@@ -228,8 +228,8 @@ ...@@ -228,8 +228,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>
...@@ -451,7 +451,6 @@ export default { ...@@ -451,7 +451,6 @@ export default {
item['url'] = process.env.filePath + 'attachment_id=' + item.attachment_id + '&access_token=' + window.localStorage.access_token item['url'] = process.env.filePath + 'attachment_id=' + item.attachment_id + '&access_token=' + window.localStorage.access_token
}) })
vm.dowload_list.push(res.lists) vm.dowload_list.push(res.lists)
console.log(JSON.stringify(vm.dowload_list))
} else { } else {
hlsPopup.showLongCenter(res.message) hlsPopup.showLongCenter(res.message)
} }
......
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