<block>
    <view class="global-card" style='margin-top:0;'>
        <view class="row" style='margin-bottom:0;'>
            <view class="col" style='background-color: #3874F6;'>
                <view class="label">{{language['产品总数']||'产品总数'}}</view>
                <view class="value">{{list[0].isEmpty?0:content.total || 0}}</view>
            </view>
            <view class="col" style='background-color: #68C23A'>
                <view class="label">{{language['产品总金额']||'产品总金额'}}</view>
                <view class="value">{{list[0].itemSumAmount}}{{language['万']||'万'}}</view>
            </view>
        </view>
    </view>
    <shrink title="产品类别及金额" wx:if="{{!list[0].isEmpty}}" open='{{showList1}}' bind:onChange='shrinkChange1'>
        <view style='padding-top: 20rpx;'>
            <view class="global-card serve-item" wx:for='{{list[0].itemsClassAmount}}' wx:key='itemclassfullname'>
                <view class="title">
                    {{language[item.itemclassfullname]||item.itemclassfullname}}
                </view>
                <view class="line">{{language['金额']||'金额'}}：{{item.itemclassAmount || ' --'}}</view>
            </view>
        </view>
    </shrink>
    <shrink title="产品配置明细" wx:if="{{!list[0].isEmpty}}" open='{{showList}}' bind:onChange='shrinkChange'>
        <view style='padding-top: 20rpx;'>
            <view class="global-card serve-item" wx:for='{{list}}' wx:key='sa_project_itemsid'>
                <view class="title">{{item.itemname}}</view>
                <view class="line">{{language['编号']||'编号'}}：{{item.itemno || ' --'}}</view>
                <view class="line">{{language['品号']||'品号'}}：{{item.erpitemno || ' --'}}</view>
                <view class="line">
                    {{language['型号']||'型号'}}：{{language[item.model]||item.model|| ' --'}}
                </view>
                <block wx:if="{{siteid=='HY'}}">
                    <view class="line">{{language['公称通径']||'公称通径'}}：{{item.caliber || ' --'}}</view>
                    <view class="line">
                        {{language['公称压力']||'公称压力'}}：{{item.nominalpressure || ' --'}}
                    </view>
                </block>
                <view class="line">
                    {{language['规格']||'规格'}}：{{language[item.spec]||item.spec|| ' --'}}
                </view>
                <view class="line">
                    {{language['牌价']||'牌价'}}：{{item.marketprice || '0'}}{{language['元']||'元'}}
                </view>
                <view class="line">{{language['数量']||'数量'}}：{{item.qty || ' --'}}</view>
                <view class="line">
                    {{language['单价']||'单价'}}：{{item.price || '0'}}{{language['元']||'元'}}
                </view>
                <view class="line">
                    {{language['金额']||'金额'}}：{{item.amount || '0'}}{{language['元']||'元'}}
                </view>
                <view class="line">
                    {{language['材质']||'材质'}}：{{language[item.material]||item.material|| ' --'}}
                </view>
                <view class="line">
                    {{language['标准']||'标准'}}：{{language[item.standards]||item.standards|| ' --'}}
                </view>
                <view class="line">
                    {{language['计量单位']||'计量单位'}}：{{language[item.unitname]||item.unitname|| ' --'}}
                </view>
                <view class="line">
                    {{language['产线']||'产线'}}：{{language[item.prodline]||item.prodline|| ' --'}}
                </view>
                <view class="line">
                    {{language['装置']||'装置'}}：{{language[item.device]||item.device|| ' --'}}
                </view>
                <view class="line">
                    {{language['特殊说明']||'特殊说明'}}：{{language[item.specalnote]||item.specalnote|| ' --'}}
                </view>
            </view>
        </view>
    </shrink>
    <My_empty wx:else />
</block>