supplyDetail.wxml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <!-- <wxs src='../../utils/formatFuc.wxs' module="utils"></wxs> -->
  2. <view class="supply-order">
  3. <view class="order-title">
  4. <view>补差订单
  5. </view>
  6. <view class="{{orderInfo.state!=2?'non-payment':''}} pay-status">{{(orderInfo.state==0||orderInfo.state==1)?'未支付':(orderInfo.state==2?'已支付':'取消')}}</view>
  7. </view>
  8. <view class="item-line">
  9. <view class="item-left">补差内容:</view>
  10. <view>{{orderInfo.difName}}</view>
  11. </view>
  12. <view class="item-line">
  13. <view class="item-left">金额:</view>
  14. <view class="order-amount">¥ {{orderInfo.difTotalPrice}}</view>
  15. </view>
  16. <view class="item-line">
  17. <view class="item-left">创建时间:</view>
  18. <view class="order-time">{{orderInfo.createTime}}</view>
  19. </view>
  20. </view>
  21. <view class="supply-list">
  22. <view class="supply-item" wx:for="{{itemList}}" wx:key="index">
  23. <view class="item-title">
  24. 补差项{{index+1}}
  25. </view>
  26. <view class="item-line">
  27. <view class="item-left">补差内容:</view>
  28. <view>{{item.itemName}}</view>
  29. </view>
  30. <view class="item-line">
  31. <view class="item-left">份数:</view>
  32. <view>{{item.number}}</view>
  33. </view>
  34. <view class="item-line">
  35. <view class="item-left">金额:</view>
  36. <view>¥ {{item.difTotalPrice}}</view>
  37. </view>
  38. </view>
  39. </view>
  40. <view class="img-wrapper" bindtap="previewImage">
  41. <image src="{{orderInfo.qrUrl}}"></image>
  42. </view>
  43. <view class="supply-bottom" wx:if="{{orderInfo.state==0}}">
  44. <view class="total-amount">
  45. <view class="title">总计补差金额</view>
  46. <view> ¥ <text>{{orderInfo.difTotalPrice}}</text> 元</view>
  47. </view>
  48. <view class="order-button" bindtap="goEdit">修改补差订单</view>
  49. </view>