<view class="head">
    <view class="left">
        <view style="margin-top: 20rpx;">
            {{language['出货预测金额']||'出货预测金额'}}：<text>{{alloutamount||"￥0"}}</text>
        </view>
        <view style="margin-top: 12rpx;">
            {{language['开票预测金额']||'开票预测金额'}}：<text>{{allinvoiceamount||"￥0"}}</text>
        </view>
    </view>
    <view class="expand">
        <navigator wx:if="{{disabled}}" url="#" class="but" bindtap="add">
            <van-icon name="plus" />
        </navigator>
    </view>
</view>

<view class="mian" wx:for="{{list}}" wx:key="sonum">
    <view class="title">
        <text class="projecttype" style="background-color: #3874F6;" wx:if="{{language[item.projecttype]||item.projecttype}}">{{language[item.projecttype]||item.projecttype}}</text>
        <text class="tradefield" style="background-color: #5AB73F;" wx:if="{{item.tradefield}}">{{language[item.tradefield]||item.tradefield}}</text>
        <view>
            {{item.projectname}}
        </view>
        <view class="detele" wx:if="{{disabled}}" catchtap="deleteItem" data-item="{{item}}">
            <text class="iconfont icon-guanlian-shanchu" />
        </view>
    </view>
    <view class="row" style="margin-top: 16rpx;">
        <view class="left">
            {{language['业务员']||'业务员'}}：{{item.name||' --'}}
        </view>
        <view class="right">
            {{language['项目阶段']||'项目阶段'}}：{{item.stagename||' --'}}
        </view>
    </view>
    <view class="row" style="margin-top: 8rpx;">
        <view class="left">
            {{language['预计签约金额']||'预计签约金额'}}：{{item.signamount_due||' --'}}
        </view>
        <view class="right">
            {{language['预计签约时间']||'预计签约时间'}}：{{item.signamount_due||' --'}}
        </view>
    </view>
    <view class="bottom">
        <view>
            <view class="label">
                {{language['出货预测金额(元)']||'出货预测金额(元)'}}：
            </view>
            <input type="digit" value="{{item.outamount}}" disabled="{{!disabled}}" data-name="outamount" data-item="{{item}}" bindblur="onBlur" />
        </view>

        <view>
            <view class="label">
                {{language['开票预测金额(元)']||'开票预测金额(元)'}}：
            </view>
            <input type="digit" value="{{item.invoiceamount}}" disabled="{{!disabled}}" data-name="invoiceamount" data-item="{{item}}" bindblur='onBlur' />
        </view>
    </view>
</view>

<My_empty wx:if="{{!list.length}}" />