|
|
@@ -34,7 +34,17 @@
|
|
|
</view>
|
|
|
|
|
|
<view style="margin-top:59upx" class="padding-lr margin-lr-sm">
|
|
|
- <view class="flex justify-between margin-bottom-xl" v-for="(item,index) in openLists" :key="index">
|
|
|
+ <view class="yinghang">提现银行卡信息</view>
|
|
|
+ <view style="color:#333333;text-align: left;">
|
|
|
+ 银行卡号:<text class="yinghang2">{{yingNo}}</text>
|
|
|
+ </view>
|
|
|
+ <view style="color:#333333;text-align: left;">
|
|
|
+ 开户行:<text class="yinghang2">{{yingName}}</text>
|
|
|
+ </view>
|
|
|
+ <view style="color:#333333;text-align: left;">
|
|
|
+ 开户人姓名:<text class="yinghang2">{{yingPeople}}</text>
|
|
|
+ </view>
|
|
|
+ <!-- <view class="flex justify-between margin-bottom-xl" v-for="(item,index) in openLists" :key="index">
|
|
|
<view class="flex align-center">
|
|
|
<image :src="item.image" style="width:23px;height:20px"></image>
|
|
|
<text class="text-lg margin-left-sm" style="color:#333333;font-weight:700;">{{item.text}}</text>
|
|
|
@@ -46,7 +56,7 @@
|
|
|
</label>
|
|
|
</radio-group>
|
|
|
</view>
|
|
|
- </view>
|
|
|
+ </view> -->
|
|
|
</view>
|
|
|
|
|
|
<view @click="getOut()"
|
|
|
@@ -55,12 +65,12 @@
|
|
|
</view>
|
|
|
|
|
|
<view style="display: flex;width: 100%;justify-content: center;">
|
|
|
- <view style="color: grey;padding-bottom: 30px;padding-top: 20upx;flex: 1;" @click="goZhifuBao">提现账号
|
|
|
- </view>
|
|
|
+ <!-- <view style="color: grey;padding-bottom: 30px;padding-top: 20upx;flex: 1;" @click="goZhifuBao">提现账号
|
|
|
+ </view> -->
|
|
|
<view style="color: grey;padding-bottom: 30px;padding-top: 20upx;flex: 1;" @click="goqianbao">钱包明细
|
|
|
</view>
|
|
|
- <view style="color: grey;padding-bottom: 30px;padding-top: 20upx;flex: 1;" @click="isShow">微信收款码
|
|
|
- </view>
|
|
|
+ <!-- <view style="color: grey;padding-bottom: 30px;padding-top: 20upx;flex: 1;" @click="isShow">微信收款码
|
|
|
+ </view> -->
|
|
|
<view style="color: grey;padding-bottom: 30px;padding-top: 20upx;flex: 1;" @click="gojilu">提现记录
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -130,11 +140,16 @@
|
|
|
openLists: [],
|
|
|
openWay: 1,
|
|
|
values: '',
|
|
|
- wximg: ''
|
|
|
+ wximg: '',
|
|
|
+ yingName:'',
|
|
|
+ yingNo:'',
|
|
|
+ yingPeople:'',
|
|
|
+
|
|
|
};
|
|
|
},
|
|
|
onLoad() {
|
|
|
this.getUserInfo()
|
|
|
+ this.getyinghanglist()
|
|
|
this.$Request.getT('/common/type/290').then(res => { //判断微信提现方式
|
|
|
if (res.code == 0) {
|
|
|
if (res.data && res.data.value) {
|
|
|
@@ -165,6 +180,7 @@
|
|
|
onShow: function(e) {
|
|
|
this.getwalletMoney();
|
|
|
this.getUserInfo()
|
|
|
+ this.getyinghanglist()
|
|
|
|
|
|
|
|
|
},
|
|
|
@@ -172,6 +188,26 @@
|
|
|
this.list();
|
|
|
},
|
|
|
methods: {
|
|
|
+ //获取商户银行信息
|
|
|
+ getyinghanglist(){
|
|
|
+ let data = {
|
|
|
+ userId: this.$queue.getData('userId')
|
|
|
+ }
|
|
|
+ this.$Request.getA('/admin/shop/bank/get-by-user',
|
|
|
+ data).then(
|
|
|
+ res => {
|
|
|
+ if (res.msg == 'success') {
|
|
|
+ this.yingName=res.data.openBank
|
|
|
+ this.yingNo=res.data.cardNo
|
|
|
+ this.yingPeople=res.data.realName
|
|
|
+ }else if(res.msg=='shopId对应的银行卡记录不存在'){
|
|
|
+ uni.showToast({
|
|
|
+ icon: 'none',
|
|
|
+ title: '银行信息不完整无法提现'
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
//用户收款码弹框
|
|
|
isShow() {
|
|
|
this.getUserInfo()
|
|
|
@@ -290,7 +326,7 @@
|
|
|
that.$queue.showLoading("提现中...");
|
|
|
let data = {
|
|
|
money: that.moneys,
|
|
|
- classify: '1'
|
|
|
+ // classify: '1'
|
|
|
}
|
|
|
that.$Request.getT('/shop/shopmoney/shopCashMoney', data).then(
|
|
|
res => {
|
|
|
@@ -353,7 +389,7 @@
|
|
|
that.$queue.showLoading('提现中...');
|
|
|
let data = {
|
|
|
money: that.moneys,
|
|
|
- classify: 2
|
|
|
+ // classify: 2
|
|
|
}
|
|
|
that.$Request.getT('/shop/shopmoney/shopCashMoney',
|
|
|
data).then(
|
|
|
@@ -409,7 +445,7 @@
|
|
|
that.$queue.showLoading('提现中...');
|
|
|
let data = {
|
|
|
money: that.moneys,
|
|
|
- classify: 2
|
|
|
+ // classify: 2
|
|
|
}
|
|
|
that.$Request.getT('/shop/shopmoney/shopCashMoney', data).then(
|
|
|
res => {
|
|
|
@@ -478,5 +514,19 @@
|
|
|
color: #ffffff;
|
|
|
margin-bottom: 10px;
|
|
|
}
|
|
|
+ // 提现银行卡信息
|
|
|
+ .yinghang{
|
|
|
+ height: 80rpx;
|
|
|
+ line-height: 80rpx;
|
|
|
+ font-size: 36rpx;
|
|
|
+ font-weight: 700;
|
|
|
+ text-align: left;
|
|
|
+ }
|
|
|
+ .yinghang2{
|
|
|
+ height: 80rpx;
|
|
|
+ line-height: 80rpx;
|
|
|
+ font-size: 36rpx;
|
|
|
+ font-weight: 700;
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|