<view class="pages writeoffitem data-v-e8d13eae"><view class="writeoffitem-number data-v-e8d13eae"><view class="number data-v-e8d13eae">{{"订单编号："+resdata.ordersn}}</view><view class="time data-v-e8d13eae">{{"预订时间："+resdata.addDate}}</view></view><view class="wrap data-v-e8d13eae"><block wx:if="{{hd_type==2}}"><view class="write-radius scan-hd data-v-e8d13eae"><view class="scan-hd-header data-v-e8d13eae"><view class="scan-hd-header-til data-v-e8d13eae">{{'验证蝴蝶券 '+ticket.length+"/"+resdata.hd_count+''}}</view></view><view class="addhd data-v-e8d13eae"><input class="addhd-input data-v-e8d13eae" placeholder="请输入蝴蝶券号码" type="text" value="{{enterHDnumber}}" data-event-opts="{{[['input',[['__set_model',['','enterHDnumber','$event',[]]]]]]}}" bindinput="__e"/><button class="addhd-button data-v-e8d13eae" type="primary" data-event-opts="{{[['tap',[['enterHD',['$event']]]]]}}" bindtap="__e">添加</button></view><block wx:for="{{ticket}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="scan-hd-list data-v-e8d13eae"><view class="scan-hd-list-item data-v-e8d13eae"><view class="item-til data-v-e8d13eae">{{"蝴蝶券"+(index+1)}}</view><view class="item-con data-v-e8d13eae"><input type="text" disabled="{{true}}" value="{{item}}" class="data-v-e8d13eae"/></view></view></view></block><view class="scan-hd-tip data-v-e8d13eae">{{"还差"+(resdata.hd_count-ticket.length)+"张蝴蝶券"}}</view></view></block><block wx:if="{{hd_type==1}}"><view class="write-radius consumer-code data-v-e8d13eae"><text class="consumer-code-text data-v-e8d13eae">消费码:</text><input class="consumer-code-input data-v-e8d13eae" type="text" value="{{eticketno}}" placeholder="请填写订单消费码" data-event-opts="{{[['input',[['__set_model',['','eticketno','$event',[]]]]]]}}" bindinput="__e"/></view></block><view class="write-radius hotel-info data-v-e8d13eae"><view class="hotel-info-room data-v-e8d13eae"><image class="room-image data-v-e8d13eae" src="{{resdata.litpic}}" mode="scaleToFill"></image><view class="hotel-info-text data-v-e8d13eae"><view class="hotel-info-text-item hotel-info-text-hotel data-v-e8d13eae">{{hotelname}}</view><view class="hotel-info-text-item hotel-info-text-room data-v-e8d13eae">{{roomname}}</view><view class="hotel-info-text-item hotel-info-text-service data-v-e8d13eae"><block wx:if="{{breakfirst}}"><text class="hotel-info-text-service-item data-v-e8d13eae">{{breakfirst}}</text></block><block wx:if="{{roomwindow}}"><text class="hotel-info-text-service-item data-v-e8d13eae">{{roomwindow}}</text></block><block wx:if="{{roomstyle}}"><text class="hotel-info-text-service-item data-v-e8d13eae">{{roomstyle}}</text></block></view></view></view><view class="room-detail data-v-e8d13eae"><view class="room-detail-item room-detail-time data-v-e8d13eae"><view class="room-detail-time-data data-v-e8d13eae">{{'入住：'+resdata.usedate+"    离店："+resdata.departdate+''}}</view><view class="room-detail-time-total data-v-e8d13eae">{{'共'+havenight+'晚'}}</view></view></view></view><view class="write-radius contact-info data-v-e8d13eae"><view class="contact-info-item contact-info-name data-v-e8d13eae"><view class="contact-info-item-til data-v-e8d13eae">联系人：</view><view class="contact-info-item-con data-v-e8d13eae">蝴蝶旅居</view></view><view class="contact-info-item contact-info-phone data-v-e8d13eae"><view class="contact-info-item-til data-v-e8d13eae">联系电话：</view><view class="contact-info-item-con data-v-e8d13eae">13984111111</view></view></view></view><view class="bottom-btn-wrap data-v-e8d13eae"><button class="bottom-btn data-v-e8d13eae" type="primary" data-event-opts="{{[['tap',[['writeoff',['$event']]]]]}}" bindtap="__e">核销</button></view></view>