<timeRange id='TimeRange' dateTypes='{{dateTypes}}' dateType='{{content.dateType}}' bind:onChange='changeDate' />

<filtrate id='Filtrate' iconName='icon-xiangmuzhuangtai' list='{{[]}}' title='费用类型' bind:clickOpen='clickOpen' />

<Yl_ListBox id='ListBox' bind:getlist='getList'>
	<view class="global-card" wx:if='{{!list[0].isEmpty}}'>
		<view class="chart">
			<ec-canvas id="mychart" canvas-id="chart" ec="{{ ec }}"></ec-canvas>
		</view>
		<view class="tips">{{language[tips]||tips}}</view>
	</view>
	<My_empty wx:if='{{list[0].isEmpty}}' />
	<block wx:else>
		<view class="global-card item" wx:for="{{list}}" wx:key="sa_salesfeesid">
			<view class="title">
				<text class="line-1">{{item.billno || " --"}}</text>
			</view>
			<view class="systemapp">{{language[item.systemapp]||item.systemapp}}</view>
			<view class="row">
				<view class="col">{{language['负责人']||'负责人'}}：{{language[item.salesname]||item.salesname ||' --'}}</view>
				<view class="col">{{language['部门']||'部门'}}：{{language[item.depname]||item.depname ||' --'}}</view>
			</view>
			<view class="row">{{language['客户名称']||'客户名称'}}：{{item.enterprisename ||' --'}}</view>
			<view class="row">{{language['项目名称']||'项目名称'}}：{{item.projectname ||' --'}}</view>
			<view class="row">{{language['联系人']||'联系人'}}：{{item.names ||' --'}}</view>
			<view class="row">{{language['费用类型']||'费用类型'}}：<text class="amount">{{item.amount}}</text></view>
			<view class="row">{{language['营销费用(元)']||'营销费用(元)'}}：{{language[item.feestypefullname]||item.feestypefullname ||' --'}}</view>
			<view class="row">{{language['跟进类型']||'跟进类型'}}：{{language[item.type]||item.type ||' --'}}</view>
			<view class="row">{{language['跟进内容']||'跟进内容'}}：{{item.content ||' --'}}</view>
			<view class="row">{{language['跟进时间']||'跟进时间'}}：{{item.createdate ||' --'}}</view>
		</view>
		<My_empty wx:if="{{list.length==0}}" />
	</block>
</Yl_ListBox>

<Yl_Filtrate1 show='{{filterShow}}' rule="{{false}}" list="{{filtratelist}}" bindhandle="handleFilter" />