<view class="product-item" wx:for="{{list}}" wx:key="sa_quotedprice_itemsid">
	<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.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.orderminqty||' --'}}</text>
					<text class="line-1" style="margin-right: 6rpx;">订单增量：{{item.orderaddqty||' --'}}</text>
				</view>
				<!-- <view style="margin-top: 8rpx;">
					<text class="price">￥{{item.price}}元</text>
					<text class="old-price" wx:if="{{item.price<item.marketprice}}">￥{{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">单价：{{item.price}}</view>
			</view>
		</view>
		<view class="row">
			<view>
				<view class="label">数量<text wx:if="{{item.unitname}}">({{item.unitname}})</text>：</view>
				<input disabled='{{disabled}}' bindtap="isEdit" class="input" style="width: 240rpx;" type="digit" value="{{item.qty}}" data-name="qty" data-data="{{item}}" bindblur="onBlur" />
			</view>
			<view class="money">
				金额：<text>￥{{item.amount}}元</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.reason}}" data-name="reason" data-data="{{item}}" bindblur="onBlur" />
			</view>
		</view>
	</view>
</view>
<block wx:if="{{list.length==0}}">
	<Yl_Empty />
	<view style="height: 150rpx;" />
</block>