|
@@ -56,7 +56,7 @@
|
|
|
<div class="options" v-if="result.payMethod == 21 || result.payMethod == 22 || result.payMethod > 26 || (result.payMethod == 25 && !result.isCopperPipe)">
|
|
|
<div v-for="(con, index) in instrument.config" :key="con.name" :class="[ instrument.config.length > 1 ? 'oc' : '' ]" @click="instrumentF(index)">
|
|
|
<!-- 判断是否是单乐器 -->
|
|
|
- <template v-if="isSingle == 1">
|
|
|
+ <template v-if="isSingle != 1">
|
|
|
<div class="option" v-if="con.marketPrice <= 0 || con.default">
|
|
|
<div class="o_"><i class="check_default" :class="[ con.checked ? 'check_active' : '' ]"></i></div>
|
|
|
<div class="o_bd" v-if="con.marketPrice > 0" key="name">{{ instrument.name }}-<span class="c">{{ con.name }} </span></div>
|
|
@@ -227,7 +227,7 @@ export default {
|
|
|
timestamp: '',
|
|
|
version: '',
|
|
|
},
|
|
|
- isSingle: this.$route.query.isSingle // 是否是双乐器
|
|
|
+ isSingle: 1 // 是否是双乐器,默认是双乐器
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
@@ -244,6 +244,7 @@ export default {
|
|
|
stuId: this.$route.query.stuId
|
|
|
})).then((res) => {
|
|
|
let r = res.data.data
|
|
|
+ this.isSingle = r.is_single_
|
|
|
this.result = {
|
|
|
userId: r.id_, // 学生编号
|
|
|
payMethod: r.fee_type_,
|