Commit 2b723dfd by 李伟康

commit 提交

1 parent a6aae4b1
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
<view class="layout"> <view class="layout">
<view <view
class="tab-box flex" class="tab-box flex"
v-if="customerType == 1 || isPreview"
> >
<template v-for="(item, index) in carList"> <template v-for="(item, index) in carList">
<view <view
...@@ -156,11 +155,15 @@ export default { ...@@ -156,11 +155,15 @@ export default {
couponText () { couponText () {
return this.customerType == 0 ? '查看客户券码' : '为客户发券' return this.customerType == 0 ? '查看客户券码' : '为客户发券'
}, },
change_disabled(){
return this.customerType == 0 || this.$refs.couponPopup.pageParams.QRURL
}
}, },
methods: { methods: {
changeCar (item) { changeCar (item) {
if(this.change_disabled) return
this.currentCarString = item this.currentCarString = item
this.updateViewKey = Date.now() this.updateViewKey = Date.now()
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!