洛阳学员端
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.
 
 
 
 
 

48 lines
964 B

<template>
<view class="pageBg">
<view class="pad">
<view class="tps">请与教练协商确认达成一致后填写协商好的退款金额</view>
<myform :info="info" :orderId="orderId"></myform>
</view>
</view>
</template>
<script>
import myform from './comp/myform'
import { applyOrderGet, applyOnlineFund } from '@/config/api.js'
export default {
components: { myform },
data() {
return {
orderId: '',
info: {},
title: '退款申请'
}
},
onLoad(options) {
if(!options.orderId) return
this.orderId = options.orderId
this.applyOrderGetFn()
},
onPullDownRefresh() {
this.applyOrderGetFn()
},
methods: {
async applyOrderGetFn() {
const {data: res} = await applyOrderGet({ orderId: this.orderId})
this.info = res
uni.stopPullDownRefresh()
},
}
}
</script>
<style lang="scss" scoped>
.tps {
font-size: 24rpx;
color: #FF7270;
padding: 20rpx 0;
}
</style>