更新提现

This commit is contained in:
weipengfei 2023-09-21 17:49:22 +08:00
parent 8276edcb6f
commit b850993a6f

View File

@ -32,14 +32,15 @@
<view class="tip">
<view class="title">提示</view>
<view class="text">
上一周期截至时间是<text>{{payMoney.end_cycle}}</text>;<br />
<text>{{payMoney.end_cycle}}</text>后可提现本周期金额;<br />
可提现金额是上一个周期的收益金额,并不是当前公司收益金额,提现后将会由后台审核,审核通过后会直接往您所上传的银行卡汇款,请耐心等待;<br/>
<text style="color: #ff7c32;">提现时请注意,需要先上传PDF类型的电子发票后方可提现</text>
<!-- <text @click="copyPhone('4008888888')">4008888888</text> -->
</view>
</view>
<view class="price" style="margin-top: 0;">
<button class="btn" @click="pay">全部提现</button>
<view v-if="payMoney.end_cycle" class="price" style="margin-top: 0;">
<button v-if="is_draw" class="btn" @click="pay">全部提现</button>
<button else class="btn disabled" @click="noPay">暂时不可提现</button>
</view>
<u-modal :show="modelShow" title="提醒" content="删除后上传的文件将会消失,你确定要删除吗?" showCancelButton
@confirm="clear(del_name);modelShow=false" @cancel="modelShow=false"></u-modal>
@ -68,6 +69,7 @@
end_cycle_time: '',
invoice: '' //
},
is_draw: 1,
payTimer: null,
timeCount: 5,
fileOption: {},
@ -177,6 +179,7 @@
this.payMoney.end_cycle_time = res.data.end_cycle;
res.data.end_cycle ? this.payMoney.end_cycle = uni.$u.timeFormat(res.data.end_cycle, 'yyyy-mm-dd') : this
.payMoney.end_cycle || '';
this.is_draw = res.data.is_draw;
},
//
isFile() {
@ -211,6 +214,9 @@
}, 1000)
} else Toast(this.timeCount + '秒后再提现!')
},
noPay(){
Toast('暂时不可提现!')
},
//
async goApply() {
this.payMoney.invoice = '';
@ -362,6 +368,9 @@
font-weight: 400;
color: #FFFFFF;
}
.disabled{
background-color: #666;
}
}
.tip {