前端
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>
|
||||
</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
|
||||
|
Loading…
Reference in New Issue
Block a user