| | |
| | | <template> |
| | | <GlobalWindow |
| | | :title="title" |
| | | :with-footer="false" |
| | | :visible.sync="visible" |
| | | @confirm="confirm" |
| | | > |
| | |
| | | {{ row.type==0?'领取':'兑换' }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="num" label="咖豆数量" align="center" min-width="100px"> |
| | | <!-- <el-table-column prop="num" label="数量" align="center" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | {{ row.num || '-' }} |
| | | </template> |
| | | </el-table-column> |
| | | </el-table-column>--> |
| | | <el-table-column label="状态" align="center" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | {{ row.status==0 ? '未使用' : row.status==1 ? '已使用' : '已过期' }} |
| | |
| | | getDate: [], |
| | | // 表单数据 |
| | | searchForm: { |
| | | id: null, |
| | | couponId: null, |
| | | member: '', |
| | | methodList:[0,1], |
| | | status: '', |
| | | }, |
| | | |
| | |
| | | this.visible = true |
| | | this.$nextTick(() => { |
| | | this.$refs.searchForm.resetFields() |
| | | this.searchForm.id = target |
| | | this.searchForm.couponId = target |
| | | this.search() |
| | | }) |
| | | |