Commit 38cdde78 by crushh

update: 奖品概率

parent b095e30b
......@@ -104,7 +104,7 @@
</template>
</el-table-column>
<el-table-column prop="date" :render-header="labelTips" align="left" width="100">
<template slot-scope="scope" v-if="scope.row.prizeType !== 3">{{ (totalCount * scope.row.prizeCount || 0).toFixed(2) }}% </template>
<template slot-scope="scope" v-if="scope.row.prizeType !== 3"> {{ (totalCount * scope.row.prizeCount || 0).toFixed(2) }}% </template>
</el-table-column>
<el-table-column prop="date" label="操作" align="left" width="130">
<template slot-scope="scope">
......@@ -266,7 +266,7 @@ export default {
result += parseInt(v.prizeCount);
}
});
return parseInt(this.form.gameWinningRate) / result;
return this.form.gameWinningRate / result;
}
},
methods: {
......
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