Commit 4d347d78 by 李伟康

精品交付单

1 parent a8b04c81
...@@ -51,9 +51,7 @@ export default { ...@@ -51,9 +51,7 @@ export default {
case 'coupon': { case 'coupon': {
let desc = '您的专属服务顾问为您发来了优惠券,请点击领取~' let desc = '您的专属服务顾问为您发来了优惠券,请点击领取~'
let imgUrl = 'http://img01.glsx.com.cn/upload/biz/dracMini-yh-10004.png' let imgUrl = 'http://img01.glsx.com.cn/upload/biz/dracMini-yh-10004.png'
console.log(entry) if (tabIndex == 0) {
if (false) {
// if (tabIndex == 0 ) {
if (entry != 'normal') if (entry != 'normal')
this.sendChatMessage({ this.sendChatMessage({
// channelType 1 嘀加 2:广汇 // channelType 1 嘀加 2:广汇
......
...@@ -21,8 +21,7 @@ ...@@ -21,8 +21,7 @@
class="item" class="item"
> >
<div :class="['sprite-icon', 'text-center',tabIndex == 0 ?'icon-coupon':'icon-discount', {'clear-padding':i.discountType == 3}]"> <div :class="['sprite-icon', 'text-center',tabIndex == 0 ?'icon-coupon':'icon-discount', {'clear-padding':i.discountType == 3}]">
<template v-if="false"> <template v-if="tabIndex == 0 ">
<!-- <template v-if="tabIndex == 0 "> -->
{{i.couponTypeName}} {{i.couponTypeName}}
</template> </template>
<template v-else> <template v-else>
...@@ -77,30 +76,29 @@ ...@@ -77,30 +76,29 @@
<script type='text/ecmascript-6'> <script type='text/ecmascript-6'>
import { shareMixin, pageMixin, discountTypeMixin } from '@/mixins' import { shareMixin, pageMixin, discountTypeMixin } from '@/mixins'
import { couponApi, boutiquecouponApi } from '@/api' import { couponApi, boutiquecouponApi } from '@/api'
const tabList = ['商城优惠券'] const tabList = ['新车精品礼券', '商城优惠券']
// const tabList = ['新车精品礼券', '商城优惠券']
export default { export default {
name: 'coupon', name: 'coupon',
mixins: [shareMixin, pageMixin, discountTypeMixin], mixins: [shareMixin, pageMixin, discountTypeMixin],
data() { data () {
return { return {
tabList, tabList,
updata: new Date().getTime() updata: new Date().getTime()
} }
}, },
mounted() {}, mounted () { },
methods: { methods: {
// getList_0(pageNum) { getList_0 (pageNum) {
// let { list } = this let { list } = this
// boutiquecouponApi.getBoutiqueCouponList({ pageNum }).then(res => { boutiquecouponApi.getBoutiqueCouponList({ pageNum }).then(res => {
// this.hideLoading() this.hideLoading()
// console.log('精品礼券', res) console.log('精品礼券', res)
// this.flag = true this.flag = true
// this.list = list.concat(res.list) this.list = list.concat(res.list)
// this.total = res.total this.total = res.total
// }) })
// }, },
getList_0(pageNum) { getList_1 (pageNum) {
let { list } = this let { list } = this
couponApi.getMerchantCouponList({ pageNum }).then(res => { couponApi.getMerchantCouponList({ pageNum }).then(res => {
this.hideLoading() this.hideLoading()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!