9.4
This commit is contained in:
parent
bfe54b47a6
commit
b4e9ad4c37
@ -88,6 +88,7 @@
|
|||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
|
@click="deleteOil(scope.row.id)"
|
||||||
>删除
|
>删除
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
||||||
@ -407,7 +408,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import {getoilList, getRequestList, postaddList, getID,updateActivePrice} from "./api/separate";
|
import {getoilList, getRequestList, postaddList, getID, updateActivePrice, deleteList} from "./api/separate";
|
||||||
import {oilNumberList1} from "@/api/order/oilnumgun";
|
import {oilNumberList1} from "@/api/order/oilnumgun";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@ -443,13 +444,34 @@ export default {
|
|||||||
// 分时列表
|
// 分时列表
|
||||||
tableData: [],
|
tableData: [],
|
||||||
// 油品列表
|
// 油品列表
|
||||||
oilList: []
|
oilList: [],
|
||||||
|
// 活动规则列表
|
||||||
|
ruleList:[],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getList()
|
this.getList()
|
||||||
|
this.getRuleList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
// 查询活动规则列表
|
||||||
|
getRuleList(){
|
||||||
|
|
||||||
|
},
|
||||||
|
// 删除
|
||||||
|
deleteOil(id){
|
||||||
|
deleteList(id).then(res=>{
|
||||||
|
console.log(res)
|
||||||
|
if(res.code == 200){
|
||||||
|
this.$message({
|
||||||
|
message: '删除成功',
|
||||||
|
type: 'success'
|
||||||
|
})
|
||||||
|
this.getList()
|
||||||
|
}
|
||||||
|
|
||||||
|
})
|
||||||
|
},
|
||||||
// 分时优惠制空
|
// 分时优惠制空
|
||||||
Blank(){
|
Blank(){
|
||||||
this.ruleForm ={
|
this.ruleForm ={
|
||||||
|
Loading…
Reference in New Issue
Block a user