detail.vue 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <template>
  2. <view>
  3. <view class="cmain">
  4. <view class="box order_detail" style="margin-top: 0px">
  5. <u-divider text="订单信息"></u-divider>
  6. <view class="item" style="padding-top: 0px">
  7. <text class="label">订单编号</text>
  8. <text class="desc">{{item.tradeNo}}</text>
  9. </view>
  10. <view class="item">
  11. <text class="label">结算单号</text>
  12. <text class="desc omit">{{ item.settleBillNo }}</text>
  13. </view>
  14. <view class="item">
  15. <text class="label">预申报编号</text>
  16. <text class="desc omit">{{ item.platSeqNo }}</text>
  17. </view>
  18. <view class="item">
  19. <text class="label">买家</text>
  20. <text class="desc omit">{{ item.buyUserName }}</text>
  21. </view>
  22. <view class="item">
  23. <text class="label">车牌号</text>
  24. <text class="desc">{{ item.veNo }}</text>
  25. </view>
  26. <view class="item">
  27. <text class="label">商品名称</text>
  28. <text class="desc">{{ item.goodsNames }}</text>
  29. </view>
  30. <view class="item">
  31. <text class="label">商铺名称</text>
  32. <text class="desc">{{ item.shopName }}</text>
  33. </view>
  34. <view class="item">
  35. <text class="label">净重({{item.goodsUnit}})</text>
  36. <text class="desc">{{ item.netWt }}</text>
  37. </view>
  38. <view class="item">
  39. <text class="label">毛重({{item.goodsUnit}})</text>
  40. <text class="desc">{{ item.grossWt }}</text>
  41. </view>
  42. <view class="item">
  43. <text class="label">申报数量</text>
  44. <text class="desc">{{ item.buyQty }}</text>
  45. </view>
  46. <view class="item">
  47. <text class="label">交易地区名称</text>
  48. <text class="desc">{{ item.tradeAreaName }}</text>
  49. </view>
  50. <view class="item">
  51. <text class="label">申报金额(元)</text>
  52. <text class="desc">¥ {{ item.totalPrice }}</text>
  53. </view>
  54. <view class="item" v-if="item.upPrice&&item.upStatus==2">
  55. <text class="label">上架金额(元)</text>
  56. <text class="desc">¥ {{ item.upPrice }}</text>
  57. </view>
  58. <view class="item" v-if="item.upPrice&&item.upStatus==2">
  59. <text class="label">上架时间</text>
  60. <text class="desc"> {{ item.upTime }}</text>
  61. </view>
  62. </view>
  63. </view>
  64. </view>
  65. </template>
  66. <script>
  67. export default {
  68. data() {
  69. return {
  70. item: {},
  71. param: {},
  72. };
  73. },
  74. onLoad(e) {
  75. if (e.id) {
  76. this.param.orderId = e.id
  77. this.http.request({
  78. url: '/level-one-server/app/TbOrder/orderDetail',
  79. data: this.param,
  80. success: res => {
  81. this.item = res.data.data;
  82. }
  83. });
  84. }
  85. },
  86. methods: {
  87. //查看边民
  88. members(id) {
  89. uni.navigateTo({
  90. url: '/pages/market/one/leader/members?id=' + id
  91. });
  92. }
  93. }
  94. };
  95. </script>
  96. <style lang="scss">
  97. page {
  98. background-color: $pg;
  99. }
  100. </style>