Commit e4b11283 by liuchenxi

update: 删除卡券类型字段

parent 348940a1
......@@ -11,9 +11,6 @@
@change="change"
clearable
/>
<el-select class="w160 mb10 mr10" v-model="search.cardType" placeholder="所有卡券类型" clearable @change="change">
<el-option v-for="item in cardTypeList" :key="item.id" :value="item.value" :label="item.label" />
</el-select>
<el-select class="w160 mb10" v-model="search.receiveCode" placeholder="所有投放渠道" clearable @change="change">
<el-option v-for="item in tableData.dictList" :key="item.dictCode" :value="item.dictCode" :label="item.dictName" />
</el-select>
......@@ -78,12 +75,7 @@ export default {
receiveEndTime: '', // 结束
search: '', // 卡券代码
receiveCode: null, // 投放渠道
},
cardTypeList: [
{ label: '抵金券', value: 1 },
{ label: '折扣券', value: 2 },
{ label: '兑换券', value: 3 }
]
}
}
},
methods: {
......
......@@ -185,20 +185,6 @@ export default {
},
{ label: "卡券名称", prop: "cardName", minWidth: 100, },
{ label: "卡券代码", prop: "cardCode", minWidth: 100, },
{ label: "卡券类型", prop: "cardType", minWidth: 70, formatter(row) {
const type = row.cardType;
switch(type) {
case 1:
return '抵金券';
case 2:
return '折扣券';
case 3:
return '兑换券';
default:
return '--';
}
}
},
{ label: "投放途径", prop: "receiveName", minWidth: 120, },
{ label: "来源明细", prop: "receiveTypeExcel", minWidth: 120, }
];
......
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