<!--packageA//pages/service_record/service_record.wxml-->
<wxs module="filters" src="../../../utils/filter.wxs"></wxs>
<view class="container">
		<view class="search-container">
			<view class="flex jc_sb">
				<view class="picker-container flex f1">
					<picker class="picker-date" mode="date" start="2015-01-01" end="{{currentDate}}" bindchange="bindDateChange1">
						<view class="picker">{{startDate}}</view>
					</picker>
					<view class="fs28 pdh10">至</view>
					<picker class="picker-date" mode="date" start="2015-01-01" end="{{currentDate}}" bindchange="bindDateChange2">
						<view class="picker">{{endDate}}</view>
					</picker>
				</view>
				<view class="search-btn search-btn2" bindtap="searchOffline">查询</view>
			</view>
		</view>
</view>

<view class="offline-container">
		<view class="offline-list">
			<view class="item" wx:for="{{list.pageData}}">
				<view class="subtitle">服务时间：{{item.Billdate}}</view>
				<view>
					<view class="flex">
						<view class="subitem">
							<view class="key">项目名称</view>
							<view class="val">{{item.ProjectName}}</view>
						</view>
						<view class="subitem">
							<view class="key">服务门店</view>
							<view class="val">{{item.StorageName}}</view>
						</view>
						<view class="subitem">
							<view class="key">剩余次数</view>
							<view class="val">{{item.EndQty}}</view>
						</view>
					</view>
				</view>
			</view>
			<!-- 暂无数据 -->
			<nodata nodataContainer="t-c" wx:if="{{list.pageData.length == 0}}"></nodata>
			<!-- 没有更多了 -->
			<view class="no-more t-c" hidden="{{!noMore}}" wx:if="{{list.pageData.length !== 0}}">- 没有更多了 -</view>
		</view>
</view>



