<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>{{language['项目共']||'项目共'}}{{total}}{{language['个']||'个'}}</view>
</view>

<view style="margin-bottom: 20rpx;" wx:for="{{list}}" wx:key="sa_salestargetid">
    <view class="project">
        <text wx:if="{{YL[year] == '新建'}}" class="icon-shanchu iconfont" data-item="{{item}}" catchtap="deleteItem" />
        <view class="title line-1">
            {{language['项目']||'项目'}}：{{item.projectname}}
        </view>
        <view class="line-1">
            {{language['项目编号']||'项目编号'}}：{{item.projectnum}}
        </view>
        <view class="line-1">
            {{language['项目地址']||'项目地址'}}：{{item.address||'--'}}
        </view>
    </view>
    <view class="target">
        <view>
            <view class="lable">{{language['基本目标金额(万元)']||'基本目标金额(万元)'}}</view>
            <view class="value">{{item.target_l}}</view>
        </view>
        <view>
            <view class="lable">{{language['挑战目标金额(万元)']||'挑战目标金额(万元)'}}</view>
            <view class="value">{{item.target_h}}</view>
        </view>
        <view>
            <view class="lable">{{language['预计签约月份']||'预计签约月份'}}</view>
            <view class="value">{{year+(language['年']||"年")+item.point+(language['月']||"月")}}</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" wx:if="{{YL[year] == '新建'}}">
    <van-button custom-class='but' bindtap="addProject">{{(language['添加']||'添加')+year+(language['年项目']||'年项目')}}</van-button>
</view>
