diff --git a/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue b/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue index 06f442435..674614f59 100644 --- a/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue +++ b/fuintAdmin/src/views/EventMarketing/cardFavorable/index.vue @@ -279,6 +279,13 @@ 会员等级 + + + + + + + 每人限领一张 @@ -386,6 +393,7 @@ import { listFavorable, getFavorable,getcardFavorable,getcount,getcountList, delFavorable, addFavorable, updateFavorable } from "@/api/EventMarketing/cardFavorable"; import { getoilName, } from "@/api/EventMarketing/activeConsumption"; import {deleteById} from "@/api/EventMarketing/oilBlock"; + import {listUserGrade} from "@/api/EventMarketing/SaveBlock"; export default { name: "Favorable", data() { @@ -476,6 +484,7 @@ export default { }, // 表单参数 form: {}, + vipname:[], // 表单校验 rules: { timeType: [ @@ -665,12 +674,18 @@ export default { /** 新增按钮操作 */ handleAdd() { this.reset(); + listUserGrade().then(res=>{ + this.vipname = res.data.records + }) this.open = true; this.title = "添加优惠券"; }, /** 修改按钮操作 */ handleUpdate(row) { this.reset(); + listUserGrade().then(res=>{ + this.vipname = res.data.records + }) getcardFavorable(row.id).then(res=>{ console.log(res) if(res.code == 200){