12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- <wxs src="../../utils/filter.wxs" module="filter"></wxs>
- <view class="container">
- <block wx:for="{{deviceInfo.deviceDetail}}" wx:for-index="idx">
- <view wx:if="{{idx==0}}">
- <tui-list-cell hover="{{false}}">
- <view class="tui-line-cell">
- <view class="text-lg text-bold">设备详情信息</view>
- </view>
- </tui-list-cell>
- <tui-list-cell hover="{{false}}">
- <view class="tui-line-cell">
- <view class="tui-title">设备号:</view>
- <label class="tui-label">{{item.mgVmDevice.deviceSn}}</label>
- </view>
- </tui-list-cell>
- <tui-list-cell hover="{{false}}">
- <view class="tui-line-cell">
- <view class="tui-title">门店名称:</view>
- <label class="tui-label">{{item.mgVmDevice.storeName}}</label>
- </view>
- </tui-list-cell>
- <tui-list-cell hover="{{false}}">
- <view class="tui-line-cell">
- <view class="tui-title">摆放房间:</view>
- <label class="tui-label">{{item.mgVmDevice.deviceLocation}}</label>
- </view>
- </tui-list-cell>
- <tui-list-cell hover="{{false}}">
- <view class="tui-line-cell">
- <view class="tui-title">商品方案:</view>
- <label class="tui-label">{{item.mgVmDevice.schemeName}}</label>
- </view>
- </tui-list-cell>
- <!-- <tui-list-cell hover="{{false}}">
- <view class="tui-line-cell">
- <view class="tui-title">缺货格子:</view>
- <label class="tui-label" style="display:flex;">
- <tui-tag size="small" tui-tag-class="tui-mrbtm" wx:for="{{filter.gridList(item.stockGrid)}}">{{item}}</tui-tag>
- </label>
- </view>
- </tui-list-cell> -->
- </view>
- </block>
- <tui-list-cell padding="0" hover="{{false}}" wx:for="{{deviceInfo.gridList}}">
- <view class="tui-goods-item">
- <image src="{{item.productImg}}" class="tui-goods-img"></image>
- <view class="tui-goods-center">
- <view class="tui-goods-name">{{item.productName}}</view>
- <view class="tui-goods-attr">
- 对应格子:
- <tui-tag size="small" tui-tag-class="tui-mrbtm">{{item.productGrid}}</tui-tag>
- </view>
- <view class="tui-goods-attr">
- <view >可放置数量:{{item.gridCount?item.gridCount:0}}</view>
- </view>
- <view class="tui-goods-attr">
- <view >当前数量:{{item.stockCount?item.stockCount:0}}</view>
- </view>
- <view class="tui-goods-attr">
- <view >补货数量:</view>
- <input placeholder-class="phcolor" class="tui-input" placeholder="请填写补货数量" type="number" value="{{item.repairNum}}"
- bindinput="number" data-name="repairNum" data-index="{{index}}" data-item="{{item}}"/>
- </view>
- </view>
- <view class="tui-price-right">
- <!-- <tui-button data-id="{{item.gridId}}" data-as="{{item.isStock}}" type="primary" size="mini" tui-button-class="tui-mbtm" wx:if="{{item.isStock == 1}}" bindtap="updateIsStock">有货</tui-button>
- <tui-button data-id="{{item.gridId}}" type="danger" data-as="{{item.isStock}}" size="mini" tui-button-class="tui-mbtm" bindtap="updateIsStock" wx:else>缺货</tui-button> -->
- <tui-button data-id="{{item.gridId}}" data-index="{{index}}" data-repairnum="{{item.repairNum}}" type="primary" size="mini" tui-button-class="tui-mbtm" bindtap="updateSkuStock">补货</tui-button>
- </view>
- </view>
- </tui-list-cell>
- </view>
|