alterReservation.wxml
3.7 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
<!--pack-book/pages/reservation/alterReservation.wxml-->
<nav id="nav" backgroundColor="#199095" color="#fefefe">变更预订</nav>
<view class="topWrap">
<view class="dateInfo" bind:tap="showDateModal">
<view class="threeDays font40r">{{threeText}}</view>
<view class="dateText font32r">{{date}}</view>
<view class="dateText1 font32r">{{date1}}</view>
<view class="weekText font32r">{{week}}</view>
</view>
<view class="mealPeriod">
<view bind:tap="lunchFun" data-mname="{{item.mname}}" data-ddate="{{item.ddate_solt}}" class="periodItems {{activeSolt == item.ddate_solt ? 'activeBtn' : ''}}" wx:for="{{lunchDinnerList}}" wx:key="index">
<text class="names font28r">{{item.mname}}</text>
<text class="dates font24r">{{item.mdate}}</text>
</view>
</view>
</view>
<view class="wrapBox">
<view class="info">
<view class="font30r maxWidth">预订桌位:</view>
<view class="rightInfo">
<view class="tableItem font32r" wx:for="{{detail.table_photo}}">{{item.name}}</view>
<view class="moreTable font28r" bind:tap="showTable">更多桌位</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="font30r">{{detail.tempsexStr}}</view>
<image class="vectorIcon" src="https://qn.colorcun.com/vectorImgs1.png" mode="" />
</view>
</picker>
</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">
<view class="container">
<textarea bindblur="bindblurCusdem" bindinput="onInput" placeholder="请输入备注或点击快速选择标签" value="{{detail.cusdem}}" maxlength="150"></textarea>
<view class="count">{{currentLength}}/150</view>
</view>
</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>
<view class="btns1">
<button class="btn1 font32r" bindtap="gotoBack">返回</button>
<button class="btn2 font32r" bind:tap="editOrder">确定修改</button>
</view>
<my-modal id="getDate" fadeStyle="slideUp" height="450px">
<view slot="modalName" class="titleModal ">
</view>
<view slot="modalContent">
<view style="width: 100%;height:640rpx;overflow:hidden;">
<calendar id="calendar" calendarConfig="{{calendarConfig}}" bind:afterTapDay="afterTapDay"></calendar>
</view>
<view class="btns">
<view class="btn" bind:tap="regainToday">回到今天</view>
<view class="cancal" bind:tap="closeDateModal">取消</view>
</view>
</view>
</my-modal>