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.
 
 
 
 
 
 

73 lines
1.9 KiB

  1. <template>
  2. <view class="page">
  3. <view class="welT">基本信息</view>
  4. <l-input title="学号" :value="formData.StuNo" disabled right />
  5. <l-input title="姓名" :value="formData.StuNo" disabled right />
  6. <l-input title="班级" :value="formData.StuNo" disabled right />
  7. <l-input title="系别" :value="formData.StuNo" disabled right />
  8. <view class="welT">缴费项目</view>
  9. <l-input title="代收教材费" :value="formData.StuNo" disabled right />
  10. <l-input title="住宿费" :value="formData.StuNo" disabled right />
  11. <l-input title="应缴合计" :value="formData.StuNo" disabled right />
  12. <view class="welT">本次实缴</view>
  13. <l-input title="代收教材费" :value="formData.StuNo" placeholder="请填写" right />
  14. <l-input title="住宿费" :value="formData.StuNo" placeholder="请填写" right />
  15. <l-input title="应缴合计" :value="formData.StuNo" placeholder="请填写" right />
  16. <view class="btn" @click="submit">支 付</view>
  17. <view class="btn" @click="lookInvoice">查看发票</view>
  18. </view>
  19. </template>
  20. <script>
  21. export default {
  22. data() {
  23. return {
  24. formData:{}
  25. };
  26. },
  27. methods:{
  28. getFormData(){
  29. this.LOADING();
  30. this.HTTP_GET('StuInfoFresh/saveStuInfoFresh', this.queryData,).then(res => {
  31. this.HIDE_LOADING();
  32. if (res) {
  33. this.formData = res
  34. }
  35. });
  36. },
  37. submit(){
  38. this.LOADING('正在提交数据…');
  39. this.HTTP_POST('StuInfoFresh/saveStuInfoFresh', this.queryData,"缴费失败").then(res => {
  40. this.HIDE_LOADING();
  41. this.NAV_TO('./payqrcode?id='+15641654);
  42. if (res) {
  43. this.NAV_TO('./payqrcode');
  44. this.TOAST('缴费成功');
  45. }
  46. });
  47. },
  48. lookInvoice(){
  49. this.NAV_TO("./payInvioce")
  50. }
  51. },
  52. created() {
  53. this.getFormData()
  54. }
  55. };
  56. </script>
  57. <style scoped>
  58. .page{
  59. background-color: #fff;
  60. padding-bottom: 12px;
  61. }
  62. .welT {
  63. font-size: 16px;
  64. line-height: 26px;
  65. padding: 0 12px;
  66. padding-top: 12px;
  67. color: #999;
  68. }
  69. </style>