diffOrderDetail.wxml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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="{{orderDiff.state!=2?'non-payment':''}} pay-status">{{(orderDiff.state==0||orderDiff.state==1)?'未支付':(orderDiff.state==2?'已支付':'取消')}}</view>
  7. </view>
  8. <view class="item-line">
  9. <view class="item-left">补差内容:</view>
  10. <view>{{orderDiff.difName}}</view>
  11. </view>
  12. <view class="item-line">
  13. <view class="item-left">金额:</view>
  14. <view class="order-amount">¥ {{orderDiff.difTotalPrice}}</view>
  15. </view>
  16. <view class="item-line">
  17. <view class="item-left">创建时间:</view>
  18. <view class="order-time">{{orderDiff.createTime}}</view>
  19. </view>
  20. </view>
  21. <view class="supply-list">
  22. <view class="supply-item" wx:for="{{diffItemList}}" 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="supply-bottom" wx:if="{{orderDiff.state==0||orderDiff.state==1}}">
  41. <view class="total-amount">
  42. <view class="title">总计补差金额</view>
  43. <view> ¥ <text>{{orderDiff.difTotalPrice}}</text> 元</view>
  44. </view>
  45. <view class="order-button" bindtap="goPay">立即支付</view>
  46. </view>