You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
762 B
46 lines
762 B
<template>
|
|
<view>
|
|
<web-view :src="url"></web-view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import {
|
|
cancelOrderByOrderNo
|
|
} from '../../../../Utils/Api.js'
|
|
export default {
|
|
data() {
|
|
return {
|
|
url: '',
|
|
orderNo:'',
|
|
sourType:''
|
|
}
|
|
},
|
|
onLoad(options) {
|
|
this.url = decodeURIComponent(options.url);
|
|
this.orderNo= options.orderid;
|
|
this.sourType = options.sour;
|
|
// console.log('========'+options.sour);
|
|
},
|
|
onUnload() {
|
|
// if(this.sourType != 'MOBILE'){
|
|
// this.cancelOrderByOrderNo();
|
|
// }
|
|
},
|
|
methods: {
|
|
//取消订单
|
|
cancelOrderByOrderNo() {
|
|
let that = this;
|
|
let params = {
|
|
orderNo: this.orderNo,
|
|
}
|
|
cancelOrderByOrderNo(params).then(res => {
|
|
})
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
|
|
</style>
|
|
|