<!--packageI/warehouseFarm/warehouseFarmInventory/warehouseFarmInventory.wxml-->
<view class="top-box">
  <view style="font-size: 18px;padding-bottom:4px;font-weight: 600;">{{ stock != null ? stock : "---" }}</view>
  <view style="color: #666666;font-size: 12px;">商品总计数量</view>
</view>

<view class="page-title">库存明细</view>
<view class="list">
  <view class="list-item" wx:for="{{list}}">
    <view class="list-item-top">
      <view class="name">{{ item.remark }}</view>
      <view class="num">{{ item.nums }}</view>
    </view>
    <view class="list-item-bottom">
      <view class="time">{{ item.created_at }}</view>
    </view>
  </view>
  <view wx:if="{{list.length == 0}}" style="padding: 50px 0;text-align: center;">暂无更多数据 ~</view>
</view>