<view class="product-item" wx:for="{{list}}" wx:key="sa_orderitemsid">
    <navigator class="product" url="#" data-item="{{item}}" bindtap="toProductDetail">
        <view class="mian">
            <view class="img" data-file="{{item.attinfos}}" catchtap="viewImage">
                <van-image width="100%" height="100%" wx:if="{{item.cover}}" src="{{item.cover}}" use-loading-slot lazy-load>
                    <van-loading slot="loading" type="spinner" size="20" vertical />
                </van-image>
                <text wx:else class="err">暂无图片</text>
            </view>
            <view class="dec">
                <view class="title">
                    <text class="line-1">{{item.itemname}}</text>
                    <text class="tag" wx:if="{{item.stockstatus}}">{{item.stockstatus}}</text>
                </view>
                <view class="subfield">
                    {{item.type}}：{{item.sonum}}
                </view>
                <view class="subfield">
                    可开票金额：{{item.uninvoiceamount}}元
                </view>
                <view class="subfield">
                    <text class="line-1" style="margin-right: 6rpx;">型号：{{item.model||' --'}}</text>
                    <text class="line-1">规格：{{item.spec||' --'}}</text>
                </view>
            </view>
            <view wx:if="{{!disabled}}" class="delete" data-item="{{item}}" catchtap="deleteProduct">
                <text class="iconfont icon-guanlian-shanchu" />
            </view>
        </view>
    </navigator>
    <view class="bot">
        <view class="row">
            <view>
                <view class="label">开票金额：{{item.invoiceamount}}元</view>
            </view>
            <view style="flex: 1; justify-content: flex-end;">
                <view class="label">开票数量：</view>
                <input disabled='{{disabled}}' bindtap="isEdit" class="input" style="width: 240rpx;" type="number" value="{{item.invoiceaqty}}" data-data="{{item}}" bindblur="onBlur" />
            </view>
        </view>
    </view>
</view>
<block wx:if="{{list.length==0}}">
    <Yl_Empty />
    <view style="height: 150rpx;" />
</block>