detail.vue 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. <template>
  2. <view>
  3. <view class="cmain">
  4. <view class="box order_detail">
  5. <u-divider text="商铺信息"></u-divider>
  6. <view class="item">
  7. <text class="label">商铺编码</text>
  8. <text class="desc">{{item.shopNo}}</text>
  9. </view>
  10. <view class="item">
  11. <text class="label">商铺名称</text>
  12. <text class="desc">{{item.shopName}}</text>
  13. </view>
  14. <view class="item">
  15. <text class="label">商铺类型</text>
  16. <text class="desc" v-if="item.shopType == 1">中方商铺</text>
  17. <text class="desc" v-if="item.shopType == 2">外国商铺</text>
  18. </view>
  19. <view class="item">
  20. <text class="label">铺主</text>
  21. <text class="desc">{{item.ownerName}}</text>
  22. </view>
  23. <view class="item">
  24. <text class="label">联系方式</text>
  25. <text class="desc">{{item.ownerTel}}</text>
  26. </view>
  27. <view class="item">
  28. <text class="label">营业执照</text>
  29. <text class="desc">{{item.shopSccd}}</text>
  30. </view>
  31. <view class="item">
  32. <text class="label">开户行</text>
  33. <text class="desc">{{item.bank}}</text>
  34. </view>
  35. <view class="item">
  36. <text class="label">开户行账号</text>
  37. <text class="desc">{{item.bankAccount}}</text>
  38. </view>
  39. <view class="item">
  40. <text class="label">互市区</text>
  41. <text class="desc">{{item.tradeAreaName}}</text>
  42. </view>
  43. <view class="item">
  44. <text class="label">经营范围</text>
  45. <text class="desc">{{item.bnsScope}}</text>
  46. </view>
  47. <view class="item">
  48. <text class="label">店铺地址</text>
  49. <text class="desc">{{item.shopAddr}}</text>
  50. </view>
  51. <view class="item">
  52. <text class="label">有效期</text>
  53. <text class="desc">{{item.expiry}}</text>
  54. </view>
  55. <view class="item">
  56. </view>
  57. </view>
  58. </view>
  59. </view>
  60. </template>
  61. <script>
  62. export default {
  63. data() {
  64. return {
  65. item: {}
  66. }
  67. },
  68. onLoad(e) {
  69. if(e.id) {
  70. this.http.request({
  71. url: '/level-one-server/app/TbShop/getDetailById',
  72. data: { id: e.id },
  73. success: res=> {
  74. this.item = res.data.data;
  75. }
  76. })
  77. }
  78. },
  79. methods: {
  80. }
  81. }
  82. </script>
  83. <style lang="scss">
  84. page {
  85. background-color: $pg;
  86. }
  87. </style>