<import src="index.skeleton.wxml" />
<template is="skeleton" wx:if="{{loading}}" />
<Yl_HeadNav styleType="1" showFiltrate sort='{{content.sort}}' placeholder="{{language['搜索']||'搜索'}}" bindonSearch="onSearch" />
<van-tabs active="{{ active }}" color='var(--assist)' title-active-color='var(--assist)' bind:change="tabsChange">
    <van-tab name="全部" title="{{language['全部']||'全部'}}" />
    <van-tab name="新建" title="{{language['新建']||'新建'}}" />
    <van-tab name="预提交" title="{{language['预提交']||'预提交'}}" />
    <van-tab name="提交" title="{{language['提交']||'提交'}}" />
    <van-tab name="待确认" title="{{language['待确认']||'待确认'}}" />
    <van-tab name="交期确认" title="{{language['交期确认']||'交期确认'}}" />
    <van-tab name="审核" title="{{language['审核']||'审核'}}" />
    <van-tab name="关闭" title="{{language['关闭']||'关闭'}}" />
</van-tabs>
<view class="tips">
    {{language['共计']||'共计'}} {{content.total}} {{language['单，合计']||'单，合计'}} {{amount}} {{language['元']||'元'}}
</view>
<Yl_ListBox id='ListBox' bind:getlist='getList'>
    <List list="{{list}}" userrole="{{userrole}}" />
    <view style="height: 20px;" />
</Yl_ListBox>
<!-- 新建浮动按钮 -->
<Float />
<!-- 筛选条件 -->
<Yl_Filtrate id='Filtrate' list="{{filter}}" bind:handle="handleFilter" dateRange='{{false}}' />