shenhe.wxml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!--pages/shenhe/shenhe.wxml-->
  2. <view class="noLogin" wx:if="{{(userInfo && cartList.length == 0) || !userInfo.userId}}">
  3. <image src="/images/list-empty.png" style="width: 260rpx;height: 260rpx;" mode="heightFix"></image>
  4. <!-- <view class="iconfont icon-gouwuchequeshengye1" style="font-size: 150rpx;"></view> -->
  5. <view>空空如也 <text wx:if="{{!userInfo || !userInfo.userId}}" class="iconfont keyboard_arrow_right loginText" bind:tap="toLogin">去登录</text></view>
  6. </view>
  7. <block wx:else>
  8. <view class="fiexd">
  9. <TopTabbar id="TopTabbar" class="topTab" tabList="{{statusAdminList}}" tabIndex="{{checkStatus}}" bind:change="changeTabbar"></TopTabbar>
  10. </view>
  11. <view class="orderList" wx:for="{{orderList}}" wx:key="checkId">
  12. <view class="order">
  13. <view class="checkNumber iconfont icon-a-wodedingdan1" style="position: relative;">
  14. {{item.checkNumber}}
  15. <view style="position: absolute; right: 24rpx; top: 0;">{{statusAdminList[item.checkStatus+1].name}}</view>
  16. </view>
  17. <view class="info">
  18. <view>成本中心:{{item.virtualInventoryName}}</view>
  19. <view>下单时间:{{item.orderTime}}</view>
  20. <view>下单销售:{{item.orderSaleName}}</view>
  21. <view>订单数量:{{item.orderNums}}</view>
  22. <view>商品数量:{{item.productNums}}</view>
  23. </view>
  24. <view class="orderBtn">
  25. <view wx:if="{{item.checkApproveUserId != userInfo.userId && item.checkStatus == 0}}" class="orderBtnItem jvjue" data-item="{{item}}" catch:tap="approve2">终止订单</view>
  26. <view wx:if="{{item.checkApproveUserId != userInfo.userId && item.checkStatus == 0}}" class="orderBtnItem tongyi" data-item="{{item}}" catch:tap="approve">审批通过</view>
  27. <navigator url="/pages/order/admin/info/info?checkId={{item.checkId}}" class="orderBtnItem " data-item="{{item}}">查看详情</navigator>
  28. </view>
  29. </view>
  30. </view>
  31. <view style="text-align: center;margin-top: 20rpx;">
  32. <view wx:if="{{loadding}}" class="iconfont icon-loadding"></view>
  33. <view wx:elif="{{pages == null && orderList.length == 0}}">
  34. <image class="listEmpty" src="/images/list-empty.png"></image>
  35. <view wx:if="{{roleShow}}" class="loadMore" style="margin-top: 20rpx;">啥记录也没有!</view>
  36. <view wx:else class="loadMore" style="margin-top: 20rpx;font-size: 30rpx;">抱歉,您没有审批权限!</view>
  37. </view>
  38. <view wx:elif="{{current < pages}}" class="loadMore" catch:tap="initData">点击加载更多</view>
  39. <view wx:else="" class="noMore">--我也是有底线的--</view>
  40. </view>
  41. <view style="height: 180rpx;"></view>
  42. </block>
  43. <tabbar></tabbar>