Browse Source

修复会员等级修改

master
sj 2 years ago
parent
commit
08281203b0
  1. 8
      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

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

@ -16,7 +16,7 @@
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<el-form-item label="拼团简介" prop="info" > <el-form-item label="拼团简介" prop="info" >
<el-input v-model="formValidate.info" disabled="true" @input="onInput()" style="width: 500px;" placeholder="请输入拼团简介"/> <el-input v-model="formValidate.info" disabled="true" @input="onInput()" style="width: 500px;" placeholder="请输入拼团简介"/>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
@ -367,9 +367,9 @@ export default {
title: [ title: [
{required: true, message: '请输入拼团名称', trigger: 'blur'} {required: true, message: '请输入拼团名称', trigger: 'blur'}
], ],
info: [ // info: [
{required: true, message: '请输入拼团简介', trigger: 'blur'} // {required: true, message: '', trigger: 'blur'}
], // ],
unitName: [ unitName: [
{required: true, message: '请输入单位', trigger: 'blur'} {required: true, message: '请输入单位', trigger: 'blur'}
], ],

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

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

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

@ -26,7 +26,7 @@
</el-table-column> </el-table-column>
<el-table-column prop="name" label="等级名称" /> <el-table-column prop="name" label="等级名称" />
<el-table-column prop="grade" 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="validDate" label="有效时间" />
<el-table-column prop="isForever" label="是否永久"> <el-table-column prop="isForever" label="是否永久">
<template slot-scope="scope"> <template slot-scope="scope">
@ -133,6 +133,7 @@ export default {
isShow: data.isShow, isShow: data.isShow,
grade: data.grade, grade: data.grade,
discount: data.discount, discount: data.discount,
growthValue:data.growthValue,
image: data.image, image: data.image,
icon: data.icon, icon: data.icon,
imageArr: data.image ? data.image.split(',') : [], imageArr: data.image ? data.image.split(',') : [],

Loading…
Cancel
Save