更改时间
This commit is contained in:
parent
2f845460b3
commit
5adb2dc0ec
@ -43,6 +43,7 @@
|
||||
payMoney: {
|
||||
money: '0.00',
|
||||
end_cycle: '',
|
||||
end_cycle_time: ''
|
||||
},
|
||||
payTimer: null,
|
||||
timeCount: 5,
|
||||
@ -86,6 +87,7 @@
|
||||
async loadWithddrawInfo(){
|
||||
let res = await getCurrCycleWithdraw();
|
||||
this.payMoney.money = parseFloat(res.data?.user_currrent_total_withdraw_money).toFixed(2);
|
||||
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||'';
|
||||
},
|
||||
// 提现
|
||||
@ -107,7 +109,7 @@
|
||||
async goApply() {
|
||||
let res = await userWithdraw({
|
||||
amount: this.payMoney.money,
|
||||
transfer_end_cycel: this.payMoney.end_cycle
|
||||
transfer_end_cycel: this.payMoney.end_cycle_time
|
||||
});
|
||||
uni.showToast({
|
||||
icon:'success',
|
||||
|
Loading…
x
Reference in New Issue
Block a user