Commit 3bcb43ba authored by linxin's avatar linxin

fix

parent e2bd73a1
...@@ -66,7 +66,9 @@ export default {} ...@@ -66,7 +66,9 @@ export default {}
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
font-size: 12px; font-size: 12px;
color: rgba(56, 63, 69, 0.6); color: rgba(56, 63, 69, 0.6);
margin-left: 160px; flex:6;
// margin-left: 160px;
// margin-right:-160px;
} }
} }
.arrow{ .arrow{
...@@ -80,10 +82,12 @@ export default {} ...@@ -80,10 +82,12 @@ export default {}
color: #00469c; color: #00469c;
font-weight: bold; font-weight: bold;
margin-left: 11px; margin-left: 11px;
flex:15;
} }
.icon { .icon {
width: 13px; width: 13px;
height: 15px; height: 15px;
flex:1;
} }
.message { .message {
font-family: PingFangSC-Regular; font-family: PingFangSC-Regular;
......
...@@ -255,7 +255,8 @@ ...@@ -255,7 +255,8 @@
<input slot="content" v-model="companyInfo.auth_flag" readonly > <input slot="content" v-model="companyInfo.auth_flag" readonly >
</item> </item>
</list-item> </list-item>
<div class="userInfo">法人授权信息</div> <div v-if="companyInfo.auth_flag === '否'" class="userInfo">法人代表信息</div>
<div v-if="companyInfo.auth_flag === '是'" class="userInfo">法人授权信息</div>
<list-item v-if="companyInfo.auth_flag === '是'" :item-height="44"> <list-item v-if="companyInfo.auth_flag === '是'" :item-height="44">
<item> <item>
<div slot="name">姓名</div> <div slot="name">姓名</div>
......
...@@ -91,20 +91,30 @@ export default { ...@@ -91,20 +91,30 @@ export default {
user_bp_class: '', user_bp_class: '',
bp_id: '', bp_id: '',
user_phone: '', user_phone: '',
show: false, // show: false,
} }
}, },
watch: {
'user_bp_status' (newVal, oulVal) {
if (newVal === 'APPROVED') {
this.flag = false
} else {
this.flag = true
}
},
},
created () { created () {
if (this.user_phone) { if (this.user_bp_status === 'APPROVED') {
this.show = false this.flag = false
} else { } else {
this.show = true this.flag = true
} }
}, },
beforeRouteEnter (to, from, next) { beforeRouteEnter (to, from, next) {
next(vm => { next(vm => {
vm.userQuery() vm.userQuery()
}) })
next()
}, },
activated () {}, activated () {},
methods: { methods: {
...@@ -185,13 +195,15 @@ export default { ...@@ -185,13 +195,15 @@ export default {
.then(function (res) { .then(function (res) {
vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading()
if (res.result === 'S') { if (res.result === 'S') {
debugger vm.hlsPopup.showLongCenter('解绑成功')
this.hlsPopup.showLongCenter('解绑成功') vm.userQuery()
this.flag = true vm.flag = true
} else {
vm.hlsPopup.showLongCenter(res.message)
} }
}) })
.catch(() => { .catch(() => {
this.hlsPopup.showLongCenter('传入参数异常') vm.hlsPopup.showLongCenter('传入参数异常')
}) })
} }
}, },
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</div> </div>
</div> </div>
<h-content class="pay-content"> <h-content class="pay-content">
<section v-for="(item,index) in lists" :key="index" class="contract-item"> <section v-for="(item,index) in 2" :key="index" class="contract-item">
<div class="header"> <div class="header">
<img src="@/assets/payment/contract.png" alt=""> <img src="@/assets/payment/contract.png" alt="">
<p>合同号 &nbsp; {{ item.project_number }}</p> <p>合同号 &nbsp; {{ item.project_number }}</p>
...@@ -41,6 +41,18 @@ ...@@ -41,6 +41,18 @@
<p>900.00</p> <p>900.00</p>
<input type="text" placeholder="请输入还款金额"> <input type="text" placeholder="请输入还款金额">
</div> </div>
<div class="list">
<span>保险押金</span>
<div>10,000.00</div>
<p>8,000.00</p>
<input type="text" placeholder="请输入还款金额">
</div>
<div class="list">
<span>GPS费用</span>
<div>10,000.00</div>
<p>8,000.00</p>
<input type="text" placeholder="请输入还款金额">
</div>
</div> </div>
</section> </section>
</h-content> </h-content>
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
</div> </div>
<div class="list"> <div class="list">
<div><span>车牌号</span> <span>98765556</span> </div> <div><span>车牌号</span> <span>98765556</span> </div>
<div><span>本次还款</span><section><input type="text" placeholder="请输入还款金额"></section></div> <div><span>本次还款</span><section><input v-model="reFund1" type="text" placeholder="请输入还款金额"></section></div>
</div> </div>
</div> </div>
<div class="item"> <div class="item">
...@@ -88,6 +88,8 @@ export default { ...@@ -88,6 +88,8 @@ export default {
data () { data () {
return { return {
money: '', money: '',
reFund1: '',
reFund2: '',
} }
}, },
computed: {}, computed: {},
......
...@@ -395,7 +395,7 @@ export default { ...@@ -395,7 +395,7 @@ export default {
this.getBpType() this.getBpType()
this.getEducationBackground() this.getEducationBackground()
this.getMarital() this.getMarital()
this.getBankInfo() // this.getBankInfo()
this.getProvince() this.getProvince()
if (this.$route.params.status === 'APPROVED') { if (this.$route.params.status === 'APPROVED') {
this.isApproved = true this.isApproved = true
...@@ -407,6 +407,7 @@ export default { ...@@ -407,6 +407,7 @@ export default {
vm.basicInfoQuery() vm.basicInfoQuery()
vm.loadItemList()// 附件查询 vm.loadItemList()// 附件查询
vm.from = true vm.from = true
vm.getBankInfo()
}) })
} }
next() next()
...@@ -426,6 +427,7 @@ export default { ...@@ -426,6 +427,7 @@ export default {
vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading()
if (res.result === 'S') { if (res.result === 'S') {
Object.assign(vm.baseInfo, res.info) Object.assign(vm.baseInfo, res.info)
vm.from = true
} else { } else {
hlsPopup.showLongCenter(res.message) hlsPopup.showLongCenter(res.message)
} }
...@@ -874,10 +876,11 @@ export default { ...@@ -874,10 +876,11 @@ export default {
}, },
getBankInfo () { getBankInfo () {
let vm = this let vm = this
let bpId = window.localStorage.getItem('user_id') // let bpId = window.localStorage.getItem('user_id')
let id = vm.from ? vm.$route.params.bp_id : window.localStorage.getItem('user_id')
let url = process.env.basePath + 'bp_bank_query' let url = process.env.basePath + 'bp_bank_query'
let param = { let param = {
bp_id: bpId, bp_id: id,
} }
vm.hlsPopup.showLoading('请稍候') vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp vm.hlsHttp
......
...@@ -328,8 +328,8 @@ ...@@ -328,8 +328,8 @@
/> />
</h-content> </h-content>
<bottom-tab class="footer-button"> <bottom-tab class="footer-button">
<tab-button :class="[isApproved?'put-approved':'put']" @click.native="handSubmit">提交</tab-button> <tab-button class="put" @click.native="handSubmit">提交</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"> <h-modal ref="modal" v-model="showModalValue" position="bottom">
<h-view> <h-view>
......
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