礼品卡

This commit is contained in:
齐天大圣 2024-03-07 17:21:31 +08:00
parent 6f8c252d2b
commit b89782be6f
2 changed files with 11 additions and 2 deletions

View File

@ -120,7 +120,7 @@
</el-card>
<el-dialog title="推荐有礼" :visible.sync="xzshow" width="75%">
<el-dialog title="推荐有礼" :visible.sync="xzshow" width="55%">
<!-- <div slot="header" class="clearfix">-->
<!-- <span style="font-size: 20px">推荐有礼</span>-->
<!-- </div>-->
@ -1161,7 +1161,7 @@ export default {
/** 删除按钮操作 */
Deleteshan(row) {
const ids = row.id || this.ids;
this.$modal.confirm('是否确认删除推荐有礼编号为"' + ids + '"的数据').then(function() {
this.$modal.confirm('是否确认删除此项推荐有礼数据?').then(function() {
return delActiveRecommend(ids);
}).then(() => {
this.getactivelist()

View File

@ -76,6 +76,7 @@
</template>
</el-table-column>
<el-table-column label="兑换礼品名" align="center" prop="giftName"/>
<el-table-column label="礼品数量" align="center" prop="productCount"/>
<el-table-column label="卡券有效期" align="center" prop="validity">
<template slot-scope="scope">
<span>{{scope.row.validity}}</span>
@ -185,6 +186,11 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item label="商品数量" prop="productCount">
<el-input type="number" placeholder="请输入商品数量" v-model="form.productCount">
<template slot="append"></template>
</el-input>
</el-form-item>
<el-form-item label="卡券有效期" prop="validity">
<el-input type="number" placeholder="请输入卡券有效期" v-model="form.validity">
<template slot="append"></template>
@ -299,6 +305,9 @@ export default {
useInstructions: [
{ required: true, message: '请输入使用说明', trigger: 'change' }
],
productCount: [
{ required: true, message: '请输入礼品数量', trigger: 'change' }
],
/*count: [
{ required: true, message: '请输入参与次数', trigger: 'change' }
],*/