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