<view class='header'>
	<picker mode="date" value='{{content.enddate}}' bindchange='enddateChange'>
		<view class="filtrate-box" hover-class="navigator-hover">
			<view class="iconfont  icon-rili1" />
			{{content.enddate}}
		</view>
	</picker>
	<view class="filtrate-box" hover-class="navigator-hover" bindtap="openFiltrate">
		<view class="iconfont  icon-shaixuan" />
		<view wx:if="{{username}}">
			{{language[username]||username}}_{{language[isleave==1?'在职':'离职']||isleave==1?'在职':'离职'}}
		</view>
		<view wx:else>{{language['筛选']||'筛选'}}</view>
	</view>

	<view class="search-box" hover-class="navigator-hover" bindtap="changeSearchShow">
		<text class="iconfont icon-a-sousuolansousuo" />
	</view>
</view>

<view wx-if="{{searchShow}}">
	<van-transition show="{{ searchShow }}" name='fade' duration='300'>
		<view>
			<van-search focus="{{focus}}" value="{{searchValue}}" placeholder="{{language['请输入关键字']||'请输入关键字'}}" bind:search="onSearch" bind:clear="onClear" bind:change="onChange" />
		</view>
	</van-transition>
</view>
<Yl_ListBox id='ListBox' bind:getlist='getList'>
	<view style='margin-top:20rpx'></view>
	<My_empty wx:if="{{list[0].isEmpty}}" />
	<block wx:else>
		<view class="item global-card" wx:for="{{list}}" wx:key="sa_accountbalanceid" hover-class="navigator-hover" data-item="{{item}}" bind:tap="toDateil">
			<view class="title">{{item.enterprisename || ' --'}}</view>
			<view class="row">{{language['账户名称']||'账户名称'}}：{{item.accountname || '--'}}</view>
			<view class="row">{{language['法人名称']||'法人名称'}}：{{item.contact || '--'}}</view>
			<view class="row">{{language['省市县']||'省市县'}}：{{(item.province + item.city +item.county) || '--'}}</view>
			<view class="row">{{language['信用额度']||'信用额度'}}：{{item.creditquota}}</view>
			<view class="row">{{language['账户余额']||'账户余额'}}：{{item.balance}}</view>
			<view class="but">
				{{language['明细']||'明细'}}
				<text class='iconfont icon-webfanhui' />
			</view>
		</view>
	</block>
</Yl_ListBox>


<Yl_Filtrate1 show='{{showFiltrate}}' list='{{[]}}' dateRange bindhandle="handleFilter">
	<organization slot='head' defaultIsleave='1' dimissionF id='organization' />
</Yl_Filtrate1>