平板端快衣店
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
12 KiB

2 months ago
<view class="page1"><view style="width:100%;background:#fff;position:fixed;top:0;z-index:99;height:70px;display:flex;line-height:30px;padding-top:30px;"><view style="padding:0 20px;"><uni-icons vue-id="0676bb71-1" type="left" size="10" data-event-opts="{{[['^tap',[['closePage']]]]}}" bind:tap="__e" bind:__l="__l"></uni-icons></view></view><view class="title-box"><uni-search-bar class="uni-mt-10" vue-id="0676bb71-2" radius="5" placeholder="请输入商品名称" cancelButton="none" data-event-opts="{{[['^blur',[['search']]],['^clear',[['clearSearch']]]]}}" bind:blur="__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:110px;"><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:110px;"><view class="table-th"><view style="width:5%;">#</view><view style="width:10%;">商品图</view><view style="width:15%;">货号</view><view style="width:15%;">名称</view><view style="width:15%;">供应商</view><view style="width:10%;">采购价</view><view style="width:10%;">批发价</view><view style="width:10%;">零售价</view><view style="width:10%;">库存</view></view><view><block wx:for="{{shopList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="table-tr"><view data-event-opts="{{[['tap',[['checkboxChange',['$0'],[[['shopList','',index]]]]]]]}}" style="width:5%;background:#fff;" bindtap="__e"><checkbox-group><label><checkbox class="checkbox" checked="{{item.checked}}"></checkbox></label></checkbox-group></view><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:15%;">{{''+(item.supplierName==null?'暂无':item.supplierName)+''}}</view><view style="width:10%;">{{''+(type!=0?0:item.inStorageStatus==0?'待入库':item.purchasePrice==null?'新商品':item.purchasePrice)+''}}</view><view style="width:10%;">{{''+item.wholesalePrice+''}}</view><view style="width:10%;">{{''+item.price+''}}</view><view style="width:10%;">{{''+(item.stockCount+item.minusStockCount)+''}}</view></view></block><block wx:for="{{shopList1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="table-tr"><view style="width:5%;background:#fff;"><checkbox-group data-event-opts="{{[['tap',[['checkboxChange',['$0'],[[['shopList1','',index]]]]]]]}}" bindtap="__e"><label><checkbox class="checkbox" checked="{{item.checked}}"></checkbox></label></checkbox-group></view><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:15%;">{{''+(item.supplierName==null?'暂无':item.supplierName)+''}}</view><view style="width:10%;">{{''+(type!=0?0:item.inSto