discountTypeMixin.js
510 Bytes
const discountType = {
1: '满减',
2: '折扣',
3: '代金',
4: '兑换',
5: '购车代金',
6: '商品折扣',
7: '门店服务'
}
export default {
data() {
return {
discountType,
discountEnum: {
1: '满减券',
2: '折扣券',
3: '代金券',
4: '兑换券',
5: '购车代金券',
6: '商品折扣券',
7: '门店服务'
},
}
},
mounted() {
window.$discountType = discountType
},
methods: {
}
}