Commit 4b93f91d by caoyanzhi

update: 卡券列表调整

parent f753474f
......@@ -56,7 +56,13 @@ export default {
total: 0,
loading: false,
tableList: [],
cardTypeOptions: [{ value: '', label: '全部卡券类型' }, { value: 0, label: '抵金券' }, { value: 1, label: '折扣券' }, { value: 2, label: '兑换券' }], // eslint-disable-line
cardTypeOptions: [
{ value: '', label: '全部卡券类型' },
{ value: 0, label: '抵金券' },
{ value: 1, label: '折扣券' },
{ value: 2, label: '兑换券' },
{ value: 3, label: '商场抵金券' }
],
sortFlag: false,
adjustStock: false,
currentCard: {}
......
......@@ -24,8 +24,14 @@
<p>核销率</p>
</div>
<div>
<h5>{{ item.saleAmount }}</h5>
<p>销售额</p>
<template v-if="item.cardType == 3">
<h5>{{ item.wirteOffPrice || 0 }}</h5>
<p>核销额</p>
</template>
<template v-else>
<h5>{{ item.saleAmount }}</h5>
<p>销售额</p>
</template>
</div>
<el-tooltip class="item" effect="dark" open-delay="300">
<div slot="content">
......
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