<!-- 过滤 -->
<view class="filtrate">
    <picker bindchange="bindTradefieldChange" value="{{tradefieldIndex}}" range-key='tradefield' range="{{list}}">
        <view class="picker">{{list[tradefieldIndex].tradefield}}<text class="iconfont icon-daoruxialajiantou" /></view>
    </picker>
    <view catchtap="openActions">
        {{actionSheet}}<text class="iconfont icon-daoruxialajiantou" />
    </view>
    <view class="picker"><text class="iconfont icon-niandu" style="margin-right: 10rpx; color: #999;" />{{content.year}}<text class="iconfont icon-daoruxialajiantou" /></view>
    <!-- <picker bindchange="bindDateChange" value="{{pickerIndex}}" range="{{projectYearList}}">
    </picker> -->
</view>
<van-action-sheet show="{{ showActions }}" actions="{{ actions }}" bind:select='select' bind:cancel='cancelActions' cancel-text="取消" />
<view class="box">
    <view class="label">
        <text class="iconfont icon-a-shouyeshujugaikuangzhanshishuju" />
        <text>目标完成情况（元）</text>
    </view>
    <view class="content">
        <view class="col1">
            <view style="margin-top: 62rpx;">年度:</view>
            <block wx:if="{{content.year==year}}">
                <view>本季:</view>
                <view>本月:</view>
            </block>
        </view>
        <view class="col2">
            <view class="title">
                <view>基本目标</view>
                <view>挑战目标</view>
                <view>实际完成</view>
                <view>基本完成率</view>
            </view>
            <view class="row">
                <view>{{targetYear.yl}}</view>
                <view>{{targetYear.yh}}</view>
                <view><text>{{targetYear.ya}}</text></view>
                <view><text>{{targetYear.jl}}</text></view>
            </view>
            <block wx:if="{{content.year==year}}">
                <view class="row">
                    <view>{{targetSeason.sl}}</view>
                    <view>{{targetSeason.sh}}</view>
                    <view><text>{{targetSeason.sa}}</text></view>
                    <view><text>{{targetSeason.jl}}</text></view>
                </view>
                <view class="row">
                    <view>{{targetMonth.ml}}</view>
                    <view>{{targetMonth.mh}}</view>
                    <view><text>{{targetMonth.ma}}</text></view>
                    <view><text>{{targetMonth.jl}}</text></view>
                </view>
            </block>
        </view>
    </view>
    <view style="height:20rpx" />
</view>
<!-- 目标完成情况 -->
<view class="box">
    <view class="label">
        <text class="iconfont icon-a-shouyeshujugaikuangzhanshishuju" />
        <text>目标完成情况（元）</text>
    </view>
    <brokenLine id='line' />
</view>
<!-- 目标完成率 
<view class="box">
    <view class="label">
        <text class="iconfont icon-a-shouyeshujugaikuangzhanshishuju" />
        <text>目标完成率（实际相对目标的完成率）</text>
    </view>
    <histogram id='histogram' />
</view>
<view style="height: 40rpx;" />-->
