Parcourir la source

【ID1006352】bug修复

chenrui il y a 4 ans
Parent
commit
1c6858af9c
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      src/views/market/giftCard/giftCard.vue

+ 3 - 1
src/views/market/giftCard/giftCard.vue

@@ -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' },