This commit is contained in:
cun-nan 2024-03-05 16:20:24 +08:00
parent 05b5cc40b2
commit 825bc8bec6
3 changed files with 9 additions and 9 deletions

View File

@ -171,7 +171,7 @@
<el-popconfirm <el-popconfirm
style="margin-left: 5px" style="margin-left: 5px"
@confirm="Deletesl(scope.row)" @confirm="Deletesl(scope.row)"
title="这是一段内容确定删除吗?"> title="确定删除这条活动配置吗?">
<el-button <el-button
size="mini" size="mini"
type="text" type="text"
@ -996,6 +996,7 @@
deletedelById(resData.id).then(res=>{ deletedelById(resData.id).then(res=>{
console.log(res) console.log(res)
this.getlist()
}) })

View File

@ -382,7 +382,7 @@
<el-col :span="8"> <el-col :span="8">
<el-form-item label="兑换次数" prop="exchangeTimes"> <el-form-item label="兑换次数" prop="exchangeTimes">
<el-input v-model.number="dataForm.exchangeTimes" placeholder="" maxlength="30" style="width: 202px;"> <el-input v-model.number="dataForm.exchangeTimes" placeholder="" maxlength="30" style="width: 202px;">
<template slot="append"></template> <template slot="append"></template>
</el-input> </el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>

View File

@ -585,7 +585,7 @@
</el-row> </el-row>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button @click="dialogVisiblevip = false"> </el-button> <el-button @click="dialogVisiblevip = false"> </el-button>
<el-button type="primary" :disabled="isSure" @click="chooseUser(member)"> </el-button> <el-button type="primary" :disabled="isSure==false" @click="chooseUser(member)"> </el-button>
</span> </span>
</el-dialog> </el-dialog>
@ -1577,7 +1577,7 @@
// //
oilNumberList:[], oilNumberList:[],
// //
isSure:true, isSure:false,
// //
couponAmount:0, couponAmount:0,
// //
@ -1763,7 +1763,7 @@
}, },
// //
async userRecharge() { async userRecharge() {
if (this.isSure){ if (!this.isSure){
// if (this.member){ // if (this.member){
this.$message.error("请先选择会员") this.$message.error("请先选择会员")
return; return;
@ -2866,7 +2866,6 @@
resetMember(){ resetMember(){
this.member = {}; this.member = {};
this.isMember = false; this.isMember = false;
this.isSure = false;
this.map.payUser == ""; this.map.payUser == "";
this.balance = 0; this.balance = 0;
this.oilDiscount = 0; this.oilDiscount = 0;
@ -3449,7 +3448,7 @@
}, },
// //
handleChoose(data) { handleChoose(data) {
this.isSure = false; this.isSure = true;
this.member = data; this.member = data;
if (data.refuelMoney){ if (data.refuelMoney){
this.refuelMoney = JSON.parse(data.refuelMoney) this.refuelMoney = JSON.parse(data.refuelMoney)
@ -3798,7 +3797,7 @@
return; return;
} }
getUserInfoMobile({mobile:this.userNo}).then( response => { getUserInfoMobile({mobile:this.userNo}).then( response => {
if (response.data!=null){ if (response.data){
this.member = response.data this.member = response.data
if (response.data.refuelMoney){ if (response.data.refuelMoney){
this.refuelMoney = JSON.parse(response.data.refuelMoney) this.refuelMoney = JSON.parse(response.data.refuelMoney)
@ -3806,7 +3805,7 @@
this.refuelMoney = null this.refuelMoney = null
} }
this.storeId = response.data.storeId this.storeId = response.data.storeId
this.isSure = false this.isSure = true
}else { }else {
this.$modal.msgError("会员信息不存在") this.$modal.msgError("会员信息不存在")
} }