index.wxml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <!--mHome/pages/settle/list/index.wxml-->
  2. <view class="container" style="padding-bottom: {{ safeBottom }}px;">
  3. <!-- 导航栏 -->
  4. <van-nav-bar custom-style="background-color: #407DB8">
  5. <van-icon slot="left" name="arrow-left" size="25px" color="#fff" bind:click="backToParent"/>
  6. <text slot="title" style="color: #fff;">WMS结算单</text>
  7. </van-nav-bar>
  8. <!-- tabs -->
  9. <van-tabs id="category" active="{{ active }}" swipeable bind:change="onTabChange" color="#2270D9" line-width="20px" title-inactive-color="#333" title-active-color="#407DB8">
  10. <van-tab wx:for="{{ tabs }}" wx:for-item="itm" wx:key="id" id="{{ itm.id }}" title="{{ itm.name }}"/>
  11. </van-tabs>
  12. <view class="list-view">
  13. <view class="list-view__item" wx:for="{{ values }}" wx:key="orderid" wx:for-item="itm" wx:for-index="idx">
  14. <view class="list-view__item__row">
  15. <text selectable="false">日期:{{ itm.paytradedate }}</text>
  16. <text selectable="false">总费用:{{ itm.totalfee }}</text>
  17. </view>
  18. <view class="list-view__item__row">
  19. <text selectable="false">分拣室服务费:{{ itm.servicefee }}</text>
  20. <text selectable="false">仓储费:{{ itm.storagefee }}</text>
  21. </view>
  22. <view class="list-view__item__row">
  23. <text selectable="false">保险费:{{ itm.premium }}</text>
  24. <text selectable="false">分拣室电费:{{ itm.powerfee }}</text>
  25. </view>
  26. <view class="list-view__item__row">
  27. <text selectable="false">报送费{{ itm.customsfee }}</text>
  28. <text selectable="false" wx:if="{{ itm.paystatus === 3 }}">支付时间:{{ itm.paytime }}</text>
  29. <van-button id="{{ itm.orderid }}" wx:if="{{ itm.paystatus === 2 }}" type="info" bind:click="doPayment" size="small" round>支付</van-button>
  30. </view>
  31. </view>
  32. </view>
  33. </view>
  34. <!-- empty -->
  35. <van-empty wx:if="{{ isEmpty }}" class="custom-image" description="无数据"/>