|
@@ -3,6 +3,10 @@ var uri=require('../../utils/uri.js') |
|
@@ -3,6 +3,10 @@ var uri=require('../../utils/uri.js') |
|
3
|
import App from '../../utils/api';
|
3
|
import App from '../../utils/api';
|
|
4
|
const {regeneratorRuntime} = global
|
4
|
const {regeneratorRuntime} = global
|
|
5
|
Page({
|
5
|
Page({
|
|
|
|
6
|
+ data:{
|
|
|
|
7
|
+ actionSheetHidden:true,
|
|
|
|
8
|
+ actionSheetItems:['客户取消','客户行程改变']
|
|
|
|
9
|
+ },
|
|
6
|
onLoad:function (opt) {
|
10
|
onLoad:function (opt) {
|
|
7
|
util.setBarTitle('预定详情');
|
11
|
util.setBarTitle('预定详情');
|
|
8
|
console.log(opt)
|
12
|
console.log(opt)
|
|
@@ -109,6 +113,14 @@ Page({ |
|
@@ -109,6 +113,14 @@ Page({ |
|
109
|
})
|
113
|
})
|
|
110
|
},
|
114
|
},
|
|
111
|
cancelReserve(){
|
115
|
cancelReserve(){
|
|
112
|
- util.toast('不能取消','none')
|
116
|
+ util.toast('不能取消预订','none');return;
|
|
|
|
117
|
+ this.setData({
|
|
|
|
118
|
+ actionSheetHidden:false
|
|
|
|
119
|
+ })
|
|
|
|
120
|
+ },
|
|
|
|
121
|
+ actionSheetChange(e){
|
|
|
|
122
|
+ this.setData({
|
|
|
|
123
|
+ actionSheetHidden:true
|
|
|
|
124
|
+ })
|
|
113
|
}
|
125
|
}
|
|
114
|
}) |
126
|
}) |