detail.vue 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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.declareId}}</text>
  9. </view>
  10. <view class="item">
  11. <text class="label">互市区</text>
  12. <text class="desc">{{item.fieldName}}</text>
  13. </view>
  14. <view class="item" style="padding-top: 0px">
  15. <text class="label">申报人</text>
  16. <text class="desc">{{item.declareName}}</text>
  17. </view>
  18. <view class="item" style="padding-top: 0px">
  19. <text class="label">申报时间</text>
  20. <text class="desc">{{item.declTime}}</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">净重(kg)</text>
  32. <text class="desc">{{item.sumNetWt}}</text>
  33. </view>
  34. <view class="item">
  35. <text class="label">毛重(kg)</text>
  36. <text class="desc">{{item.sumGrossWt}}</text>
  37. </view>
  38. <view class="item">
  39. <text class="label">价格(元)</text>
  40. <text class="desc">{{item.sumAmt}}</text>
  41. </view>
  42. <view class="item">
  43. <text class="label">状态</text>
  44. <text class="desc" v-if="item.finishStatus==0">监管中</text>
  45. <text class="desc" v-if="item.finishStatus==1">已完成</text>
  46. </view>
  47. <view class="item">
  48. <text class="label">完成时间</text>
  49. <text class="desc">{{item.finishTime}}</text>
  50. </view>
  51. <view class="item">
  52. <text class="label">边民信息</text>
  53. <text class="desc" style="color: blue;" @click="toPersonDetail(item.id)">详情</text>
  54. </view>
  55. </view>
  56. </view>
  57. </view>
  58. </template>
  59. <script>
  60. export default {
  61. data() {
  62. return {
  63. item: {},
  64. param: {},
  65. };
  66. },
  67. onLoad(e) {
  68. if (e.id) {
  69. this.param.id = e.id
  70. this.http.request({
  71. url: '/level-one-server/app/HtTradeSettlement/getById',
  72. data: this.param,
  73. success: res => {
  74. this.item = res.data.data;
  75. }
  76. });
  77. }
  78. },
  79. methods: {
  80. toPersonDetail(id){
  81. uni.navigateTo({
  82. url: '/pages/market/one/enterprise/person-list?id=' + id
  83. });
  84. }
  85. }
  86. };
  87. </script>
  88. <style lang="scss">
  89. page {
  90. background-color: $pg;
  91. }
  92. </style>