This commit is contained in:
@QQNZX 2024-02-26 17:31:57 +08:00
parent e98e5bf217
commit 7d70f64284
2 changed files with 13 additions and 6 deletions

View File

@ -49,3 +49,11 @@ export function deleteList(id) {
})
}
export function getoilnum(id) {
return request({
url: 'petrolStationManagement/oilNumber/getOilPrice/'+id,
method: 'get',
})
}

View File

@ -188,14 +188,14 @@
<template slot="append">/</template>
</el-input>
</el-form-item>
<el-form-item label="充值金额" prop="rechargeBalance">
<el-form-item label="满足金额" prop="rechargeBalance">
<el-input v-model="ruleForm.rechargeBalance" min="1">
<template slot="append"></template>
</el-input>
</el-form-item>
<el-form-item label="所得升数" prop="incomeLitres">
<el-form-item label="换算升数" prop="incomeLitres">
<el-input v-model="ruleForm.incomeLitres.toFixed(2)">
<template slot="append"></template>
<template slot="append">L</template>
</el-input>
</el-form-item>
<el-form-item label="赠送积分" prop="points">
@ -255,7 +255,7 @@
</template>
<script>
import { getList,oilName,addList,eitList,getById} from "@/api/EventMarketing/oilBlock";
import { getList,oilName,addList,eitList,getById,getoilnum} from "@/api/EventMarketing/oilBlock";
export default {
dicts: ['oil_type'],
name: 'index',
@ -366,16 +366,15 @@
},
methods:{
//
//
radiovalue(lable){
this.oilList = []
oilName(this.queryParams.type).then(res=>{
this.oilList = res.data.records
console.log('我的油站' ,res)
})
this.getlist()
},
getlist(){
this.queryParams.pageNo=this.pageNo