<van-search shape='round' placeholder="{{language['关键字']||'请输入搜索关键词'}}" use-action-slot bind:clear='onSearch' bind:search="onSearch">
    <navigator style="padding:0 20rpx; color: #666;" url="#" slot="action" bind:tap="onClick">
        <text class="iconfont icon-shaixuan" style="margin-right:10rpx;" />{{language['筛选']||'筛选'}}
    </navigator>
</van-search>
<van-tabs active="{{ active }}" title-active-color='var(--assist)' color='var(--assist)' bind:change="onChange">
    <van-tab wx:for="{{tabs}}" wx:key="id" title="{{language[item.title]||item.title}}" name='{{item.id}}' />
</van-tabs>
<view class="global-total">
    <text wx:if="{{language['总共']}}">{{language['总共']}}：{{total}}</text>
    <text wx:else>总共{{total}}个</text>
</view>
<Yl_ListBox id='ListBox' bind:getlist='getList'>
    <view hidden="{{active!='Receive'}}">
        <Receive id="Receive" />
    </view>
    <view hidden="{{active!='SendOut'}}">
        <SendOut id='SendOut' />
    </view>
</Yl_ListBox>

<block wx:if="{{modelList.length}}">
    <!-- 浮动按钮 -->
    <Yl_FloatingButton wx:if="{{modelList.length==1}}" bindtap="newData" />
    <picker mode="selector" wx:else range="{{modelList}}" range-key='reportname' bindchange='onPickerSelected'>
        <Yl_FloatingButton />
    </picker>
</block>
<Yl_Filtrate1 id='Yl_Filtrate1' dateRange show='{{filterShow}}' list="{{filtratelist}}" bindhandle="handleFilter" />