index.wxml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <view class="container">
  2. <tui-tabs tabs="{{navbar}}" currentTab="{{currentTab>1?0:currentTab}}" bind:change="changeTab" itemWidth="50%">
  3. </tui-tabs>
  4. <picker bindchange="bindStorePickerChange" value="{{index}}" range="{{storeList}}" range-key="storeName">
  5. <tui-list-cell hover="{{false}}" wx:if="{{currentTab!=0}}">
  6. <view class="tui-line-cell">
  7. <view class="tui-title">门店</view>
  8. <input placeholder-class="phcolor" class="tui-input" placeholder="请选择门店" type="text" disabled="true"
  9. value="{{searchParams.storeName}}" />
  10. </view>
  11. </tui-list-cell>
  12. </picker>
  13. <tui-list-cell hover="{{false}}">
  14. <view class="tui-line-cell">
  15. <view class="tui-title">订单编号</view>
  16. <input placeholder-class="phcolor" catchinput="serchOrderNo" class="tui-input" data-name="searchParams.orderSn" placeholder="请选择订单编号" type="text"
  17. value="{{searchParams.orderSn}}" />
  18. </view>
  19. </tui-list-cell>
  20. <tui-list-cell hover="{{false}}">
  21. <view class="tui-line-cell">
  22. <view class="tui-title">商品</view>
  23. <input placeholder-class="phcolor" catchinput="serchOrderNo" class="tui-input" data-name="searchParams.productName" placeholder="请选择商品" type="text"
  24. value="{{searchParams.productName}}" />
  25. </view>
  26. </tui-list-cell>
  27. <view class="flex">
  28. <view class="flex-sub bg-grey padding-sm text-center text-bold">商品名称</view>
  29. <view class="flex-sub bg-grey padding-sm text-center text-bold">订单编号</view>
  30. <view class="flex-sub bg-grey padding-sm text-center text-bold">数量</view>
  31. </view>
  32. <block wx:for="{{orderList}}">
  33. <view class="flex">
  34. <view class="flex-sub padding-sm text-center">{{item.productName}}</view>
  35. <view class="flex-sub padding-sm text-center">{{item.orderSn}}</view>
  36. <view class="flex-sub padding-sm text-center">{{item.productNum}}</view>
  37. </view>
  38. </block>
  39. <!--加载loadding-->
  40. <tui-loadmore visible="{{loadding}}" index="{{3}}" type="red"></tui-loadmore>
  41. <tui-nomore visible="{{!pullUpOn}}" bgcolor="#fafafa"></tui-nomore>
  42. <!--加载loadding-->
  43. </view>