<view class="product-item" wx:for="{{list}}" wx:key="sa_quotedprice_itemsid">
    <navigator class="product" url="#">
        <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">{{item.itemname}}</view>
                <view class="subfield">
                    编号:{{item.itemno}}
                </view>
                <view class="subfield">
                    <text class="line-1" style="margin-right: 6rpx;">型号：{{item.model||' --'}}</text>
                    <text class="line-1">规格：{{item.spec||' --'}}</text>
                </view>
                <view wx:if="{{item.iscustomsize}}" class="subfield" style="margin-top: 8rpx;">
                    定制属性：{{item.customproperties}}
                </view>
                <view class="subfield" style="margin-top: 8rpx;">
                    <text class="price" style="margin-right: 6rpx;">{{handleHide.query(item.price,hidePrice)}}</text>
                    <text style="font-weight: 600;color: #666;">库存：{{item.invbalqty-item.unsoldqty>=0?'有货':'缺货'}}</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">数量<text wx:if="{{item.auxunit}}">({{item.auxunit}})</text>：</view>
                <input disabled='{{disabled}}' bindtap="isEdit" class="input" style="width: 180rpx;" type="digit" value="{{item.qty}}" data-name="qty" data-data="{{item}}" bindblur="onBlur" />
            </view>
            <view class="money">
                金额：<text>{{handleHide.query(item.amount,hidePrice)}}元</text>
            </view>
        </view>

        <view class="row">
            <view style="width: 100%;">
                <view class="label">产品备注:</view>
                <input disabled='{{disabled}}' bindtap="isEdit" class="input" style="flex: 1; text-align: left;padding-left: 10rpx;" type="text" placeholder="备注" value="{{item.remarks}}" data-name="remarks" data-data="{{item}}" bindblur="onBlur" />
            </view>
        </view>
    </view>
</view>
<block wx:if="{{list.length==0}}">
    <Yl_Empty />
    <view style="height: 150rpx;" />
</block>
<wxs src="/utils/hidePrice.wxs" module="handleHide" />