Commit 28727f51a757f4efd5ab30ac6e271d510de56a4e

Authored by vking
1 parent bed4bba2

运营接单

... ... @@ -13,7 +13,10 @@
<view class="gray-deep-font font30r">用餐人数</view>
<view class="black-font font34r">{{bookInfo.pnum_str||bookInfo.pnum}}人</view>
</view>
<view class="reserve-status-tip" wx:if="{{bookInfo.status!=null}}">
<view class="reserve-status-tip" wx:if="{{bookInfo.status==0}}">
<view class="text">待处理</view>
</view>
<view class="reserve-status-tip" wx:else="">
<image src="http://qn.colorcun.com/custom/lite-yd/image/reserve-status-{{bookInfo.status}}.png"></image>
</view>
<view class="flex-lr order-desk" wx:if="{{bookInfo.type==1}}">
... ...
... ... @@ -128,6 +128,16 @@ view{
width: 82rpx;
height: 52rpx;
}
.reserve-status-tip .text{
font-weight: bold;
font-size: 32rpx;
color: #C51B41;
white-space : nowrap;
transform: rotate(-15deg);
border: solid 2rpx #C51B41;
padding: 5rpx;
width: 100rpx;
}
.reserve-status-tip image{
width: 100%;
height: 100%;
... ...
... ... @@ -36,6 +36,10 @@ Page({
indexOpt:null,
YYYY:'YYYY',
onLoad:async function(opt){
if(opt.rid){
this.reserveId=opt.rid
delete opt.rid
}
this.indexOpt=opt;
mta.Page.init({
"appID":"500667280",
... ... @@ -57,11 +61,6 @@ Page({
}else{
this.sellerid=util.cache('sellerid');
}
if(opt.rid){
return wx.navigateTo({
url:'./b_detail?id='+opt.rid
})
}
//this.sellerid=opt.seller_id ? opt.seller_id : util.cache('sellerid');
let timePickerArray= await bookOrder.getDayTimeSpace();
let speciallist=[
... ... @@ -102,6 +101,13 @@ Page({
}
},1000);
if(this.reserveId){
let url='./b_detail?id='+this.reserveId
this.reserveId=''
return wx.navigateTo({
url:url
})
}
},
async getbooklist(isExport=false){
let time=0;
... ...
... ... @@ -55,7 +55,7 @@
"id": 0,
"name": "预订本-商家1",
"pathName": "pack-book/pages/book/b_index",
"query": "seller_id=689&seller_openid=o9pcQ0cbjRKnRWczcOJaaSRGP1lE&manager_id=500",
"query": "seller_id=689&seller_openid=o9pcQ0cbjRKnRWczcOJaaSRGP1lE&manager_id=500&rid=33284",
"scene": 1001
},
{
... ...