Commit d36046bf by 王志慧

commit

1 parent 7fc644b0
......@@ -16,7 +16,7 @@
<template v-if="showGh">
<div class="member-card"><img src="@/assets/silver.png" alt="" /></div>
</template>
<template v-if="(showGh && accountLevel != 4) || !showGh">
<template>
<GLButton @click="openEditWrap" fn="编辑" mode="div"><img src="@/assets/editBlue.png" class="editIcon" @click="openEditWrap" alt="" /></GLButton>
</template>
</div>
......@@ -407,7 +407,7 @@ export default {
if (action == 'confirm') {
resetCard({ mobile: data.mobile }).then(res => {
this.$message({
message: res.code == '0' ? '取消成功' : '将该用户的会员有效天数扣减365天,不足365天则直接将会员身份变更为普通会员',
message: res.code == '0' ? '将该用户的会员有效天数扣减365天,不足365天则直接将会员身份变更为普通会员' : res.message,
type: res.code == '0' ? 'success' : 'error'
})
if (res.code == '0') {
......
......@@ -29,7 +29,7 @@
</div>
<div class="el-form-item__error" v-if="setmealContentRules">请选择套餐</div>
</el-form-item>
<el-form-item label="赠送金卡会员:" prop="giveGoldFlag" v-if="showGh">
<el-form-item label="赠送金卡会员:" prop="giveGoldFlag" v-if="showGh&&accountLevel == 4">
<el-radio-group v-model="ruleForm.giveGoldFlag">
<el-radio :label="2">赠送</el-radio>
<el-radio :label="1">不赠送</el-radio>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!