|
@@ -223,6 +223,7 @@
|
|
|
querySeatListNew,
|
|
|
} from '@/api/windowTicketSales/ticketingSales'
|
|
|
import increaseViewers from "./model/increaseViewers"
|
|
|
+// import increaseViewers from "./model/increaseViewersNew"
|
|
|
import moment from "moment"
|
|
|
import { pageList as getSeatType } from '@/api/seatTypeMr/seatTypeMr'
|
|
|
import selectListMixin from "./mixins/selectList"
|
|
@@ -435,8 +436,7 @@ import LockSeat from './model/lockSeat.vue'
|
|
|
}
|
|
|
this.seatMapList = {}
|
|
|
this.seatList = []
|
|
|
- let fun = this.stockType === 0 ? querySeatList: querySeatListNew
|
|
|
- let res = await fun({
|
|
|
+ let res = await querySeatListNew({
|
|
|
...this.queryParams,
|
|
|
channelType: 'window'
|
|
|
})
|
|
@@ -656,9 +656,14 @@ import LockSeat from './model/lockSeat.vue'
|
|
|
if(row.isDisabled || row.status == 2){
|
|
|
return false
|
|
|
}
|
|
|
- if(row.channelType && row.channelType != 'window'){
|
|
|
- this.$message.error(`该座位仅限${ this.setChanneltype(row.channelType) }渠道购买!!!`);
|
|
|
- return false
|
|
|
+ if(row.channelType != 'window'){
|
|
|
+ if(row.channelType) {
|
|
|
+ this.$message.error(`该座位仅限${ this.setChanneltype(row.channelType) }渠道购买!!!`);
|
|
|
+ return false
|
|
|
+ }else if(row.isUse == 2){
|
|
|
+ this.$message.error(`该座位仅限其他渠道购买!!!`);
|
|
|
+ return false
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
if(this.seatSelectListNo.length>0 && row.occupyStatus != 0) {
|