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.
42 lines
844 B
42 lines
844 B
<template>
|
|
<view class="page">
|
|
<uni-card title="已提现返佣记录" >
|
|
<u-cell-group>
|
|
<u-cell
|
|
v-for="(item ,index) in commissionList"
|
|
:title="item.id"
|
|
:value=" item.commission.toFixed(2)"
|
|
center
|
|
:key="index"
|
|
></u-cell>
|
|
</u-cell-group>
|
|
</uni-card>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
commissionList:[]
|
|
}
|
|
},
|
|
onLoad() {
|
|
this.getList()
|
|
},
|
|
methods:{
|
|
getList() {
|
|
this.tui.request('/app/returnCommission/listWithNoReturn', 'get', {
|
|
shopId:'002'
|
|
}, false, false, true).then((res) => {
|
|
if (res.code !== 200) return
|
|
this.commissionList = res.result
|
|
console.log(res)
|
|
})
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
</style>
|
|
|