|
|
@ -16,6 +16,13 @@ |
|
|
|
{{bankInfo.auditStatus=='apply'?i18n.apply:bankInfo.auditStatus=='agree'?i18n.agree:i18n.reject}} |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="title" v-if="bankInfo.auditStatus=='reject'">{{ i18n.Reasonforrejection }}</view> |
|
|
|
<view class="" style="word-break: break-all;margin-bottom: 20rpx;" v-if="bankInfo.auditStatus=='reject'"> |
|
|
|
{{bankInfo.auditReason}} |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="title">{{ i18n.FirstName }}</view> |
|
|
|
<view class="input-item"> |
|
|
|
<u-form-item class="input-item" prop="name" ref="item1"> |
|
|
@ -45,10 +52,7 @@ |
|
|
|
</u-upload> |
|
|
|
|
|
|
|
|
|
|
|
<view class="title" style="margin-top: 20rpx;" v-if="bankInfo.auditStatus=='reject'">{{ i18n.infoStatus }}</view> |
|
|
|
<view class="" style="word-break: break-all;" v-if="bankInfo.auditStatus=='reject'"> |
|
|
|
{{bankInfo.auditReason}} |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
@ -57,7 +61,7 @@ |
|
|
|
|
|
|
|
</u--form> |
|
|
|
|
|
|
|
<u-button class="button" color="#00E8A2" :throttleTime="500" :disabled="btnIsCanClick" @click="bank" v-if="!hideButton"> |
|
|
|
<u-button class="button" color="#00E8A2" :throttleTime="500" @click="bank" v-if="!hideButton"> |
|
|
|
{{ i18n.Confirm }} |
|
|
|
</u-button> |
|
|
|
</view> |
|
|
@ -108,7 +112,7 @@ |
|
|
|
return this.$t("withdrawal"); |
|
|
|
}, |
|
|
|
btnIsCanClick() { |
|
|
|
if (this.bankInfo.name && this.bankInfo.certId && this.bankInfo.certFrontImgPath) { |
|
|
|
if (this.bankInfo.name && this.bankInfo.certId) { |
|
|
|
return false |
|
|
|
} else { |
|
|
|
return true |
|
|
@ -231,14 +235,12 @@ |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|
getInfo(){ |
|
|
|
api.certificationInfo().then(res => { |
|
|
|
this.bankInfo=res |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 修改或添加实名信息 |
|
|
|
bank() { |
|
|
|
|
|
|
|
if(!this.bankInfo.certFrontImgPath){ |
|
|
|
uni.$u.toast(this.$t("withdrawal").enterIdCard) |
|
|
|
return; |
|
|
|
} |
|
|
|
this.$refs.uForm.validate().then(res => { |
|
|
|
let bankInfo = { |
|
|
|
name: this.bankInfo.name, |
|
|
@ -247,7 +249,7 @@ |
|
|
|
} |
|
|
|
api.certification(bankInfo).then(res => { |
|
|
|
uni.$u.toast(this.$t("me").addSuccessfully) |
|
|
|
this.getInfo() |
|
|
|
this.getBank() |
|
|
|
|
|
|
|
}) |
|
|
|
}).catch(errors => { |
|
|
|