|
@@ -90,6 +90,8 @@
|
|
|
:columns="columns"
|
|
|
:data="loadData"
|
|
|
bordered>
|
|
|
+ <!-- 创建人 -->
|
|
|
+ <span slot="creater" slot-scope="text, record">{{ record.name + record.phone }}</span>
|
|
|
<!-- 操作按钮 -->
|
|
|
<span slot="action" slot-scope="text, record">
|
|
|
<a-button id="gift-card-getCode" class="blue" type="link" v-if="$hasPermissions('B_giftCard_getCode')" @click="getCode(record)">获取充值码</a-button>
|
|
@@ -147,7 +149,7 @@ export default {
|
|
|
columns: [
|
|
|
{ title: '序号', dataIndex: 'no', width: 60, align: 'center' },
|
|
|
{ title: '创建时间', dataIndex: 'createDate', width: 100, align: 'center' },
|
|
|
- { title: '创建人', dataIndex: 'name', width: 100, align: 'center' },
|
|
|
+ { title: '创建人', scopedSlots: { customRender: 'creater' }, width: 100, align: 'center' },
|
|
|
{ title: '礼品卡内容', dataIndex: 'content', width: 100, align: 'center' },
|
|
|
{ title: '实体卡编号', dataIndex: 'optionalSequence', width: 100, align: 'center', customRender: (text) => { return text || '--' } },
|
|
|
{ title: '是否已充值', dataIndex: 'stateDictValue', width: 100, align: 'center' },
|