Commit 5a9391f4 authored by 李晓兵's avatar 李晓兵

'银行卡修改'

parent 43e77420
...@@ -291,7 +291,13 @@ ...@@ -291,7 +291,13 @@
style="height: 38%;" style="height: 38%;"
@click="ocrShow('bankCard', '')" @click="ocrShow('bankCard', '')"
> >
<img v-if="!bankImg && isApproved" src="@/assets/userBind/addBack.png" class="addBack" > <img
v-if="isClear && isApproved"
src="@/assets/userBind/addBack.png"
class="addBack"
@click="ocrShow('bankCard', '')"
>
<img v-if="!bankImg && isApproved && !isClear" src="@/assets/userBind/addBack.png" class="addBack" >
<list-item :item-height="44" class="card-Info"> <list-item :item-height="44" class="card-Info">
<item> <item>
<div slot="name">银行卡卡号</div> <div slot="name">银行卡卡号</div>
...@@ -317,7 +323,7 @@ ...@@ -317,7 +323,7 @@
</list-item> </list-item>
</div> </div>
</h-view> </h-view>
<bottom-tab v-if="!isApproved" class="add-box"> <bottom-tab v-if="!isApproved || (isClear && isApproved)" class="add-box">
<tab-button class="add-card" @click.native="addBankInfo">添加</tab-button> <tab-button class="add-card" @click.native="addBankInfo">添加</tab-button>
</bottom-tab> </bottom-tab>
</h-modal> </h-modal>
...@@ -402,6 +408,7 @@ export default { ...@@ -402,6 +408,7 @@ export default {
idCardCheck_id: '', // 身份证check_id idCardCheck_id: '', // 身份证check_id
idCardImgList: [], // 存身份证图片列表 idCardImgList: [], // 存身份证图片列表
idCardEditFlag: false, // 身份证修改标识,为true则标识已修改,后续需要重新上传此照片 idCardEditFlag: false, // 身份证修改标识,为true则标识已修改,后续需要重新上传此照片
isClear: false,
} }
}, },
watch: { watch: {
...@@ -1021,6 +1028,7 @@ export default { ...@@ -1021,6 +1028,7 @@ export default {
this.showModalValue = false this.showModalValue = false
}, },
getInfo (i, isClear) { getInfo (i, isClear) {
this.isClear = isClear
if (isClear) { if (isClear) {
this.bank = {} this.bank = {}
} }
......
...@@ -371,7 +371,13 @@ ...@@ -371,7 +371,13 @@
@click="ocrShow('bankCard', '')" @click="ocrShow('bankCard', '')"
> >
<img <img
v-if="!bankImg && isApproved" v-if="isClear && isApproved"
src="@/assets/userBind/addBack.png"
class="addBack"
@click="ocrShow('bankCard', '')"
>
<img
v-if="!bankImg && isApproved && !isClear"
src="@/assets/userBind/addBack.png" src="@/assets/userBind/addBack.png"
class="addBack" class="addBack"
> >
...@@ -405,7 +411,7 @@ ...@@ -405,7 +411,7 @@
</list-item> </list-item>
</div> </div>
</h-view> </h-view>
<bottom-tab v-if="!isApproved" class="add-box"> <bottom-tab v-if="!isApproved || (isClear && isApproved)" class="add-box">
<tab-button class="add-card" @click.native="addBankInfo">添加</tab-button> <tab-button class="add-card" @click.native="addBankInfo">添加</tab-button>
</bottom-tab> </bottom-tab>
</h-modal> </h-modal>
...@@ -513,6 +519,7 @@ export default { ...@@ -513,6 +519,7 @@ export default {
idCardEditFlag: false, // 身份证修改标识,为true则标识已修改,后续需要重新上传此照片 idCardEditFlag: false, // 身份证修改标识,为true则标识已修改,后续需要重新上传此照片
licenseEditFlag: false, // 营业执照照片修改标识,为true则标识已修改,后续需要重新上传此照片 licenseEditFlag: false, // 营业执照照片修改标识,为true则标识已修改,后续需要重新上传此照片
LaEditFlag: false, // 授权书图片修改标识,为true则标识已修改,后续需要重新上传此照片 LaEditFlag: false, // 授权书图片修改标识,为true则标识已修改,后续需要重新上传此照片
isClear: false,
} }
}, },
computed: {}, computed: {},
...@@ -962,6 +969,7 @@ export default { ...@@ -962,6 +969,7 @@ export default {
this.showModalValue = false this.showModalValue = false
}, },
getInfo (i, isClear) { getInfo (i, isClear) {
this.isClear = isClear
if (isClear) { if (isClear) {
this.bank_lists = {} this.bank_lists = {}
} }
......
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