| | |
| | | <el-table-column align="center" label="用户信息" min-width="100" prop="openid" show-overflow-tooltip /> |
| | | <el-table-column align="center" label="使用次数" min-width="80" prop="useTimes"> |
| | | </el-table-column> |
| | | <el-table-column align="center" label="订单来源" min-width="80" show-overflow-tooltip> |
| | | <template v-slot="{ row }"> |
| | | <span v-if="row.channel == 0">小程序端</span> |
| | | <span v-if="row.channel == 1">抖音团购</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column align="center" label="有效日期" min-width="200" prop="remainCount"> |
| | | <template v-slot="scope"> |
| | | <span>{{ scope.row.useStartDate }}至{{ scope.row.useEndDate }}</span> |
| | |
| | | { value: '0', label: '正常' }, |
| | | { value: '1', label: '作废' } |
| | | ] |
| | | },{ |
| | | }, |
| | | { |
| | | filed: 'channel', |
| | | type: 'select', |
| | | label: '订单来源', |
| | | options: [ |
| | | { label: '小程序端', value: 0 }, |
| | | { label: '抖音团购', value: 1 }, |
| | | ] |
| | | }, |
| | | { |
| | | filed: 'createDate', |
| | | type: 'daterange', |
| | | label: '创建日期', |