<view class="head">
    <!--   <picker mode="date" value="{{year}}" fields='year' bindchange="bindDateChange">
        <view class="picker"><text class="iconfont icon-niandu" style="margin-right: 10rpx; color: #999;" />{{year}}<text class="iconfont icon-daoruxialajiantou" /></view>
    </picker> -->
    <picker bindchange="bindDateChange" value="{{pickerIndex}}" range="{{yearArr}}">
        <view class="picker"><text class="iconfont icon-niandu" style="margin-right: 10rpx; color: #999;" />{{year}}<text class="iconfont icon-daoruxialajiantou" /></view>
    </picker>
    <view>项目共{{total}}个</view>
</view>

<view style="margin-bottom: 20rpx;" wx:for="{{list}}" wx:key="sa_salestargetid">
    <view class="project">
        <text class="icon-shanchu iconfont" data-item="{{item}}" catchtap="deleteItem" />
        <view class="title line-1">
            项目：{{item.projectname}}
        </view>
        <view class="line-1">
            项目编号：{{item.projectnum}}
        </view>
        <view class="line-1">
            项目地址：{{item.address}}
        </view>
    </view>
    <view class="target">
        <view>
            <view class="lable">基本目标金额(万元)</view>
            <view class="value">{{item.target_l}}</view>
        </view>
        <view>
            <view class="lable">挑战目标金额(万元)</view>
            <view class="value">{{item.target_h}}</view>
        </view>
        <view>
            <view class="lable">预计签约月份</view>
            <view class="value">{{year+"年"+item.point+"月"}}</view>
        </view>
    </view>
</view>
<My_empty wx:if="{{list.length==0}}" />
<projectList id='Plist' list='{{projectList}}' showList='{{projectList}}' bindgetResult="getResult" />
<view style="height: 130rpx;" />
<view class="footer">
    <van-button custom-class='but' bindtap="addProject">添加{{year}}年项目</van-button>
</view>