Commit fcd87c23 by zhangmeng

feat:修改拼图游戏奖品

parent 3a944781
......@@ -32,9 +32,9 @@
{{(scope.$index+1) | numberToChinese}}等奖
</template>
</el-table-column>
<el-table-column prop="rankEnd" label="名次" align="left" width="220">
<el-table-column prop="rankEnd" label="奖品数量" align="left" width="220">
<template slot-scope="scope">
<el-input-number v-model="scope.row.rankEnd" :precision="0" :min="1" @change="comparePre(scope.$index,scope.row.rankEnd)" size="small" class="w150" :disabled="isInfo"></el-input-number>
<el-input-number controls-position="right" v-model="scope.row.rankEnd" :precision="0" :min="1" @change="comparePre(scope.$index,scope.row.rankEnd)" size="small" class="w150" :disabled="isInfo"></el-input-number>
</template>
</el-table-column>
<el-table-column prop="prizeName" label="商品名称" align="left" :min-width="180">
......@@ -47,16 +47,11 @@
<dm-upload-avatar :model.sync="scope.row.prizeImg" label="上传图片" width="40" height="40" tips="" class-name="block-center" :disabled="isInfo"></dm-upload-avatar>
</template>
</el-table-column>
<el-table-column prop="prizeQuantity" label="商品数量" align="left" width="80">
<!-- <el-table-column prop="prizeQuantity" label="商品数量" align="left" width="80">
<template slot-scope="scope">
{{
scope.$index?
((tableList[scope.$index].rankEnd-tableList[scope.$index-1].rankEnd)<0?0
:(tableList[scope.$index].rankEnd-tableList[scope.$index-1].rankEnd))
:tableList[scope.$index].rankEnd
}}
{{scope.row.rankEnd}}件
</template>
</el-table-column>
</el-table-column> -->
<el-table-column prop="date" label="操作" align="left" width="60">
<template slot-scope="scope">
<el-button type="text" v-if="scope.$index>2" @click="delItem(scope.$index)" :disabled="isInfo">删除</el-button>
......
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