创作者微信小程序端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.3 KiB

<template>
<view>
<view>订单号:{{withdrawDetailInfo.orderId}}</view>
<view>提现金额:{{withdrawDetailInfo.amt}}</view>
<view>手机号:{{withdrawDetailInfo.phone}}</view>
<view>银行卡:{{withdrawDetailInfo.bankNo}}</view>
<view>渠道:{{withdrawDetailInfo.channel}}</view>
<view>状态:{{withdrawDetailInfo.status}}</view>
<view>创建时间:{{withdrawDetailInfo.createTime}}</view>
<view>审核理由:{{withdrawDetailInfo.reason}}</view>
<view>到账时间:{{withdrawDetailInfo.achieveTime}}</view>
</view>
</template>
<script>
import {
getWithdrawDetails
} from '@/api/userInfo.js'
export default {
data() {
return {
withdrawDetailInfo:{}
}
},
onLoad: function(option) { //option为object类型,会序列化上个页面传递的参数
console.log(option)
const param = {
orderId: option.orderId
}
this.getWithdrawDetails(param);
},
methods: {
// 查询提现记录明细
async getWithdrawDetails(param) {
const res = await getWithdrawDetails(param)
console.log('res', res)
if (res.data.code === 200) {
this.withdrawDetailInfo = res.data.data
} else {
uni.showModal({
content: '提现记录详情数据加载失败!',
showCancel: false
});
}
},
}
}
</script>
<style>
</style>