Commit 1981d103dbad0d58791d9ea89ad43a80716002d3

Authored by vking
1 parent afce059f

【一键订C端:安排包间成功,发送邀请函后,订单未到时间,邀请函显示订座已完成】https://www.tapd.cn/57419716/bugtrace/bug…

…s/view?bug_id=1157419716001002595
... ... @@ -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(){
... ...