Commit 7a658d08 authored by 786817560's avatar 786817560

'提代码'

parent 35a3df92
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-09-29 10:02:11 * @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-11-07 10:11:20 * @LastEditTime: 2019-11-08 10:41:41
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
--> -->
...@@ -304,6 +304,7 @@ export default { ...@@ -304,6 +304,7 @@ export default {
conditionInfo: {}, conditionInfo: {},
check1: Check1, check1: Check1,
confirm_note: '', confirm_note: '',
user_bp_type: '', // 客户类型
ischecked: false, ischecked: false,
check2: Check2, check2: Check2,
check3: Check3, check3: Check3,
...@@ -340,6 +341,7 @@ export default { ...@@ -340,6 +341,7 @@ export default {
vm.isConfirm = false vm.isConfirm = false
vm.ischecked = false vm.ischecked = false
vm.bp_name = vm.$route.params.item.bp_name vm.bp_name = vm.$route.params.item.bp_name
vm.user_bp_type = vm.$route.params.user_bp_type
vm.project_id = vm.$route.params.item.project_id vm.project_id = vm.$route.params.item.project_id
vm.confirm_id = vm.$route.params.item.confirm_id vm.confirm_id = vm.$route.params.item.confirm_id
vm.con_confirm_status = vm.$route.params.item.confirm_status vm.con_confirm_status = vm.$route.params.item.confirm_status
...@@ -501,6 +503,7 @@ export default { ...@@ -501,6 +503,7 @@ export default {
project_id: this.project_id, project_id: this.project_id,
confirm_status: this.con_confirm_status, confirm_status: this.con_confirm_status,
entry_info_flag: this.entry_info_flag, entry_info_flag: this.entry_info_flag,
user_bp_type: this.user_bp_type,
}, },
}) })
}, },
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-10-30 19:29:24 * @Date: 2019-10-30 19:29:24
* @LastEditTime: 2019-11-07 17:12:00 * @LastEditTime: 2019-11-08 09:13:12
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
--> -->
<template> <template>
<h-view id="repay-plan" class="public-style"> <h-view id="repay-pland" class="public-style">
<h-header :proportion="[5,1,1]" class="bar-custom"> <h-header :proportion="[5,1,1]" class="bar-custom">
<div slot="left" class="h-header-btn"> <div slot="left" class="h-header-btn">
<img src="@/assets/userBind/arrow.png" @click="$routeGo()"> <img src="@/assets/userBind/arrow.png" @click="$routeGo()">
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<span>{{ dateConverse(item.due_date).substr(5,10) }}</span> <span>{{ dateConverse(item.due_date).substr(5,10) }}</span>
</div> </div>
<div class="name"> <div class="name">
<p>现金流项目</p> <p>款项</p>
<p>应还金额</p> <p>应还金额</p>
</div> </div>
<div class="number"> <div class="number">
...@@ -166,7 +166,7 @@ export default { ...@@ -166,7 +166,7 @@ export default {
} }
</script> </script>
<style lang='less' > <style lang='less' >
#repay-plan { #repay-pland {
.h-header { .h-header {
background-color: #1D3FFF; background-color: #1D3FFF;
.h-header-btn { .h-header-btn {
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-09-29 10:02:11 * @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-11-06 19:18:42 * @LastEditTime: 2019-11-08 10:42:48
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
--> -->
...@@ -88,6 +88,7 @@ export default { ...@@ -88,6 +88,7 @@ export default {
check2: Check2, check2: Check2,
uncheck1: unCheck1, uncheck1: unCheck1,
uncheck2: unCheck2, uncheck2: unCheck2,
user_bp_type: '', // 客户类型
submitLists: [], // 待签约 submitLists: [], // 待签约
approvedLists: [], // 已签约 approvedLists: [], // 已签约
} }
...@@ -99,11 +100,12 @@ export default { ...@@ -99,11 +100,12 @@ export default {
}, },
beforeRouteEnter (to, from, next) { beforeRouteEnter (to, from, next) {
// if (from.name === 'MyInfo') {
next(vm => { next(vm => {
if (from.name === 'MyInfo') {
vm.user_bp_type = vm.$route.params.user_bp_type
}
vm.contractList() vm.contractList()
}) })
// }
// next() // next()
}, },
methods: { methods: {
...@@ -134,6 +136,7 @@ export default { ...@@ -134,6 +136,7 @@ export default {
name: 'ContractDetail', name: 'ContractDetail',
params: { params: {
item: item, item: item,
user_bp_type: this.user_bp_type,
}, },
}) })
}, },
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2019-09-29 10:02:11 * @Date: 2019-09-29 10:02:11
* @LastEditTime: 2019-11-07 10:12:55 * @LastEditTime: 2019-11-08 10:49:33
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
--> -->
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
<div class="info-header"> <div class="info-header">
<p>请上传银行卡照片</p> <p>请上传银行卡照片</p>
<div v-if="!bankImg" class="bank-pic"> <div v-if="!bankImg" class="bank-pic">
<img src="@/assets/constractSigning/bank.png" alt="" @click="confirm_status !== 'APPROVED'?ocrShow():''"> <img src="@/assets/constractSigning/bank.png" alt="" @click="confirm_status !== 'APPROVED' && user_bp_type !== 'GUTA' ? ocrShow() : ''">
</div> </div>
<div v-if="bankImg" class="bank-pic2"> <div v-if="bankImg" class="bank-pic2">
<img :src="bankImg" alt="" @click="ocrShow()"> <img :src="bankImg" alt="" @click="ocrShow()">
...@@ -47,14 +47,15 @@ ...@@ -47,14 +47,15 @@
</item> </item>
<item> <item>
<div slot="name" >支行名称</div> <div slot="name" >支行名称</div>
<input slot="content" v-model="bank_lists[0].bank_branch_name" type="text" placeholder="请输入支行名称"> <input v-if="user_bp_type !== 'GUTA' && confirm_status !== 'APPROVED'" slot="content" v-model="bank_lists[0].bank_branch_name" type="text" placeholder="请输入支行名称">
<input v-if="user_bp_type === 'GUTA' || confirm_status === 'APPROVED'" slot="content" v-model="bank_lists[0].bank_branch_name" readonly type="text" placeholder="请输入支行名称">
</item> </item>
</list-item> </list-item>
</div> </div>
</h-content> </h-content>
<bottom-tab v-if="confirm_status !== 'APPROVED'"> <bottom-tab v-if="confirm_status !== 'APPROVED' && user_bp_type !== 'GUTA'">
<tab-button class="footer" @click.native="cardAdd"> <tab-button class="footer" @click.native="cardAdd">
保存 保存
</tab-button> </tab-button>
...@@ -77,11 +78,13 @@ export default { ...@@ -77,11 +78,13 @@ export default {
num: 1, num: 1,
bankImg: '', // 银行卡图片 bankImg: '', // 银行卡图片
project_id: '', project_id: '',
user_bp_type: '', // 客户类型
check1: Check1, check1: Check1,
check2: Check2, check2: Check2,
uncheck1: unCheck1, uncheck1: unCheck1,
uncheck2: unCheck2, uncheck2: unCheck2,
bank_card_flag: false, bank_card_flag: false,
readyonlf_flag: false, // 支行是否可输入
confirm_status: '', confirm_status: '',
res: '', res: '',
name: '', name: '',
...@@ -98,6 +101,8 @@ export default { ...@@ -98,6 +101,8 @@ export default {
computed: {}, computed: {},
watch: {}, watch: {},
activated () { activated () {
console.log('................',this.$route.params.user_bp_type)
this.user_bp_type = this.$route.params.user_bp_type
this.name = this.$route.params.name this.name = this.$route.params.name
this.confirm_status = this.$route.params.confirm_status this.confirm_status = this.$route.params.confirm_status
// || !this.$route.params.entry_info_flag // || !this.$route.params.entry_info_flag
...@@ -233,6 +238,7 @@ export default { ...@@ -233,6 +238,7 @@ export default {
vm.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
if (res.result === 'S') { if (res.result === 'S') {
if (res.info.bank_full_name !== ' ') { if (res.info.bank_full_name !== ' ') {
vm.readyonlf_flag = true
vm.bank_lists = [res.info] vm.bank_lists = [res.info]
} else { } else {
vm.bank_lists[0].bank_account_name = vm.$route.params.bp_name vm.bank_lists[0].bank_account_name = vm.$route.params.bp_name
......
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