replenishDetail.wxml 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <wxs src="../../utils/filter.wxs" module="filter"></wxs>
  2. <view class="container">
  3. <view class="cu-bar search bg-white margin-bottom-xs">
  4. <view class="search-form round">
  5. <text class="cuIcon-search"></text>
  6. <input type="text" placeholder="输入设备号" confirm-type="search" value="{{deviceSn}}" data-name="deviceSn" catchinput="inputedit"></input>
  7. </view>
  8. <view class="action">
  9. <button class="cu-btn bg-blue shadow-blur round" bindtap="searchInfo">搜索</button>
  10. </view>
  11. </view>
  12. <view class="scan" bindtap="scanCodeEvent">
  13. <view class="scan-img">
  14. <image src="../../static/images/my/saomabuhuo.png"></image>
  15. </view>
  16. <view class="scan-text">扫码补货</view>
  17. </view>
  18. <view class="device-list">
  19. <view class="flex">
  20. <view class="flex-sub bg-grey padding-sm text-center text-bold">设备号</view>
  21. <view class="flex-sub bg-grey padding-sm text-center text-bold">摆放位置</view>
  22. <view class="flex-sub bg-grey padding-sm text-center text-bold">缺货格子</view>
  23. </view>
  24. <block>
  25. <view class="flex" bindtap="toDetail" wx:for="{{deviceInfo.deviceDetail}}">
  26. <view class="flex-sub padding-sm text-center">{{item.mgVmDevice.deviceSn}}</view>
  27. <view class="flex-sub padding-sm text-center">{{item.mgVmDevice.deviceLocation}}</view>
  28. <view class="flex-sub padding-sm text-center" style="display:flex;">
  29. <tui-tag size="small" tui-tag-class="tui-mrbtm" wx:for="{{filter.gridList(item.stockGrid)}}">{{item}}</tui-tag>
  30. <!-- <tui-tag size="small" tui-tag-class="tui-mrbtm">2</tui-tag>
  31. <tui-tag size="small" tui-tag-class="tui-mrbtm">3</tui-tag> -->
  32. </view>
  33. </view>
  34. <view class="flex" wx:for="{{deviceInfo.productList}}">
  35. <view class="flex-sub padding-xs text-center">
  36. <view class="grid-goods">
  37. <image src="{{item.productImg}}" class="grid-goods-img"></image>
  38. <view class="grid-goods-center">
  39. <view class="grid-goods-title">{{item.productName}}</view>
  40. <view class="grid-goods-block">格子号:
  41. <tui-tag size="small" tui-tag-class="tui-mrbtm" wx:for="{{filter.gridList(item.productStockGrid)}}">{{item}}</tui-tag>
  42. </view>
  43. </view>
  44. </view>
  45. </view>
  46. </view>
  47. </block>
  48. </view>
  49. <view class="tui-order-list" wx:for="{{deviceInfo.productList}}">
  50. <view class="tui-order-item">
  51. <tui-list-cell padding="0" bindclick="toEdit">
  52. <view class="tui-goods-item">
  53. <image src="{{item.productImg}}" class="tui-goods-img"></image>
  54. <view class="tui-goods-center">
  55. <view class="tui-goods-name">{{item.productName}}</view>
  56. <view class="tui-goods-grid">适应格子:
  57. <tui-tag size="small" tui-tag-class="tui-mrbtm" wx:for="{{filter.gridList(item.productAdaptGrid)}}">{{item}}</tui-tag></view>
  58. <view class="tui-goods-attr">缺货数量:<text class="text-red">{{item.productStockNum}}</text></view>
  59. </view>
  60. </view>
  61. </tui-list-cell>
  62. </view>
  63. </view>
  64. </view>