<van-search use-action-slot placeholder='请输入搜索关键词' shape='round' bind:search="onSearch" bind:clear="onSearch" />
<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}}" />
	<navigator url="/packageA/dispatchBill/detail?id={{item.sa_dispatchid}}" class="item" wx:for="{{list}}" wx:key="sa_dispatchid">
		<view class="title">
			{{item.sonum}}
		</view>
		<view>
			出库日期：{{item.closedate||" --"}}
		</view>
		<view>
			产品名称：{{item.itemname||" --"}}
		</view>
		<view>
			产品编码：{{item.itemno||" --"}}
		</view>
		<view>
			订单行号：{{item.rowno}}
		</view>
		<view>
			发货数量：{{item.qty||"0"}}({{item.unitname}})
		</view>
		<view>
			备注：{{item.remarks||" --"}}
		</view>
	</navigator>
	<view style="height:150rpx;" />
</Yl_ListBox>