|
@@ -67,6 +67,9 @@
|
|
|
@click="handleView(record)" />
|
|
|
<span v-else>--</span>
|
|
|
</template>
|
|
|
+ <template slot="prizeDesc" slot-scope="text, record">
|
|
|
+ {{ record.prizeType == 'GOODS' ? text : (text+'乐豆') }}
|
|
|
+ </template>
|
|
|
</s-table>
|
|
|
<!-- 发货 -->
|
|
|
<GoodsLogistics :openModal="openModal" :itemId="itemId" @submit="handleSubmit" @close="openModal=false" />
|
|
@@ -110,7 +113,7 @@ export default {
|
|
|
{ title: '序号', dataIndex: 'no', width: 80, align: 'center' },
|
|
|
{ title: '中奖时间', dataIndex: 'winTime', width: 200, align: 'center' },
|
|
|
{ title: '活动名称', dataIndex: 'activeName', width: 200, align: 'center' },
|
|
|
- { title: '奖品', dataIndex: 'prizeDesc', width: 200, align: 'center' },
|
|
|
+ { title: '奖品', dataIndex: 'prizeDesc', scopedSlots: { customRender: 'prizeDesc' }, width: 200, align: 'center' },
|
|
|
{ title: '中奖用户', dataIndex: 'customerMobile', width: 200, align: 'center' },
|
|
|
{ title: '状态', dataIndex: 'stateDictValue', width: 200, align: 'center' },
|
|
|
{ title: '操作', scopedSlots: { customRender: 'action' }, width: 150, align: 'center' }
|