前端
This commit is contained in:
parent
e98e5bf217
commit
7d70f64284
@ -49,3 +49,11 @@ export function deleteList(id) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export function getoilnum(id) {
|
||||||
|
return request({
|
||||||
|
url: 'petrolStationManagement/oilNumber/getOilPrice/'+id,
|
||||||
|
method: 'get',
|
||||||
|
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
@ -188,14 +188,14 @@
|
|||||||
<template slot="append">元/升</template>
|
<template slot="append">元/升</template>
|
||||||
</el-input>
|
</el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="充值金额" prop="rechargeBalance">
|
<el-form-item label="满足金额" prop="rechargeBalance">
|
||||||
<el-input v-model="ruleForm.rechargeBalance" min="1">
|
<el-input v-model="ruleForm.rechargeBalance" min="1">
|
||||||
<template slot="append">元</template>
|
<template slot="append">元</template>
|
||||||
</el-input>
|
</el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="所得升数" prop="incomeLitres">
|
<el-form-item label="换算升数" prop="incomeLitres">
|
||||||
<el-input v-model="ruleForm.incomeLitres.toFixed(2)">
|
<el-input v-model="ruleForm.incomeLitres.toFixed(2)">
|
||||||
<template slot="append">升</template>
|
<template slot="append">L</template>
|
||||||
</el-input>
|
</el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="赠送积分" prop="points">
|
<el-form-item label="赠送积分" prop="points">
|
||||||
@ -255,7 +255,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getList,oilName,addList,eitList,getById} from "@/api/EventMarketing/oilBlock";
|
import { getList,oilName,addList,eitList,getById,getoilnum} from "@/api/EventMarketing/oilBlock";
|
||||||
export default {
|
export default {
|
||||||
dicts: ['oil_type'],
|
dicts: ['oil_type'],
|
||||||
name: 'index',
|
name: 'index',
|
||||||
@ -366,16 +366,15 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
methods:{
|
methods:{
|
||||||
|
//
|
||||||
//
|
//
|
||||||
radiovalue(lable){
|
radiovalue(lable){
|
||||||
|
|
||||||
this.oilList = []
|
this.oilList = []
|
||||||
oilName(this.queryParams.type).then(res=>{
|
oilName(this.queryParams.type).then(res=>{
|
||||||
this.oilList = res.data.records
|
this.oilList = res.data.records
|
||||||
console.log('我的油站' ,res)
|
console.log('我的油站' ,res)
|
||||||
})
|
})
|
||||||
this.getlist()
|
this.getlist()
|
||||||
|
|
||||||
},
|
},
|
||||||
getlist(){
|
getlist(){
|
||||||
this.queryParams.pageNo=this.pageNo
|
this.queryParams.pageNo=this.pageNo
|
||||||
|
Loading…
Reference in New Issue
Block a user