<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">
                    <text class="line-1">{{item.itemname}}</text>
                    <text class="tag" wx:if="{{item.stockstatus}}">{{item.stockstatus}}</text>
                </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 class="subfield">
                    <text class="line-1" style="margin-right: 6rpx;">材质：{{item.material||' --'}}</text>
                    <text class="line-1">标准：{{item.standards||' --'}}</text>
                </view>
                <view class="subfield">
                    <text class="line-1" style="margin-right: 6rpx;">已发数量：{{item.deliedqty||' --'}}</text>
                    <text class="line-1" style="margin-right: 6rpx;">可退数量：{{item.returnqty||' --'}}</text>
                </view>
                <view style="margin-top: 8rpx;">
                    <text class="price">{{item.defaultprice}}元</text>
                    <text class="old-price">{{item.marketprice}}元</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>{{item.defaultamount}}元</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 wx:if="{{item.delivery!=0}}" class="row">
            <view>
                <view class="label">期望交期：</view>
                <picker disabled='{{disabled}}' bindtap="isEdit" mode="date" data-data="{{item}}" bindchange='changeDate'>
                    <view class="input" style="width: 240rpx;display: flex;justify-content: center;">
                        <text wx:if="{{item.needdate }}">{{item.needdate}}</text>
                        <text wx:else style="color: #999;">期望交期</text>
                    </view>
                </picker>
            </view>
            <view class="money">
                回复交期：{{item.deliverydate || ' --'}}
            </view>
        </view>
    </view>
</view>
<block wx:if="{{list.length==0}}">
    <Yl_Empty />
    <view style="height: 150rpx;" />
</block>