|
@@ -216,6 +216,10 @@ export default {
|
|
|
},
|
|
|
resetPays () {
|
|
|
this.isSigan = false
|
|
|
+ if (this.activeChiose.length <= 0) {
|
|
|
+ this.$message.error('请至少勾选一名学生')
|
|
|
+ return
|
|
|
+ }
|
|
|
this.resetPayVisible = true
|
|
|
|
|
|
},
|
|
@@ -240,6 +244,10 @@ export default {
|
|
|
}).join(',')
|
|
|
}
|
|
|
obj.courseFee = this.resetPayForm.momey;
|
|
|
+ if (!obj.courseFee || obj.courseFee < 0) {
|
|
|
+ this.$message.error('请输入正确的金额')
|
|
|
+ return
|
|
|
+ }
|
|
|
resetMusicGroupStudentFee(obj).then(res => {
|
|
|
if (res.code == 200) {
|
|
|
this.$message.success('修改成功')
|