|
@@ -33,7 +33,10 @@
|
|
|
<el-select v-model.trim="searchForm.chargeType"
|
|
|
placeholder='请选择收费类型'
|
|
|
clearable>
|
|
|
- <el-option v-for="item in orderType" :key="item.value" :label="item.label" :value="item.value"></el-option>
|
|
|
+ <el-option v-for="item in orderType"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
@@ -172,7 +175,10 @@
|
|
|
:disabled='!isNew'
|
|
|
clearable
|
|
|
filterable>
|
|
|
- <el-option v-for="item in orderType" :key="item.value" :label="item.label" :value="item.value"></el-option>
|
|
|
+ <el-option v-for="item in orderType"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="金额"
|
|
@@ -265,7 +271,10 @@
|
|
|
:disabled='!isNew1'
|
|
|
clearable
|
|
|
filterable>
|
|
|
- <el-option v-for="item in orderType1" :key="item.value" :label="item.label" :value="item.value"></el-option>
|
|
|
+ <el-option v-for="item in orderType1"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="学员编号"
|
|
@@ -334,7 +343,9 @@
|
|
|
width="300px">
|
|
|
<div class="right-code">
|
|
|
<h2 class="title">缴费链接</h2>
|
|
|
- <vue-qr :text="qrCodeUrl" style="width: 100%" :margin="0"></vue-qr>
|
|
|
+ <vue-qr :text="qrCodeUrl"
|
|
|
+ style="width: 100%"
|
|
|
+ :margin="0"></vue-qr>
|
|
|
<!-- <div id="qrcode"
|
|
|
class="qrcode code"
|
|
|
ref="qrCodeUrl"></div> -->
|
|
@@ -378,23 +389,19 @@ export default {
|
|
|
{ label: '声部更改', value: 2 },
|
|
|
{ label: '乐器更换', value: 3 },
|
|
|
{ label: '配件销售', value: 4 },
|
|
|
- { label: '维修费', value: 5 },
|
|
|
- { label: '福袋活动', value: 6 },
|
|
|
{ label: '上门费', value: 7 },
|
|
|
{ label: '账户充值', value: 9 },
|
|
|
{ label: '乐保服务', value: 10 },
|
|
|
- { label: '其它', value: 11 },
|
|
|
],
|
|
|
orderType1: [
|
|
|
{ label: '考级', value: 1 },
|
|
|
{ label: '声部更改', value: 2 },
|
|
|
{ label: '乐器更换', value: 3 },
|
|
|
{ label: '配件销售', value: 4 },
|
|
|
- { label: '维修费', value: 5 },
|
|
|
+
|
|
|
{ label: '上门费', value: 7 },
|
|
|
{ label: '账户充值', value: 9 },
|
|
|
{ label: '乐保服务', value: 10 },
|
|
|
- { label: '其它', value: 11 },
|
|
|
],
|
|
|
maskForm: {
|
|
|
organId: '',
|
|
@@ -529,7 +536,7 @@ export default {
|
|
|
},
|
|
|
lookVisible (row) {
|
|
|
let maskForm = null
|
|
|
- if(row.userId) {
|
|
|
+ if (row.userId) {
|
|
|
maskForm = this.maskForm1
|
|
|
this.isNew1 = false;
|
|
|
this.zeroVisible1 = true;
|
|
@@ -556,9 +563,9 @@ export default {
|
|
|
maskForm.subMoney = row.discountAmount
|
|
|
maskForm.musicGroupId = row.musicGroupId ? row.musicGroupId : null
|
|
|
this.$refs['maskForm'].clearValidate()
|
|
|
- if(row.userId) {
|
|
|
+ if (row.userId) {
|
|
|
queryUserMusicInfos({ userId: row.userId }).then(studentInfo => {
|
|
|
- if(studentInfo.code == 200) {
|
|
|
+ if (studentInfo.code == 200) {
|
|
|
this.maskMusicList1 = studentInfo.data
|
|
|
}
|
|
|
})
|
|
@@ -566,16 +573,16 @@ export default {
|
|
|
this.onMusicGroupChange(true)
|
|
|
}
|
|
|
},
|
|
|
- onMusicGroupChange(status) {
|
|
|
+ onMusicGroupChange (status) {
|
|
|
let maskForm = this.maskForm
|
|
|
- if(!maskForm.organId) {
|
|
|
+ if (!maskForm.organId) {
|
|
|
return
|
|
|
}
|
|
|
- if(!status) {
|
|
|
+ if (!status) {
|
|
|
maskForm.musicGroupId = null // 重置可能已经选中的乐团
|
|
|
}
|
|
|
queryOrganMusicInfos({ organId: maskForm.organId }).then(res => {
|
|
|
- if(res.code == 200) {
|
|
|
+ if (res.code == 200) {
|
|
|
this.maskMusicList = res.data
|
|
|
}
|
|
|
})
|
|
@@ -645,7 +652,7 @@ export default {
|
|
|
if (res.data) {
|
|
|
this.maskForm1.studentName = res.data.name
|
|
|
queryUserMusicInfos({ userId: studentId }).then(studentInfo => {
|
|
|
- if(studentInfo.code == 200) {
|
|
|
+ if (studentInfo.code == 200) {
|
|
|
this.maskMusicList1 = studentInfo.data
|
|
|
}
|
|
|
})
|