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.
 
 
 
 
 

50 lines
1.2 KiB

<template>
<view class="page">
<uni-card title="提现记录">
<ul class="inventoryList">
<li v-for="(item ,index) in commissionList" :key="index" style="margin-bottom:20rpx;">
<uni-card :title="'提现人:'+ item.aliName" :sub-title="item.createTime?item.createTime:'暂无'">
<view class="uni-body">提现金额:{{item.commission?item.commission:'暂无'}}元</view>
<view class="uni-body">余 额:{{item.shopAfterRebateAmount?item.shopAfterRebateAmount:'暂无'}}</view>
</uni-card>
</li>
</ul>
</uni-card>
</view>
</template>
<script>
export default {
data() {
return {
commissionList: []
}
},
onLoad() {
this.getList()
},
methods: {
getList() {
this.tui.request('/app/returnCommission/listWithReturned', 'post', {}, false, false, true).then((res) => {
if (res.code == 200){
this.commissionList = res.result
for(let i=0;i<this.commissionList.length;i++){
if(this.commissionList[i].aliName == null){
this.commissionList[i].aliName = '暂无'
}
}
}
})
}
}
}
</script>
<style lang="scss">
.inventoryList{
.uni-card{
margin: 0 !important;
padding: 0 !important;
}
}
</style>