<timeRange id='TimeRange' dateTypes='{{dateTypes}}' dateType='{{content.dateType}}' bind:onChange='changeDate' />
<Yl_ListBox id='ListBox' bind:getlist='getList'>
	<view style="height: 20rpx;"></view>
	<My_empty wx:if='{{list[0].isEmpty}}' />
	<block wx:else>
		<navigator class="global-card item" wx:for="{{list}}" wx:key="hrid" url='/salesPanel/dataOverview/Costs/SPMEDetail?hrid={{item.hrid}}&amount={{item.amount}}&dateType={{content.dateType}}'>
			<view class="rowindex" style="background-color: {{item.color}};">{{item.rowindex}}</view>
			<view style="width: 300rpx;">
				<view class="name line-1">{{ language[item.name] ||item.name }}</view>
				<view class="depname line-1">{{ language[item.depname] || item.depname }}</view>
			</view>
			<view class="amount">{{item.amount}}</view>
		</navigator>
		<My_empty wx:if="{{list.length==0}}" />
	</block>
</Yl_ListBox>