|
@@ -28,7 +28,12 @@
|
|
</el-image>
|
|
</el-image>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="奖品名称" prop="title" />
|
|
|
|
|
|
+ <el-table-column label="奖品名称" prop="title" >
|
|
|
|
+ <template slot-scope="{ row }">
|
|
|
|
+ <div v-if="row.prizeType == 'coin' && row.value >= 0">盲豆 x{{ row.value }}</div>
|
|
|
|
+ <div v-else>{{ row.title }}</div>
|
|
|
|
+ </template>
|
|
|
|
+ </el-table-column>
|
|
<el-table-column label="奖品类型">
|
|
<el-table-column label="奖品类型">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div v-if="scope.row.prizeType == 'goods'">商品</div>
|
|
<div v-if="scope.row.prizeType == 'goods'">商品</div>
|
|
@@ -198,7 +203,7 @@ export default {
|
|
this.prizeIndex = index;
|
|
this.prizeIndex = index;
|
|
this.$emit('handleCommand', e)
|
|
this.$emit('handleCommand', e)
|
|
},
|
|
},
|
|
-
|
|
|
|
|
|
+
|
|
// 改变奖级数量
|
|
// 改变奖级数量
|
|
handleChangeAll(e, item) {
|
|
handleChangeAll(e, item) {
|
|
this.$set(item, "quantity", e);
|
|
this.$set(item, "quantity", e);
|