代理商价格
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div v-loading="loading">
|
||||
<div class="heior_box">
|
||||
<!-- <el-button size="small" type="primary" icon="el-icon-plus" @click="showDialogDiscount=true">折扣价格</el-button> -->
|
||||
<el-button size="small" type="primary" icon="el-icon-plus" @click="showDialogDiscount=true">折扣价格</el-button>
|
||||
<!-- <div class="search-box">
|
||||
<el-input v-model="searchModel.keyWord" placeholder="请输入套餐名称/标题" clearable size="small">
|
||||
<el-button slot="append" icon="el-icon-search" @click="get"></el-button>
|
||||
@@ -134,7 +134,7 @@ export default {
|
||||
this.current.UserId=this.$route.query.id;
|
||||
this.currentDiscount.userId=this.$route.query.id;
|
||||
this.get();
|
||||
// this.getProductDiscounts();
|
||||
this.getProductDiscounts();
|
||||
},
|
||||
methods: {
|
||||
get() {
|
||||
@@ -181,7 +181,7 @@ export default {
|
||||
return ;
|
||||
}
|
||||
this.$api
|
||||
.post("course/v1/scheme/SetUserDiscount",this.currentDiscount)
|
||||
.post(this.$api.phpURL + "agent/agent/setPriceDiscount",this.currentDiscount)
|
||||
.then(res => {
|
||||
this.showDialogDiscount=false;
|
||||
this.get();
|
||||
|
||||
Reference in New Issue
Block a user