提交 75bf8e4e authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 589bacf2
...@@ -17,8 +17,8 @@ export default { ...@@ -17,8 +17,8 @@ export default {
{ value: '冬季学期(1月11日---4月10日)' } { value: '冬季学期(1月11日---4月10日)' }
], ],
payList: [ payList: [
{ label: '微信支付', value: '1' }, { label: '微信支付', value: '2' },
{ label: '支付宝支付', value: '2' }, { label: '支付宝支付', value: '1' },
{ label: '银行转账', value: '3' } { label: '银行转账', value: '3' }
], ],
submitLoading: false submitLoading: false
...@@ -60,8 +60,8 @@ export default { ...@@ -60,8 +60,8 @@ export default {
// 支付方式 // 支付方式
payText() { payText() {
const map = { const map = {
1: '微信支付', 1: '支付宝支付',
2: '支付宝支付', 2: '微信支付',
3: '银行转账' 3: '银行转账'
} }
return map[this.ruleForm.payment] return map[this.ruleForm.payment]
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<el-checkbox :label="item.id">{{ item.course_name }}</el-checkbox> <el-checkbox :label="item.id">{{ item.course_name }}</el-checkbox>
</div> </div>
</el-checkbox-group> </el-checkbox-group>
<div class="score" v-if="hasPay && detail.form || isView">{{ detail.form.credit_sum_str }}</div> <div class="score" v-if="(hasPay || isView) && detail.form">{{ detail.form.credit_sum_str }}</div>
</el-form-item> </el-form-item>
<template v-if="isView"> <template v-if="isView">
<el-form-item label="支付方式" style="margin: 0" v-if="detail.pay !== -1"> <el-form-item label="支付方式" style="margin: 0" v-if="detail.pay !== -1">
...@@ -124,6 +124,9 @@ export default { ...@@ -124,6 +124,9 @@ export default {
}, },
computed: { computed: {
currentCourseList() { currentCourseList() {
if (this.isView) {
return this.submitedCourseList
}
return this.courseList.concat(this.submitedCourseList) return this.courseList.concat(this.submitedCourseList)
} }
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论