Commit 0d0b3b5a by 吕明尚

修改抽奖日志

parent 1c05f202
......@@ -140,7 +140,11 @@
<dict-tag :options="dict.type.store_is_use_coupon" :value="scope.row.isHit"/>
</template>
</el-table-column>
<el-table-column align="center" label="中奖奖品" prop="hitPrize"/>
<el-table-column align="center" label="中奖奖品" prop="hitPrize">
<template slot-scope="scope">
<dict-tag :options="dict.type.prize_type" :value="scope.row.hitPrize"/>
</template>
</el-table-column>
<el-table-column align="center" label="是否发放" prop="isSend">
<template slot-scope="scope">
<dict-tag :options="dict.type.store_is_use_coupon" :value="scope.row.isSend"/>
......@@ -203,8 +207,18 @@
</el-radio>
</el-radio-group>
</el-form-item>
<!-- <el-form-item label="中奖奖品" prop="hitPrize">-->
<!-- <el-input v-model="form.hitPrize" disabled placeholder="请输入中奖奖品"/>-->
<!-- </el-form-item>-->
<el-form-item label="中奖奖品" prop="hitPrize">
<el-input v-model="form.hitPrize" disabled placeholder="请输入中奖奖品"/>
<el-select v-model="form.hitPrize" disabled>
<el-option
v-for="dict in dict.type.prize_type"
:key="parseInt(dict.value)"
:label="dict.label"
:value="parseInt(dict.value)"
></el-option>
</el-select>
</el-form-item>
<el-form-item label="是否发放" prop="isSend">
<el-radio-group v-model="form.isSend">
......@@ -242,7 +256,7 @@ import {
export default {
name: "LotteryRecordsLog",
dicts: ['store_is_use_coupon',],
dicts: ['store_is_use_coupon', 'prize_type',],
data() {
return {
// 遮罩层
......@@ -361,7 +375,7 @@ export default {
if (valid) {
if (this.form.id != null) {
updateLotteryRecordsLog(this.form).then(response => {
this.$modal.msgSuccess("修改成功");
this.$modal.msgSuccess("确认发放");
this.open = false;
this.getList();
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment