礼品卡

This commit is contained in:
齐天大圣 2024-03-15 10:13:54 +08:00
parent 18bf6b213f
commit 4da5f8ee50
4 changed files with 50 additions and 36 deletions

View File

@ -234,9 +234,8 @@
label="券类型"
width="80">
<template slot-scope="scope">
<span v-if="scope.row.giftCardType == 0" >油品券</span>
<span v-if="scope.row.giftCardType == 1" >商品券</span>
<span v-if="scope.row.giftCardType == 2" >通用券</span>
<span v-if="scope.row.giftCardType == 0" >满减券</span>
<span v-if="scope.row.giftCardType == 1" >折扣券</span>
</template>
</el-table-column>
<el-table-column
@ -304,9 +303,8 @@
label="券类型"
width="80">
<template slot-scope="scope">
<span v-if="scope.row.giftCardType == 0" >油品券</span>
<span v-if="scope.row.giftCardType == 1" >商品券</span>
<span v-if="scope.row.giftCardType == 2" >通用券</span>
<span v-if="scope.row.giftCardType == 0" >商品券</span>
<span v-if="scope.row.giftCardType == 1" >洗车券</span>
</template>
</el-table-column>
<el-table-column
@ -504,9 +502,8 @@
label="券类型"
>
<template slot-scope="scope">
<span v-if="scope.row.type == 0" >油品券</span>
<span v-if="scope.row.type == 1" >商品券</span>
<span v-if="scope.row.type == 2" >通用券</span>
<span v-if="scope.row.discountType == 0" >满减券</span>
<span v-if="scope.row.discountType == 1" >折扣券</span>
</template>
</el-table-column>
<el-table-column
@ -570,9 +567,16 @@
label="券类型"
>
<template slot-scope="scope">
<span v-if="scope.row.type == 0" >油品券</span>
<span v-if="scope.row.type == 1" >商品券</span>
<span v-if="scope.row.type == 2" >通用券</span>
<span v-if="scope.row.type == 0" >商品券</span>
<span v-if="scope.row.type == 1" >洗车券</span>
</template>
</el-table-column>
<el-table-column
prop="date"
label="券详情"
width="80">
<template slot-scope="scope">
<span>{{scope.row.cardDetail}}</span>
</template>
</el-table-column>
<el-table-column

View File

@ -96,9 +96,8 @@
label="券类型"
>
<template slot-scope="scope">
<span v-if="scope.row.giftCardType == 0" >油品券</span>
<span v-if="scope.row.giftCardType == 1" >商品券</span>
<span v-if="scope.row.giftCardType == 2" >通用券</span>
<span v-if="scope.row.giftCardType == 0" >满减券</span>
<span v-if="scope.row.giftCardType == 1" >折扣券</span>
</template>
</el-table-column>
<el-table-column
@ -165,8 +164,8 @@
label="券类型"
>
<template slot-scope="scope">
<span v-if="scope.row.giftCardType == 0" >洗车</span>
<span v-if="scope.row.giftCardType == 1" >商品</span>
<span v-if="scope.row.giftCardType == 0" >商品</span>
<span v-if="scope.row.giftCardType == 1" >洗车</span>
</template>
</el-table-column>
<el-table-column
@ -351,9 +350,8 @@
label="券类型"
>
<template slot-scope="scope">
<span v-if="scope.row.type == 0" >油品券</span>
<span v-if="scope.row.type == 1" >商品券</span>
<span v-if="scope.row.type == 2" >通用券</span>
<span v-if="scope.row.discountType == 0" >满减券</span>
<span v-if="scope.row.discountType == 1" >折扣券</span>
</template>
</el-table-column>
<el-table-column
@ -419,6 +417,14 @@
<span v-if="scope.row.type == 1" >商品券</span>
</template>
</el-table-column>
<el-table-column
prop="date"
label="券详情"
width="80">
<template slot-scope="scope">
<span>{{scope.row.cardDetail}}</span>
</template>
</el-table-column>
<el-table-column
prop="date"
label="使用说明"

View File

@ -169,7 +169,7 @@
</el-form-item>
<!-- 优惠券-->
<div class="xh-box" v-if="ruleForm.inviterGiftType && ruleForm.inviterGiftType.indexOf('0')>-1" >
<div class="box-bt"> <div >赠送卡</div> <el-button type="primary" icon="el-icon-plus" @click="getlistFavorable()" >新增</el-button> </div>
<div class="box-bt"> <div >选择优惠</div> <el-button type="primary" icon="el-icon-plus" @click="getlistFavorable()" >新增</el-button> </div>
<div style="margin: 10px 0px">
<el-table
:data="ruleForm.ylist"
@ -185,9 +185,8 @@
label="券类型"
>
<template slot-scope="scope">
<span v-if="scope.row.giftCardType == 0" >油品券</span>
<span v-if="scope.row.giftCardType == 1" >商品券</span>
<span v-if="scope.row.giftCardType == 2" >通用券</span>
<span v-if="scope.row.giftCardType == 0" >满减券</span>
<span v-if="scope.row.giftCardType == 1" >折扣券</span>
</template>
</el-table-column>
<el-table-column
@ -255,9 +254,8 @@
label="券类型"
>
<template slot-scope="scope">
<span v-if="scope.row.giftCardType == 0" >油品券</span>
<span v-if="scope.row.giftCardType == 1" >商品券</span>
<span v-if="scope.row.giftCardType == 2" >通用券</span>
<span v-if="scope.row.giftCardType == 0" >商品券</span>
<span v-if="scope.row.giftCardType == 1" >洗车券</span>
</template>
</el-table-column>
<el-table-column
@ -514,9 +512,8 @@
label="券类型"
>
<template slot-scope="scope">
<span v-if="scope.row.type == 0" >油品券</span>
<span v-if="scope.row.type == 1" >商品券</span>
<span v-if="scope.row.type == 2" >通用券</span>
<span v-if="scope.row.discountType == 0" >满减券</span>
<span v-if="scope.row.discountType == 1" >折扣券</span>
</template>
</el-table-column>
<el-table-column
@ -578,9 +575,16 @@
label="券类型"
>
<template slot-scope="scope">
<span v-if="scope.row.type == 0" >油品券</span>
<span v-if="scope.row.type == 1" >商品券</span>
<span v-if="scope.row.type == 2" >通用券</span>
<span v-if="scope.row.type == 0" >商品券</span>
<span v-if="scope.row.type == 1" >洗车券</span>
</template>
</el-table-column>
<el-table-column
prop="date"
label="券详情"
width="80">
<template slot-scope="scope">
<span>{{scope.row.cardDetail}}</span>
</template>
</el-table-column>
<el-table-column

View File

@ -196,11 +196,11 @@
<el-input-number :min="1" placeholder="请输入卡券有效期" v-model="form.validity">
<template slot="append"></template>
</el-input-number>
<div style="width: 217px">
<!-- <div style="width: 217px">
<el-input type="number" placeholder="请输入卡券有效期" v-model="form.validity">
<template slot="append"></template>
</el-input>
</div>
</div>-->
</el-form-item>
<el-form-item label="使用说明" prop="useInstructions">