票档显示
Showing
1 changed file
with
4 additions
and
2 deletions
| ... | @@ -235,8 +235,10 @@ async function getTicketList() { | ... | @@ -235,8 +235,10 @@ async function getTicketList() { |
| 235 | activityId: activeId.value, isView: 1 | 235 | activityId: activeId.value, isView: 1 |
| 236 | }) | 236 | }) |
| 237 | tickClass.value = res.rows | 237 | tickClass.value = res.rows |
| 238 | if (tickClass.value.length > 0) { | ||
| 238 | selectForm.value.latId = tickClass.value?.[0]?.id | 239 | selectForm.value.latId = tickClass.value?.[0]?.id |
| 239 | await getTicketListType() | 240 | await getTicketListType() |
| 241 | } | ||
| 240 | } | 242 | } |
| 241 | 243 | ||
| 242 | // 根据票档获取场次 | 244 | // 根据票档获取场次 |
| ... | @@ -275,8 +277,8 @@ function selectTick(v) { | ... | @@ -275,8 +277,8 @@ function selectTick(v) { |
| 275 | } | 277 | } |
| 276 | 278 | ||
| 277 | function toSelectSeat() { | 279 | function toSelectSeat() { |
| 278 | if (!selectForm.value.latId) return ElMessage.error(language == 0 ? "请选择票档" : 'Please select a ticket file') | 280 | if (!selectForm.value.latId) return ElMessage.error(language.value == 0 ? "请选择票档" : 'Please select a ticket file') |
| 279 | if (!selectForm.value.id) return ElMessage.error(language == 0 ? "请选择时间" : 'Please select time') | 281 | if (!selectForm.value.id) return ElMessage.error(language.value == 0 ? "请选择时间" : 'Please select time') |
| 280 | if (!user.value) { | 282 | if (!user.value) { |
| 281 | useStore.setVisitor() | 283 | useStore.setVisitor() |
| 282 | return | 284 | return | ... | ... |
-
Please register or sign in to post a comment