billDetails.vue 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  1. <template>
  2. <view class="page">
  3. <view class="billView dis f-c a-c ">
  4. <!-- 账单信息 -->
  5. <view class="header dis f-c a-c">
  6. <image class="bankimage" src="/static/image/zgcx.png" mode=""></image>
  7. <!-- 提现银行 -->
  8. <text class="bankName mt-1 mb-2">{{info.bankName}}</text>
  9. <!-- 提现金额 -->
  10. <text class="sum">{{info.amount}}</text>
  11. <!-- 提现状态 -->
  12. <text class="status">{{statusMap(info.status)}}</text>
  13. </view>
  14. <view class="item-cell">
  15. <view class="cell dis j-s">
  16. <text class="title">创建时间</text>
  17. <view class="data font-weight">
  18. {{info.createTime}}
  19. </view>
  20. </view>
  21. <view class="cell dis j-s">
  22. <text class="title">提现账号</text>
  23. <view class="data font-weight" v-if="info.bankCardNum">
  24. {{info.bankName}}({{info.bankCardNum.slice(-4)}}){{info.userName}}
  25. </view>
  26. </view>
  27. <view class="cell dis j-s">
  28. <text class="title">处理进度</text>
  29. <view class="data">
  30. <uni-stepBar :stepList="info.stepList"></uni-stepBar>
  31. </view>
  32. </view>
  33. <view class="cell dis j-s">
  34. <text class="title">审核说明</text>
  35. <view class="data font-weight">
  36. {{info.status==0?'后台人员审核中,请耐心等待':info.status==1?'金额已入账,如有疑问,请联系相关工作人员':info.rejectReason}}
  37. </view>
  38. </view>
  39. <view class="cell dis j-s" v-if="info.status==1 && !info.licenseNo">
  40. <text class="title">付款凭证</text>
  41. <view class="data">
  42. <u-album :singleSize="240" :urls="urls1" keyName="src2"></u-album>
  43. </view>
  44. </view>
  45. </view>
  46. </view>
  47. </view>
  48. </template>
  49. <script>
  50. export default {
  51. data() {
  52. return {
  53. stepList: [{
  54. title: '提交提现申请', // 步骤标题
  55. show: false, // 状态:true-成功, false-失败, null-未完成
  56. time: '2025.02.02 12:22:00'
  57. }, {
  58. title: '财务人员审核', // 步骤标题
  59. show: true, // 状态:true-成功, false-失败, null-未完成
  60. time: '2025.02.02 12:22:00'
  61. }, {
  62. title: '财务人员审核', // 步骤标题
  63. show: false, // 状态:true-成功, false-失败, null-未完成
  64. time: '',
  65. content: '' //驳回原因
  66. }],
  67. urls1: [{
  68. src2: "https://uviewui.com/album/1.jpg",
  69. }, ],
  70. }
  71. },
  72. onShow() {
  73. },
  74. onLoad(options) {
  75. if (options) {
  76. this.info = JSON.parse(options.info);
  77. console.log(this.info)
  78. this.urls1[0].src2 = this.info.paymentVoucher
  79. }
  80. },
  81. methods: {
  82. statusMap(type) {
  83. let MaP = [
  84. '待审核',
  85. '审核通过',
  86. '审核驳回',
  87. ]
  88. return MaP[type]
  89. }
  90. }
  91. }
  92. </script>
  93. <style lang="scss" scoped>
  94. .page {
  95. background-color: #fff;
  96. }
  97. .billView {
  98. padding: 50rpx 40rpx;
  99. box-sizing: border-box;
  100. .header {
  101. .bankimage {
  102. width: 100rpx;
  103. height: 100rpx;
  104. }
  105. .bankName {
  106. font-size: 30rpx;
  107. color: #666;
  108. }
  109. .sum {
  110. font-size: 60rpx;
  111. color: #333;
  112. font-weight: bold;
  113. }
  114. .status {
  115. font-size: 30rpx;
  116. color: #333;
  117. font-weight: bold;
  118. }
  119. }
  120. .item-cell {
  121. width: 100%;
  122. margin-top: 80rpx;
  123. .cell {
  124. margin-bottom: 48rpx;
  125. }
  126. .title {
  127. font-size: 30rpx;
  128. color: #666;
  129. }
  130. .data {
  131. flex: 1;
  132. margin-left: 30rpx;
  133. font-size: 30rpx;
  134. color: #333;
  135. }
  136. }
  137. }
  138. </style>