<navigator url="/packageA/orderForm/detail?id={{item.sa_orderid}}" class="item" wx:for="{{list}}" wx:key="sonum">
    <view class="top">
        <view class="tags">
            <text wx:if="{{item.type}}">{{language[item.type]||item.type}}</text>
            <text wx:if="{{language[item.brandName]||item.brandName}}">{{language[item.brandname]||item.brandname}}</text>
            <text wx:if="{{item.tradefield}}">{{language[item.tradefield]||item.tradefield}}</text>
        </view>
        <view class="statu" style="color: {{sColors[item.status]}};">
            {{language[item.status]||item.status}}
        </view>
    </view>
    <view class="content">
        <view class="num">
            {{language[item.type]||item.type}}：{{item.sonum}}
        </view>
        <view class="exp" wx:if="{{userrole!='经销商'}}">
            {{language['企业']||'企业'}}：{{item.enterprisename || ' --'}}
        </view>
        <view class="exp">
            {{language['区域经理']||'区域经理'}}：{{item.salename || ' --'}}
        </view>
        <view class="exp">
            {{language['单据时间']||'单据时间'}}：{{item.billdate}}
        </view>
        <view class="exp">
            {{language['共计']||'共计'}}{{item.qty}}{{language['件商品']||'件商品'}}
        </view>
        <view class="amount">
            {{language['合计']||'合计'}}:{{item.defaultamount}}{{language['元']||'元'}}
        </view>
    </view>
    <view wx:if="{{item.contacts.length||item.name}}" class="bottom line-1">
        <text style="margin-right: 10rpx;">{{item.contacts[0].name||item.name}}</text>
        <text style="margin-right: 10rpx;">{{item.contacts[0].phonenumber||item.phonenumber}}</text>
        <text style="margin-right: 10rpx;">{{item.contacts[0].address||item.address}}</text>
    </view>

    <view wx:else class="bottom">
        {{language['暂无收货人']||'暂无收货人'}}
    </view>
</navigator>

<Yl_Empty wx:if="{{list.length==0}}" />