平板端快衣店
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
17 KiB

2 months ago
<view style=";"><view class="title-box" style="height:40px;"><uni-search-bar class="uni-mt-10" vue-id="5ebd5482-1" radius="5" placeholder="商品名称/货号/供应商" cancelButton="none" data-event-opts="{{[['^input',[['search']]],['^clear',[['clearSearch']]]]}}" bind:input="__e" bind:clear="__e" bind:__l="__l"></uni-search-bar></view><view class="content-left" style="width:13%;height:80%;float:left;position:fixed;top:40px;"><block wx:for="{{indexList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{gateType==''}}"><view data-event-opts="{{[['tap',[['clickLeftBtn',[index]]]]]}}" class="{{['left-box',item.parentId?'left-box-hover':'']}}" bindtap="__e"><text class="{{[item.parentId?'red':'']}}" style="width:100%;height:40px;line-height:40px;display:inline-block;overflow:hidden;">{{item.categoryName}}</text></view></block></block></view><view class="content-right" style="width:87%;background:#fff;margin-left:13%;margin-top:40px;"><view class="table"><view class="table-th"><view style="width:10%;">商品图</view><view style="width:15%;">货号</view><view style="width:15%;">名称</view><view style="width:20%;">供应商</view><view style="width:10%;">批发价</view><view style="width:10%;">零售价</view><view style="width:20%;">库存</view></view><block wx:for="{{shopList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toggle',['bottom','$0'],[[['shopList','',index]]]]]]]}}" class="table-tr" bindtap="__e"><view data-event-opts="{{[['tap',[['largeImg',['$0'],[[['shopList','',index]]]]]]]}}" style="width:10%;" catchtap="__e"><block wx:if="{{item.productPicture}}"><image style="border-radius:10px;width:30px;height:30px;margin:0 auto;" src="{{item.productPicture}}" alt class="_img"></image></block><block wx:else><view class="noPic" style="width:100%;">暂无图片</view></block></view><view style="width:15%;">{{''+(item.productSn==null?'':item.productSn)+''}}</view><view style="width:15%;">{{''+(item.productName==null?'暂无':item.productName)+''}}</view><view style="width:20%;">{{''+(item.supplierName==null?'暂无':item.supplierName)+''}}</view><view style="width:10%;">{{''+item.wholesalePrice+''}}</view><view style="width:10%;">{{''+item.price+''}}</view><view data-event-opts="{{[['tap',[['seeStockCount',['$0','$1'],[[['shopList','',index,'stockCount']],[['shopList','',index,'minusStockCount']]]]]]]}}" style="width:20%;" catchtap="__e">{{''+(item.stockCount+item.minusStockCount)+''}}<uni-icons vue-id="{{'5ebd5482-2-'+index}}" type="help" size="7" bind:__l="__l"></uni-icons></view></view></block><block wx:for="{{shopList1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toggle',['bottom','$0'],[[['shopList1','',index]]]]]]]}}" class="table-tr" bindtap="__e"><view data-event-opts="{{[['tap',[['largeImg',['$0'],[[['shopList1','',index]]]]]]]}}" style="width:10%;" catchtap="__e"><block wx:if="{{item.productPicture}}"><image style="border-radius:10px;width:30px;height:30px;margin:0 auto;" src="{{item.productPicture}}" alt class="_img"></image></block><block wx:else><view class="noPic" style="width:100%;">暂无图片</view></block></view><view style="width:15%;">{{''+(item.productSn==null?'':item.productSn)+''}}</view><view style="width:15%;">{{''+(item.productName==null?'暂无':item.productName)+''}}</view><view style="width:20%;">{{''+(item.supplierName==null?'暂无':item.supplierName)+''}}</view><view style="width:10%;">{{''+item.wholesalePrice+''}}</view><view style="width:10%;">{{''+item.price+''}}</view><view data-event-opts="{{[['tap',[['seeStockCount',['$0','$1'],[[['shopList1','',index,'stockCount']],[['shopList1','',index,'minusStockCount']]]]]]]}}" style="width:20%;" catchtap="__e">{{''+(item.stockCount+item.minusStockCount)+''}}</view></view></block></view><u-loadmore vue-id="5ebd5482-3" status="{{status}}" bind:__l="__l"></u-loadmore></view><view class="bottom-box" style="position:fixed;bottom:0;"><view data-event-opts="{{[['tap',[['toggle',['carPopup']]]]]}}" class="bottom-left" bindtap="__