洛阳学员端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
964 B

10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
  1. <template>
  2. <view class="pageBg">
  3. <view class="pad">
  4. <view class="tps">请与教练协商确认达成一致后填写协商好的退款金额</view>
  5. <myform :info="info" :orderId="orderId"></myform>
  6. </view>
  7. </view>
  8. </template>
  9. <script>
  10. import myform from './comp/myform'
  11. import { applyOrderGet, applyOnlineFund } from '@/config/api.js'
  12. export default {
  13. components: { myform },
  14. data() {
  15. return {
  16. orderId: '',
  17. info: {},
  18. title: '退款申请'
  19. }
  20. },
  21. onLoad(options) {
  22. if(!options.orderId) return
  23. this.orderId = options.orderId
  24. this.applyOrderGetFn()
  25. },
  26. onPullDownRefresh() {
  27. this.applyOrderGetFn()
  28. },
  29. methods: {
  30. async applyOrderGetFn() {
  31. const {data: res} = await applyOrderGet({ orderId: this.orderId})
  32. this.info = res
  33. uni.stopPullDownRefresh()
  34. },
  35. }
  36. }
  37. </script>
  38. <style lang="scss" scoped>
  39. .tps {
  40. font-size: 24rpx;
  41. color: #FF7270;
  42. padding: 20rpx 0;
  43. }
  44. </style>