<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> -->
<!-- <van-tabs active="{{ active }}" color='var(--assist)' title-active-color='var(--assist)' bind:change="tabsChange">
    <van-tab title="全部" name='' />
    <van-tab title="全部未发" name='' />
    <van-tab title="7日未发" name='7' />
    <van-tab title="30日未发" name='30' />
    <van-tab title="90日未发" name='90' />
</van-tabs> -->

<van-tabs active="{{ active }}" color='var(--assist)' title-active-color='var(--assist)' bind:change="tabsChange">
    <van-tab title="全部" name='' />
    <van-tab title="待确认" name='待确认' />
    <van-tab title="待审核" name='待审核' />
    <van-tab title="待发货" name='待发货' />
    <van-tab title="已发货" name='已发货' />
    <van-tab title="已取消" name='已取消' />
</van-tabs>
<view class="top" style="height: 5px;" />
<Yl_ListBox id='ListBox' bind:getlist='getList'>
    <Yl_Empty wx:if="{{list.length==0}}" />
    <view class="item" wx:for="{{list}}" wx:key="sa_orderitemsid">
        <view class="title">
            {{item.type+' '+item.sonum}} / {{item.billdate}}
        </view>
        <!--  <view>
            单据日期：
        </view> -->
        <view class="product">
            <Item userrole='{{userrole}}' item="{{item}}" />
            <Item userrole='{{userrole}}' borderTop wx:for="{{item.productList}}" wx:for-item="it" item="{{it}}" />
        </view>
    </view>
    <view style="height:150rpx;" />
</Yl_ListBox>