noticePage.wxml
6.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!--pack-book/pages/reservation/noticePage.wxml-->
<nav id="nav" backgroundColor="#199095" color="#fefefe">预订安排</nav>
<view class="wrap">
<view class="dateBox">
<view class="date">
<view class="font40r">{{detail.rdate}} {{detail.ddate_solt_str}}</view>
<view class="font28r">{{opt.week}} {{opt.date1}}</view>
</view>
<view class="changeBook font20r" bind:tap="gotoAlter">变更预订</view>
</view>
<view class="font24r nums">安排桌位:(共{{detail.table_photo.length}}桌)</view>
<view class="pictureUrl">
<view class="items" wx:for="{{detail.table_photo}}">
<image wx:if="{{item.url}}" src="{{item.url}}" mode="aspectFill" />
<view wx:else class="noUrl">
<image src="https://qn.colorcun.com/photoIcon.png" mode="" />
</view>
<view class="text">{{item.name}}</view>
</view>
</view>
<view class="info">
<view class="infoItem">
<view class="leftInfo font30r">就餐人数:</view>
<input type="number" bindblur="bindblur1" placeholder="选填" class="leftInfo font30r" value="{{detail.actual_pum?detail.actual_pum:'修改'}}"></input>
</view>
<view class="infoItem">
<view class="leftInfo font30r">到店时间:</view>
<picker wx:if="{{detail.ddate && timeList.length>0}}" bindchange="bindPickerChange" value="{{index}}" range="{{timeList}}">
<view class="picker">
<view class="leftInfo font30r">{{detail.ddate}}</view>
</view>
</picker>
</view>
</view>
<view class="info telRowInfo">
<input type="number" data-type="1" bindinput="GetReserveUserFun" bindblur="phoneBlur" maxlength="11" placeholder="预留电话" class="leftInfo font30r" value="{{detail.phone}}"></input>
<view class="telSelseList {{showTelSelect?'show':'hide'}} telSelseList{{activeType}}">
<view class="telItem" wx:for="{{searchlist}}" bind:tap="checkInfo" data-item="{{item}}">
<view>{{item.phone}}</view>
<view>{{item.rname}}{{item.sex=='1'?'先生':item.sex=='2'?'女士':item.sex=='3'?'公司':'贵宾'}}</view>
<view>{{item.nick_name?item.nick_name:'未分配'}}</view>
</view>
</view>
</view>
<view class="info telRowInfo">
<input type="text" data-type="2" bindinput="GetReserveUserFun" bindblur="nameBlur" placeholder="顾客姓名" class="leftInfo font30r" value="{{detail.rname}}"></input>
<picker bindchange="clickType1" value="{{index}}" range="{{nannv}}">
<view class="picker">
<view class="leftInfo font30r">{{detail.tempsexStr}}</view>
<image class="vectorIcon" src="https://qn.colorcun.com/vectorImgs1.png" mode="" />
</view>
</picker>
<picker disabled="{{detail.phone && detail.phone.length =='11'?false:true}}" style="margin-left: 32rpx;" bindchange="clickType2" value="{{index}}" range="{{vips}}">
<view class="picker">
<view class="leftInfo font30r {{detail.is_memberStr =='会员状态未知' ?'editInfoDis':''}}">{{detail.is_memberStr}}</view>
<image class="vectorIcon" src="https://qn.colorcun.com/vectorImgs1.png" mode="" />
</view>
</picker>
</view>
<view class="info">
<view class="infoItem">
<view class="leftInfo font30r">用餐类型</view>
<view bind:tap="checkDataNews" class="leftInfo font30r">{{detail.reserve_type}}
<image class="vectorIcon" src="https://qn.colorcun.com/vectorImgs1.png" mode="" />
</view>
</view>
<view class="infoItem">
<view class="leftInfo font30r">赠券对象:</view>
<picker bindchange="bindPickerChangegive" value="{{indexs}}" range-key="title" range="{{sendCouponList}}">
<view class="picker">
<view class="rightInfo font30r">{{detail.giveStr}}</view>
<image class="vectorIcon" src="https://qn.colorcun.com/vectorImgs1.png" mode="" />
</view>
</picker>
</view>
</view>
<view class="info">
<view class="infoItem infoItem1">
<view class="leftInfo font30r">预订订金:</view>
<input disabled="{{detail.priceStr?true:false}}" type="number" bindblur="bindblur2" class="" placeholder="选填,未填写表示无需支付订金" value="{{detail.priceStr?detail.priceStr:detail.deposit_price}}"></input>
</view>
</view>
<view class="info">
<input type="text" bindblur="bindblurCusdem" class="infoInput font30r" placeholder="备注" value="{{detail.cusdem}}"></input>
</view>
<view class="cusdemBox">
<view class="cusdemItem {{item.check?'cusdemItemActive':''}}" data-item="{{item}}" bind:tap="checkCusdem" wx:for="{{remarksList}}">
{{item.often_use ? item.often_use : item.custom}}
</view>
</view>
<view class="btns">
<button class="btn1 font32r {{detail.phone && detail.phone.length=='11'?'btn1' :'btnDis'}}" disabled="{{detail.phone && detail.phone.length=='11'?false:true}}" bindtap="sendSmsFunc">发短信</button>
<button class="btn2 font32r" open-type="share">微信通知</button>
</view>
</view>
<painter palette="{{wxml}}" style="position: absolute; top: -9999rpx;" bind:imgOK="onImgOK" />
<my-modal id="checkData" fadeStyle="slideUp" height="300px">
<view slot="modalName" class="titleModal">
<view class="font32r" bind:tap="closeCheckDataModal">取消</view>
<view class="font32r texts">选择客户宴请类型</view>
<view class="font32r" bind:tap="confirmFun">确定</view>
</view>
<view slot="modalContent">
<view class="itemBox">
<view bind:tap="checkDataFun" data-item="{{item}}" class="itemsInfo {{activeItem == item?'itemsInfoActive':''}}" wx:for="{{reserveTypeList}}">
{{item}}
</view>
</view>
</view>
</my-modal>