|
@@ -214,7 +214,7 @@ export default {
|
|
|
if(this.seatSelectList.length>0) {
|
|
|
for(let i = 0; i<listCopy1.length; i++) {
|
|
|
let row = listCopy1[i]
|
|
|
- if(row.occupyStatus == 0) {
|
|
|
+ if(row.occupyStatus == 0 && this.isBuylock != 1) {
|
|
|
this.$message.error('此座已被锁定,请先解锁!!!');
|
|
|
flog = true
|
|
|
break;
|
|
@@ -285,6 +285,11 @@ export default {
|
|
|
|
|
|
if(occupyStatus == 0){
|
|
|
this.seatSelectListNo = this.seatSelectListNo.concat(listCopy2)
|
|
|
+ // 配置该用户 可以购买锁定票
|
|
|
+ if(this.isBuylock === 1) {
|
|
|
+ console.log(this.isBuylock,'this.isBuylock33');
|
|
|
+ this.seatSelectList = this.seatSelectList.concat(listCopy2)
|
|
|
+ }
|
|
|
}else {
|
|
|
this.seatSelectList = this.seatSelectList.concat(listCopy2)
|
|
|
}
|