|
@ -45,7 +45,7 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="ol-order-list"> |
|
|
|
|
|
|
|
|
<view class="ol-order-list" v-if="orderList&&orderList.length"> |
|
|
<view class="ool-item" v-for="(e,i) in orderList" :key="i" > |
|
|
<view class="ool-item" v-for="(e,i) in orderList" :key="i" > |
|
|
<reservation-order :order-info="e" v-if="orderType == 3"></reservation-order> |
|
|
<reservation-order :order-info="e" v-if="orderType == 3"></reservation-order> |
|
|
<membership-order :order-info="e" v-if="orderType == 4"></membership-order> |
|
|
<membership-order :order-info="e" v-if="orderType == 4"></membership-order> |
|
@ -71,6 +71,10 @@ |
|
|
</view> --> |
|
|
</view> --> |
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
|
|
|
<view class="ol-order-null" v-else> |
|
|
|
|
|
<image mode="aspectFit" src="/static/images/order_null.png"></image> |
|
|
|
|
|
<view>暂无内容</view> |
|
|
|
|
|
</view> |
|
|
<!-- 分类tab --> |
|
|
<!-- 分类tab --> |
|
|
<view class="ox-dark-mask" v-if="isShowClassify" @click="hideClassify"> |
|
|
<view class="ox-dark-mask" v-if="isShowClassify" @click="hideClassify"> |
|
|
<view class="ol-classify" @click.stop="()=>false"> |
|
|
<view class="ol-classify" @click.stop="()=>false"> |
|
@ -161,12 +165,14 @@ |
|
|
isStoreInfo(){ |
|
|
isStoreInfo(){ |
|
|
let { orderType } = this; |
|
|
let { orderType } = this; |
|
|
return ( |
|
|
return ( |
|
|
orderType == 3 || orderType == 4 || |
|
|
|
|
|
orderType == 1 || orderType == 10 || |
|
|
|
|
|
|
|
|
orderType == 3 || orderType == 4 || |
|
|
|
|
|
orderType == 1 || orderType == 10 || |
|
|
orderType == 18 || orderType == 12 || |
|
|
orderType == 18 || orderType == 12 || |
|
|
orderType == 18 || orderType == 12 || |
|
|
orderType == 18 || orderType == 12 || |
|
|
orderType == 15 || orderType == 16 || |
|
|
orderType == 15 || orderType == 16 || |
|
|
orderType == 8 |
|
|
|
|
|
|
|
|
orderType == 8 || orderType == 7 || |
|
|
|
|
|
orderType == 11 || orderType == 6 || |
|
|
|
|
|
orderType == 9 |
|
|
) |
|
|
) |
|
|
}, |
|
|
}, |
|
|
// 分类列表 |
|
|
// 分类列表 |
|
@ -426,9 +432,10 @@ |
|
|
|
|
|
|
|
|
let { brandInfo, curTabID, periodInfo, orderType, curSelectedStore, appointOrderType, selectedOrderType } = this; |
|
|
let { brandInfo, curTabID, periodInfo, orderType, curSelectedStore, appointOrderType, selectedOrderType } = this; |
|
|
let _curSelectedStore = curSelectedStore || {}; |
|
|
let _curSelectedStore = curSelectedStore || {}; |
|
|
|
|
|
let _startTime = periodInfo.start ? periodInfo.start + ' ' + '00:00:00' : '', _endTime = periodInfo.end ? periodInfo.end + ' ' + '23:59:59' : ''; // 20211026 后端接口需要整形 |
|
|
let _obj = { |
|
|
let _obj = { |
|
|
begin: periodInfo.start || '', |
|
|
|
|
|
end: periodInfo.end || '', |
|
|
|
|
|
|
|
|
begin: _startTime, |
|
|
|
|
|
end: _endTime, |
|
|
status: curTabID, |
|
|
status: curTabID, |
|
|
brand_id: brandInfo.brand.id, |
|
|
brand_id: brandInfo.brand.id, |
|
|
stadium_id: _curSelectedStore.id || '' |
|
|
stadium_id: _curSelectedStore.id || '' |
|
@ -444,8 +451,8 @@ |
|
|
// 助手约玩订单修改, 按后端荣升0430重写接口重新定制字段.后续后端家兴0507重新接手该接口的修改(涉及约玩订单列表及订单详情) |
|
|
// 助手约玩订单修改, 按后端荣升0430重写接口重新定制字段.后续后端家兴0507重新接手该接口的修改(涉及约玩订单列表及订单详情) |
|
|
if(orderType == "10"){ |
|
|
if(orderType == "10"){ |
|
|
_obj['type'] = selectedOrderType; |
|
|
_obj['type'] = selectedOrderType; |
|
|
_obj['filter_start_time'] = periodInfo.start; |
|
|
|
|
|
_obj['filter_end_time'] = periodInfo.end; |
|
|
|
|
|
|
|
|
_obj['filter_start_time'] = _startTime; |
|
|
|
|
|
_obj['filter_end_time'] = _endTime; |
|
|
_obj['pay_status'] = curTabID; |
|
|
_obj['pay_status'] = curTabID; |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
@ -665,6 +672,23 @@ |
|
|
margin-bottom: 24upx; |
|
|
margin-bottom: 24upx; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
.ol-order-null{ |
|
|
|
|
|
padding-top: 114upx; |
|
|
|
|
|
>image{ |
|
|
|
|
|
margin: 0 auto 70upx; |
|
|
|
|
|
display: block; |
|
|
|
|
|
width: 380upx; |
|
|
|
|
|
height: 380upx; |
|
|
|
|
|
} |
|
|
|
|
|
>view{ |
|
|
|
|
|
text-align: center; |
|
|
|
|
|
line-height: 44upx; |
|
|
|
|
|
font-size: 32upx; |
|
|
|
|
|
color: #9A9A9D; |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
.ol-classify{ |
|
|
.ol-classify{ |
|
|
position: absolute; |
|
|
position: absolute; |
|
|
right: 0; |
|
|
right: 0; |
|
|