|
@@ -349,7 +349,7 @@
|
|
|
})
|
|
|
})
|
|
|
let res = await lockOrUnLock({
|
|
|
- type: type,
|
|
|
+ type: this.seatSelectListNo.length>0 ? 1 : 0,
|
|
|
seatList: list
|
|
|
})
|
|
|
this.lockOrUnLockLoading = false
|
|
@@ -671,15 +671,20 @@
|
|
|
},
|
|
|
increaseViewersFun(){
|
|
|
if(this.seatSelectList.length>0){
|
|
|
- if(this.ifRealUser != 0 || this.ifRealTeam != 0 ) {
|
|
|
- if(this.personnelNum != 0) {
|
|
|
- if( this.seatSelectList.length != this.personnelNum ) {
|
|
|
- this.$message.error(`票务类型设置了实名要求,选择人数为${ this.personnelNum }人`);
|
|
|
- return
|
|
|
- }
|
|
|
+ // if(this.ifRealUser != 0 || this.ifRealTeam != 0 ) {
|
|
|
+ // if(this.personnelNum != 0) {
|
|
|
+ // if( this.seatSelectList.length != this.personnelNum ) {
|
|
|
+ // this.$message.error(`票务类型设置了实名要求,选择人数为${ this.personnelNum }人`);
|
|
|
+ // return
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ if(this.personnelNum != 0) {
|
|
|
+ if( this.seatSelectList.length != this.personnelNum ) {
|
|
|
+ this.$message.error(`票务类型设置了实名要求,选择人数为${ this.personnelNum }人`);
|
|
|
+ return
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
this.changePerformId(this.queryParams.timeId)
|
|
|
this.$refs.increaseViewers.initData(this.seatSelectList,{
|
|
|
...this.queryParams,
|