积分审核
This commit is contained in:
@@ -9,18 +9,20 @@
|
|||||||
:current.sync="search.current"
|
:current.sync="search.current"
|
||||||
:size.sync="search.size"
|
:size.sync="search.size"
|
||||||
@getList="getList">
|
@getList="getList">
|
||||||
<el-table-column slot="goods" width="240px" label="商品" align="left">
|
<el-table-column slot="imgs" width="240px" label="凭证" align="center">
|
||||||
<template slot-scope="{ row }">
|
<template slot-scope="{ row }">
|
||||||
<div class="goods">
|
<ai-uploader
|
||||||
<img :src="row.imageUrl">
|
:instance="instance"
|
||||||
<span>{{ row.merchandiseName }}</span>
|
disabled
|
||||||
</div>
|
:value="row.voucherImageUrl"
|
||||||
|
:limit="1">
|
||||||
|
</ai-uploader>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column slot="options" width="120px" fixed="right" label="操作" align="center">
|
<el-table-column slot="options" width="120px" fixed="right" label="操作" align="center">
|
||||||
<template slot-scope="{ row }">
|
<template slot-scope="{ row }">
|
||||||
<div class="table-options">
|
<div class="table-options">
|
||||||
<el-button type="text" @click="operation(row.id)">积分审核</el-button>
|
<el-button type="text" @click="operation(row.id)">审核</el-button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@@ -48,25 +50,19 @@
|
|||||||
name: '',
|
name: '',
|
||||||
info: {},
|
info: {},
|
||||||
colConfigs: [
|
colConfigs: [
|
||||||
{ slot: 'goods', label: '商品' },
|
{ prop: 'createUserName', align: 'left', label: '申请人' },
|
||||||
{ prop: 'merchandiseIntegral', align: 'center', label: '单价' },
|
{ prop: 'applyItem', align: 'center', label: '申请事项' },
|
||||||
{ prop: 'merchandiseNumber', align: 'center', label: '数量' },
|
{ slot: 'imgs', label: '凭证' },
|
||||||
{
|
{
|
||||||
prop: 'arriveTime',
|
prop: 'applyIntegral',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
label: '兑换量'
|
label: '积分数'
|
||||||
},
|
|
||||||
{
|
|
||||||
prop: 'visibleRange',
|
|
||||||
align: 'center',
|
|
||||||
label: '可见范围',
|
|
||||||
formart: v => v === '0' ? '不限' : '指定网格'
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
prop: 'status',
|
prop: 'status',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
label: '状态',
|
label: '状态',
|
||||||
formart: v => this.mapStatus(v)
|
formart: v => this.dict.getLable('integralApplyStatus', v)
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
tableData: [],
|
tableData: [],
|
||||||
@@ -75,7 +71,9 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
created () {
|
created () {
|
||||||
this.getList()
|
this.dict.load('integralApplyStatus').then(() => {
|
||||||
|
this.getList()
|
||||||
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
Reference in New Issue
Block a user