<view class="nav">
<!-- 	<picker range='{{querytypes}}' range-key='name' value="{{content.querytype}}" bindchange='querytypeChange'>
		<view class="item" hover-class="navigator-hover">
			<text class="iconfont icon-daoruxialajiantou" />
			{{content.querytype == 0 ? language['按业务员']||'按业务员' : language['按客户']||'按客户'}}
		</view>
	</picker> -->
	<picker range='{{pointsL}}' value="{{content.point}}" bindchange='pointChange'>
		<view class="item" hover-class="navigator-hover">
			<text class="iconfont icon-daoruxialajiantou" />
			{{language[content.point]||content.point}}
		</view>
	</picker>
	<view style="flex: 1;" />
	<view class="item" hover-class="navigator-hover" bind:tap="openFiltrate">
		<text class="iconfont icon-shaixuan" />
		{{language['筛选']||'筛选'}}
	</view>
	<view class="item" style="padding: 0 30rpx;" hover-class="navigator-hover" bind:tap="showSearch">
		<text class="iconfont icon-a-sousuolansousuo" />
	</view>
</view>
<van-transition show="{{ startUsing }}" custom-class="block">
	<van-search custom-class='Yl_search' value="{{ content.condition }}" shape="round" placeholder="{{language['关键字']||'请输入搜索关键词'}}" bind:search='startSearch' bind:clear='onClear' />
</van-transition>


<view class="showdata">
	<view class="item" wx:key="name">
		<view class="name">{{language['总应收(元)']||'总应收(元)'}}</view>
		<view class="value line-1">{{sumtotalamount}}</view>
	</view>
</view>

<view class="table">
	<view class="roof" />
	<Yl_ListBox id='ListBox' scrollX='{{true}}' bind:getlist='getList'>
		<view style="width:{{sumWidth}}rpx;">
			<view class="table-head">
				<view wx:for="{{table}}" style="width: {{item.width+'rpx'}};" wx:key="title">{{language[item.title]||item.title}}</view>
			</view>
			<view class="line" wx:for="{{list}}" wx:key="rowindex">
				<view wx:for="{{table}}" style="width: {{col.width+'rpx'}};" data-item="{{item}}" hover-class="{{col.fun?'navigator-hover':''}}" bind:tap="{{col.fun||''}}" wx:for-item="col" wx:key="title" class="line-1">
					{{item[col.key]||'--'}}
				</view>
			</view>
		</view>
		<Yl_Empty wx:if="{{list.length==0}}" />
	</Yl_ListBox>
</view>

<Yl_Filtrate show='{{showFiltrate}}' list="{{[]}}" bindhandle="handleFilter">
	<organization slot='head' defaultMy id='organization' />
</Yl_Filtrate>