Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
92251e2556
@ -131,6 +131,12 @@
|
|||||||
<el-radio label="2">等级会员</el-radio>
|
<el-radio label="2">等级会员</el-radio>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
|
<el-form-item label="会员等级" prop="dieselUserLevel" v-if="form.adaptUserType == 2" >
|
||||||
|
<el-select v-model="form.dieselUserLevel" multiple clearable placeholder="会员等级">
|
||||||
|
<el-option :label="item.name" :value="item.id.toString()" v-for="(item,index) in userGradeList" :key="index" > </el-option>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item label="赠送类型" prop="activeGift" >
|
<el-form-item label="赠送类型" prop="activeGift" >
|
||||||
<el-checkbox-group v-model="form.activeGift">
|
<el-checkbox-group v-model="form.activeGift">
|
||||||
|
|
||||||
@ -336,11 +342,6 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
|
|
||||||
|
|
||||||
<el-form-item label="会员等级" prop="dieselUserLevel" v-if="form.adaptUserType == 2" >
|
|
||||||
<el-select v-model="form.dieselUserLevel" multiple clearable placeholder="会员等级">
|
|
||||||
<el-option :label="item.name" :value="item.id.toString()" v-for="(item,index) in userGradeList" :key="index" > </el-option>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
|
||||||
|
|
||||||
<el-form-item label="参与条件" prop="participationCondition">
|
<el-form-item label="参与条件" prop="participationCondition">
|
||||||
<el-select v-model="form.participationCondition" clearable placeholder="请选择天参与条件">
|
<el-select v-model="form.participationCondition" clearable placeholder="请选择天参与条件">
|
||||||
@ -988,6 +989,10 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
qiyong(row){
|
qiyong(row){
|
||||||
|
if(row.isonline == 1){
|
||||||
|
this.$message.error("下线不可进行操作")
|
||||||
|
return
|
||||||
|
}
|
||||||
getActiveConsumption(row.id).then(response => {
|
getActiveConsumption(row.id).then(response => {
|
||||||
// this.form = response.data;
|
// this.form = response.data;
|
||||||
let data = response.data
|
let data = response.data
|
||||||
@ -1001,6 +1006,10 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
jinyong(row){
|
jinyong(row){
|
||||||
|
if(row.isonline == 1){
|
||||||
|
this.$message.error("下线不可进行操作")
|
||||||
|
return
|
||||||
|
}
|
||||||
getActiveConsumption(row.id).then(response => {
|
getActiveConsumption(row.id).then(response => {
|
||||||
// this.form = response.data;
|
// this.form = response.data;
|
||||||
let data = response.data
|
let data = response.data
|
||||||
|
@ -405,6 +405,11 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
qiyong(row){
|
qiyong(row){
|
||||||
|
//
|
||||||
|
if(row.isonline == 1){
|
||||||
|
this.$message.error("下线不可进行操作")
|
||||||
|
return
|
||||||
|
}
|
||||||
getActiveDiscount(row.id).then(response => {
|
getActiveDiscount(row.id).then(response => {
|
||||||
// this.form = response.data;
|
// this.form = response.data;
|
||||||
let data = response.data
|
let data = response.data
|
||||||
@ -418,6 +423,10 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
jinyong(row){
|
jinyong(row){
|
||||||
|
if(row.isonline == 1){
|
||||||
|
this.$message.error("下线不可进行操作")
|
||||||
|
return
|
||||||
|
}
|
||||||
getActiveDiscount(row.id).then(response => {
|
getActiveDiscount(row.id).then(response => {
|
||||||
// this.form = response.data;
|
// this.form = response.data;
|
||||||
let data = response.data
|
let data = response.data
|
||||||
|
@ -405,6 +405,10 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
qiyong(row){
|
qiyong(row){
|
||||||
|
if(row.isonline == 1){
|
||||||
|
this.$message.error("下线不可进行操作")
|
||||||
|
return
|
||||||
|
}
|
||||||
getActiveFullminus(row.id).then(response => {
|
getActiveFullminus(row.id).then(response => {
|
||||||
// this.form = response.data;
|
// this.form = response.data;
|
||||||
let data = response.data
|
let data = response.data
|
||||||
@ -418,6 +422,10 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
jinyong(row){
|
jinyong(row){
|
||||||
|
if(row.isonline == 1){
|
||||||
|
this.$message.error("下线不可进行操作")
|
||||||
|
return
|
||||||
|
}
|
||||||
getActiveFullminus(row.id).then(response => {
|
getActiveFullminus(row.id).then(response => {
|
||||||
// this.form = response.data;
|
// this.form = response.data;
|
||||||
let data = response.data
|
let data = response.data
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="appconter">
|
||||||
|
|
||||||
<el-card class="box-card">
|
<el-card class="box-card">
|
||||||
<div slot="header" class="clearfix">
|
<div slot="header" class="clearfix">
|
||||||
@ -521,7 +521,7 @@ export default {
|
|||||||
total:0
|
total:0
|
||||||
},
|
},
|
||||||
dtotal:0,
|
dtotal:0,
|
||||||
imagePath:'http://192.168.0.196:8080/',
|
imagePath:process.env.VUE_APP_SERVER_URL,
|
||||||
// 上传地址
|
// 上传地址
|
||||||
uploadAction: process.env.VUE_APP_SERVER_URL + 'backendApi/file/upload',
|
uploadAction: process.env.VUE_APP_SERVER_URL + 'backendApi/file/upload',
|
||||||
// 上传文件列表
|
// 上传文件列表
|
||||||
@ -950,4 +950,8 @@ export default {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
.appconter{
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 15px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -127,14 +127,14 @@
|
|||||||
@click="handleXia(scope.row)"
|
@click="handleXia(scope.row)"
|
||||||
>下线
|
>下线
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button
|
<!-- <el-button-->
|
||||||
size="mini"
|
<!-- size="mini"-->
|
||||||
type="text"
|
<!-- type="text"-->
|
||||||
icon="el-icon-delete"
|
<!-- icon="el-icon-delete"-->
|
||||||
v-if="scope.row.isonline == 1"
|
<!-- v-if="scope.row.isonline == 1"-->
|
||||||
@click="handleShang(scope.row)"
|
<!-- @click="handleShang(scope.row)"-->
|
||||||
>上线
|
<!-- >上线-->
|
||||||
</el-button>
|
<!-- </el-button>-->
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
@ -215,9 +215,11 @@ public class ActiveExchangeServiceImpl implements ActiveExchangeService {
|
|||||||
cardFavorableLambdaQueryWrapper.in(CardFavorable::getOilType,transferDTO.getOilName());
|
cardFavorableLambdaQueryWrapper.in(CardFavorable::getOilType,transferDTO.getOilName());
|
||||||
cardFavorableLambdaQueryWrapper.le(CardFavorable::getSatisfiedAmount,transferDTO.getOilPrice() * transferDTO.getOilLiters());
|
cardFavorableLambdaQueryWrapper.le(CardFavorable::getSatisfiedAmount,transferDTO.getOilPrice() * transferDTO.getOilLiters());
|
||||||
List<CardFavorable> list1 = cardFavorableService.list(cardFavorableLambdaQueryWrapper);
|
List<CardFavorable> list1 = cardFavorableService.list(cardFavorableLambdaQueryWrapper);
|
||||||
|
if (list1.size()>0){
|
||||||
BeanUtils.copyProperties(list1.get(0), exchangeFavorableVO);
|
BeanUtils.copyProperties(list1.get(0), exchangeFavorableVO);
|
||||||
exchangeFavorableVOArrayList.add(exchangeFavorableVO);
|
exchangeFavorableVOArrayList.add(exchangeFavorableVO);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return exchangeFavorableVOArrayList;
|
return exchangeFavorableVOArrayList;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user