Browse Source

修复会员等级修改

master
sj 2 years ago
parent
commit
08281203b0
  1. 6
      src/views/bxg/activity/combination/form.vue
  2. 6
      src/views/bxg/shop/userlevel/form.vue
  3. 3
      src/views/bxg/shop/userlevel/index.vue

6
src/views/bxg/activity/combination/form.vue

@ -367,9 +367,9 @@ export default {
title: [
{required: true, message: '请输入拼团名称', trigger: 'blur'}
],
info: [
{required: true, message: '请输入拼团简介', trigger: 'blur'}
],
// info: [
// {required: true, message: '', trigger: 'blur'}
// ],
unitName: [
{required: true, message: '请输入单位', trigger: 'blur'}
],

6
src/views/bxg/shop/userlevel/form.vue

@ -14,7 +14,7 @@
<el-form-item label="会员等级">
<el-input-number v-model="form.grade" style="width: 370px;" />
</el-form-item>
<el-form-item label="享受折扣">
<el-form-item label="商品价格(%)">
<el-input-number v-model="form.discount" style="width: 370px;" />
</el-form-item>
<el-form-item label="会员背景">
@ -69,7 +69,7 @@ export default {
isPay: '',
isShow: 1,
grade: '',
discount: '',
discount: 100,
image: '',
icon: '',
imageArr: [],
@ -152,7 +152,7 @@ export default {
isPay: '',
isShow: 1,
grade: '',
discount: '',
discount: 100,
image: '',
icon: '',
imageArr: [],

3
src/views/bxg/shop/userlevel/index.vue

@ -26,7 +26,7 @@
</el-table-column>
<el-table-column prop="name" label="等级名称" />
<el-table-column prop="grade" label="会员等级" />
<el-table-column prop="discount" label="享受折扣" />
<el-table-column prop="discount" label="商品价格(%)" />
<el-table-column prop="validDate" label="有效时间" />
<el-table-column prop="isForever" label="是否永久">
<template slot-scope="scope">
@ -133,6 +133,7 @@ export default {
isShow: data.isShow,
grade: data.grade,
discount: data.discount,
growthValue:data.growthValue,
image: data.image,
icon: data.icon,
imageArr: data.image ? data.image.split(',') : [],

Loading…
Cancel
Save