Commit c95132fd by chenwq

优惠券

1 parent c39e5e3f
......@@ -17,7 +17,8 @@
<template slot="packageName" slot-scope="scope">
<span v-if="$isGroupUp">{{ scope.scope.packageId ? scope.scope.packageName : scope.scope.directionalGiftId ? scope.scope.directionalGiftName : '-' }}</span>
<div v-else>
<p>{{ packageNameTxtObj[scope.scope.receiveWay] }}</p>
<p v-if="scope.scope.receiveWay != 7">{{ packageNameTxtObj[scope.scope.receiveWay] }}</p>
<p v-else>{{ scope.scope.merchantType == 1 ? '通过自店礼包赠送' : '通过集团礼包赠送' }}</p>
<p v-if="scope.scope.receiveWay == 7 && scope.scope.receiveMethod" class="txt-grey text-10">指定{{ scope.scope.receiveMethod == 1 ? '手机号' : '车架号' }}:{{ scope.scope.receiveNumber }}</p>
</div>
</template>
......@@ -272,9 +273,15 @@ export default {
}
}
},
created() {
if (this.$isGroupUp) {
this.getPackageList()
} else {
this.showOrHideAttr('searchFormData', '券来源', true)
}
},
mounted() {
this.getPackageList()
this.getMerchant()
this.getOptionsList('searchFormData')
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!