parkingInvoice.vue 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. <template>
  2. <scroll-view class="scroll-Y" scroll-y>
  3. <div class="part top">
  4. <div class="part-item lines header">
  5. <span class="part-item-key">抬头</span>
  6. <div class="part-item-value invoiceTitleName" @click="showHeader">
  7. {{ order.invoiceTitle.titleName || 'order' }}
  8. <van-icon name="arrow" size="10" color="#D8DAE0" />
  9. </div>
  10. </div>
  11. <div class="part-item">
  12. <span class="part-item-key">开票订单号</span>
  13. <span class="part-item-value">{{ order.invoiceOrderNo }}</span>
  14. </div>
  15. <div class="part-item">
  16. <span class="part-item-key">发票类型</span>
  17. <span class="part-item-value">增值税普通发票</span>
  18. </div>
  19. <div class="part-item">
  20. <span class="part-item-key">开票日期</span>
  21. <span class="part-item-value">{{
  22. order.invoiceDate ? order.invoiceDate : '-'
  23. }}</span>
  24. </div>
  25. <div class="part-item">
  26. <span class="part-item-key">发票号码</span>
  27. <span class="part-item-value">{{
  28. order.invoiceNumber ? order.invoiceNumber : '-'
  29. }}</span>
  30. </div>
  31. <div class="part-item">
  32. <span class="part-item-key">发票代码</span>
  33. <span class="part-item-value">{{
  34. order.invoiceCode ? order.invoiceCode : '-'
  35. }}</span>
  36. </div>
  37. <div class="part-item">
  38. <span class="part-item-key">备注</span>
  39. <span class="part-item-value">{{ order.remark }}</span>
  40. </div>
  41. </div>
  42. <div class="part middle">
  43. <div class="part-item">
  44. <span class="part-item-key">总金额</span>
  45. <span class="part-item-value"
  46. ><span class="purple">¥{{ order.invoiceTotalAmount }}</span></span
  47. >
  48. </div>
  49. <div class="part-item">
  50. <span class="part-item-key"
  51. >共<span class="purple-order">{{ order.totalOrderCount }}笔</span
  52. >缴费记录</span
  53. >
  54. <div class="part-item-value" @click="gotoRecordDetail">
  55. <span>查看详情</span>
  56. <img class="invoice-header-arrow" :src="arrowIcon" mode="widthFix" />
  57. </div>
  58. </div>
  59. </div>
  60. <div class="footer">
  61. <div class="btn" @click="showInvoiceDetail">查看发票</div>
  62. </div>
  63. </scroll-view>
  64. </template>
  65. <script>
  66. import parkingInvoiceJs from '../../../mixins/parkingReceipt/parkingInvoice';
  67. export default {
  68. mixins: [parkingInvoiceJs],
  69. };
  70. </script>
  71. <style lang="less" scoped>
  72. .scroll-Y {
  73. width: 100%;
  74. display: flex;
  75. flex-direction: column;
  76. height: 100vh;
  77. background: #f4f7ff;
  78. padding: 20px;
  79. box-sizing: border-box;
  80. .part {
  81. padding: 0 30px;
  82. border-radius: 20px;
  83. background: #fafbff;
  84. border-radius: 4px;
  85. border: 1px solid #d8dae0;
  86. .part-item {
  87. display: flex;
  88. justify-content: space-between;
  89. align-items: center;
  90. padding: 20px 0;
  91. box-sizing: border-box;
  92. .part-item-key {
  93. font-size: 30px;
  94. font-weight: 400;
  95. color: #999999;
  96. line-height: 42px;
  97. }
  98. .part-item-value {
  99. color: #6f6f70;
  100. text-align: right;
  101. display: flex;
  102. align-items: center;
  103. &.invoiceTitleName {
  104. font-size: 30px;
  105. font-weight: 400;
  106. color: #333333;
  107. line-height: 42px;
  108. }
  109. > img {
  110. width: 30px;
  111. }
  112. }
  113. }
  114. .tab-title {
  115. color: #676767;
  116. padding: 30px 0px;
  117. }
  118. .lines {
  119. border-bottom: 2px solid #ececec;
  120. }
  121. .invoice-more {
  122. padding-bottom: 8px;
  123. }
  124. }
  125. .top {
  126. padding-top: 20px;
  127. }
  128. .middle {
  129. margin: 20px 0;
  130. > .part-item {
  131. // background-color: #ffffff;
  132. }
  133. .purple {
  134. font-size: 30px;
  135. font-weight: 600;
  136. color: #333333;
  137. line-height: 42px;
  138. }
  139. .purple-order {
  140. color: #064c8a;
  141. }
  142. }
  143. .footer {
  144. padding-top: 20px;
  145. .btn {
  146. // margin: 20px 60px;
  147. text-align: center;
  148. // padding: 20px 0;
  149. height: 90px;
  150. line-height: 90px;
  151. background: #064c8a;
  152. border-radius: 45px;
  153. font-size: 34px;
  154. font-weight: 400;
  155. color: #ffffff;
  156. }
  157. }
  158. }
  159. </style>