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
18 KiB
1 line
18 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" style="flex-direction:inherit;width:66%;"><view class="shop-box"><view>{{warnMsg.productCount}}</view><view>商品数</view></view><view data-event-opts="{{[['tap',[['seeStockCount',['$0','$1'],['warnMsg.stockCount','warnMsg.minusStockCount']]]]]}}" class="shop-box" bindtap="__e"><view>{{warnMsg.stockCount+warnMsg.minusStockCount}}</view><view> 库存数 <uni-icons vue-id="e1ca0ff4-1" type="help" size="15" bind:__l="__l"></uni-icons></view></view></view><view data-event-opts="{{[['tap',[['clickModel',['$event']]]]]}}" class="title-left-box" style="width:34%;" bindtap="__e"><text>{{type==0?warnMsg.stockCost:'0'}}</text><view> 库存成本 <uni-icons vue-id="e1ca0ff4-2" type="help" size="15" 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="height:78%;float:left;position:fixed;top:23%;"><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:90rpx;line-height:90rpx;display:inline-block;overflow:hidden;">{{item.categoryName}}</text></view></block></block></view><view class="content-right" style="width:570rpx;background:#fff;margin-left:170rpx;margin-top:300rpx;"><view style="display:flex;height:60rpx;line-height:60rpx;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="15" 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:0;" vue-id="e1ca0ff4-5" type="up" size="14" bind:__l="__l"></uni-icons></block><block wx:if="{{sort==''}}"><uni-icons style="position:absolute;top:6px;right:0;" vue-id="e1ca0ff4-6" type="down" size="14" bind:__l="__l"></uni-icons></block><block wx:if="{
|