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

2 months ago
<view class="page1"><view style="width:100%;display:flex;border-top:1px solid #eee;border-bottom:1px solid #eee;position:fixed;background:#fff;top:0;z-index:99;"><view class="title-left"><view data-event-opts="{{[['tap',[['goWarnList',['$event']]]]]}}" class="title-left-box" style="color:blue;text-decoration:underline;" bindtap="__e"><text>{{warnMsg.tailWarnCount}}</text><text>库存预警</text></view><view class="title-left-box"><text>{{warnMsg.salesWeekCount}}</text><text>尾货预警</text></view><view data-event-opts="{{[['tap',[['goRuku',['$event']]]]]}}" class="title-left-box" style="color:blue;text-decoration:underline;" bindtap="__e"><text>{{total}}</text><text>待入库</text></view><view class="title-left-box"><view>{{warnMsg.productCount}}</view><view>商品数</view></view><view class="title-left-box"><view data-event-opts="{{[['tap',[['seeStockCount',['$0','$1'],['warnMsg.stockCount','warnMsg.minusStockCount']]]]]}}" bindtap="__e"><view>{{warnMsg.stockCount+warnMsg.minusStockCount}}</view><view>库存数<uni-icons vue-id="e1ca0ff4-1" type="help" size="7" bind:__l="__l"></uni-icons></view></view></view><view data-event-opts="{{[['tap',[['clickModel',['$event']]]]]}}" class="title-left-box" bindtap="__e"><text>{{type==0?warnMsg.stockCost:'0'}}</text><view>库存成本<uni-icons vue-id="e1ca0ff4-2" type="help" size="7" bind:__l="__l"></uni-icons></view></view></view><view class="title-right"><view data-event-opts="{{[['tap',[['onGridClick',['2']]]]]}}" class="title-right-top title-btn" catchtap="__e">新增商品</view><view data-event-opts="{{[['tap',[['onGridClick',['3']]]]]}}" class="title-right-bottom title-btn" catchtap="__e">更多</view></view></view><view class="search"><uni-search-bar class="uni-mt-10" vue-id="e1ca0ff4-3" radius="5" placeholder="商品名称/货号/供应商" cancelButton="none" value="{{searchName}}" data-event-opts="{{[['^input',[['__set_model',['','searchName','$event',[]]],['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: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;overflow:hidden;"><view style="display:flex;height:40px;line-height:40px;background:#C6E2FF;color:#777;text-align:center;"><view style="width:33%;">{{'款数:'+(indexList[categoryIndex].count!=undefined?indexList[categoryIndex].count:0)+''}}</view><view data-event-opts="{{[['tap',[['seeStockCount',['$0','$1'],['indexList.'+categoryIndex+'.stockCount','indexList.'+categoryIndex+'.minusStockCount']]]]]}}" style="width:46%;" catchtap="__e">{{'库存数:'+(indexList[categoryIndex].stockCount!=undefined?indexList[categoryIndex].stockCount+indexList[categoryIndex].minusStockCount:0)+''}}<uni-icons style="padding-right:50rpx;" vue-id="e1ca0ff4-4" type="help" size="5" data-event-opts="{{[['^tap',[['seeStockCount',['$0','$1'],['indexList.'+categoryIndex+'.stockCount','indexList.'+categoryIndex+'.minusStockCount']]]]]}}" catch:tap="__e" bind:__l="__l"></uni-icons></view><view data-event-opts="{{[['tap',[['goodsListSort',['$event']]]]]}}" style="width:17%;position:relative;" catchtap="__e">排序<block wx:if="{{sort==''}}"><uni-icons style="position:absolute;top:-4px;right:25px;" vue-id="e1ca0ff4-5" type="up" size="5" bind:__l="__l"></uni-icons></block><block wx:if="{{sort==''}}"><uni-icons style="position:absolute;top:6px;right:25px;" vue-id="e1ca0ff4-6" type="down" size="5" bind:__l="__l"></uni-icons></block><block wx:if="{{sort!=''&&orderSort=='asc'}}"><uni-icons style="position:absolu