<van-search use-action-slot placeholder='请输入搜索关键词' shape='round' bind:search="onSearch" bind:clear="onSearch" />
<van-tabs active="{{ content.where.type }}" color='var(--assist)' title-active-color='var(--assist)' bind:change="tabsChange">
	<van-tab title="全部" name='' />
	<van-tab title="发货" name='发货' />
	<van-tab title="退货" name='退货' />
</van-tabs>
<view class="head">
	<picker mode="date" value="{{content.where.begindate}}" data-name="begindate" bindchange='changeDate'>{{content.where.begindate||'开始日期'}}</picker>
	<text>-</text>
	<picker mode="date" value="{{content.where.enddate}}" data-name="enddate" bindchange='changeDate'>{{content.where.enddate||'结束日期'}}</picker>
	<text wx:if="{{content.where.begindate||content.where.enddate}}" style="color:var( --assist);" bindtap="initialize">重置</text>
</view>
<Yl_ListBox id='ListBox' bind:getlist='getList'>
	<Yl_Empty wx:if="{{list.length==0}}" /><!--  bindtap="toDetail"  -->
	<navigator url='#' data-item="{{item}}" class="item" wx:for="{{list}}" wx:key="sa_dispatchid">
		<view class="title">
			{{item.type}} / {{item.billno}} / {{item.date}}
		</view>
		<view class="product">
			<Item userrole='{{userrole}}' privacyFieldC='{{privacyFieldC}}' item="{{item}}" />
			<!-- <Item userrole='{{userrole}}' borderTop wx:for="{{item.productList}}" wx:for-item="it" item="{{it}}" /> -->
		</view>
	</navigator>
	<view style="height:150rpx;" />
</Yl_ListBox>

<wxs src="/utils/hidePrice.wxs" module="handleHide" />