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