|
...
|
...
|
@@ -3,6 +3,7 @@ var mta = require('mta-wechat-analysis') |
|
|
|
import util from '../../utils/util';
|
|
|
|
import App from '../../utils/api';
|
|
|
|
import TP from '../../utils/tpls';
|
|
|
|
import RS from '../../utils/reserveStatus'
|
|
|
|
const {regeneratorRuntime} = global
|
|
|
|
import ST from '../../utils/sms_tpls';
|
|
|
|
Page({
|
|
...
|
...
|
@@ -150,12 +151,7 @@ Page({ |
|
|
|
// detail.cusman_phone='15877556369';
|
|
|
|
// detail.cusman_account='wx:vking';
|
|
|
|
// }
|
|
|
|
let ns = new Date() / 1000
|
|
|
|
detail.hasCancel = detail.status == 4
|
|
|
|
detail.hasOvered = false
|
|
|
|
if (!detail.hasCancel) {
|
|
|
|
detail.hasOvered = ns > detail.ddate || detail.status >= 2
|
|
|
|
}
|
|
|
|
detail=RS.reserve(detail);
|
|
|
|
return detail;
|
|
|
|
},
|
|
|
|
showManager(){
|
...
|
...
|
|