no message
Showing
2 changed files
with
24 additions
and
18 deletions
| ... | @@ -316,7 +316,7 @@ async function customerList() { | ... | @@ -316,7 +316,7 @@ async function customerList() { |
| 316 | // 提交 | 316 | // 提交 |
| 317 | async function paymentHandle() { | 317 | async function paymentHandle() { |
| 318 | if (!user.value) { | 318 | if (!user.value) { |
| 319 | useStore().setVisitor() | 319 | useStore.setVisitor() |
| 320 | return | 320 | return |
| 321 | } | 321 | } |
| 322 | 322 | ... | ... |
| ... | @@ -274,9 +274,8 @@ import _ from 'lodash' | ... | @@ -274,9 +274,8 @@ import _ from 'lodash' |
| 274 | import { dayjs } from 'element-plus' | 274 | import { dayjs } from 'element-plus' |
| 275 | import { ElMessageBox } from 'element-plus' | 275 | import { ElMessageBox } from 'element-plus' |
| 276 | import { getDayName } from '@/viewsPc/seat/utils/language' | 276 | import { getDayName } from '@/viewsPc/seat/utils/language' |
| 277 | import { fillImgUrl } from '/@/utils/ruoyi' | 277 | import { fillImgUrl, triggerLanguage } from '/@/utils/ruoyi' |
| 278 | import useUserStore from '/@/store/modules/user' | 278 | import useUserStore from '/@/store/modules/user' |
| 279 | import { triggerLanguage } from '@/utils/ruoyi' | ||
| 280 | import { useStorage } from '@vueuse/core/index' | 279 | import { useStorage } from '@vueuse/core/index' |
| 281 | import { useRoute, useRouter } from 'vue-router' | 280 | import { useRoute, useRouter } from 'vue-router' |
| 282 | 281 | ||
| ... | @@ -432,21 +431,28 @@ function selectTick(v) { | ... | @@ -432,21 +431,28 @@ function selectTick(v) { |
| 432 | selectForm.value.price = v.price | 431 | selectForm.value.price = v.price |
| 433 | selectForm.value.priceEn = v.priceEn | 432 | selectForm.value.priceEn = v.priceEn |
| 434 | 433 | ||
| 435 | checkNonPayment().then(res => { | 434 | // vip票 |
| 436 | if (res.data) { | 435 | if (currTick.value.ticketType == '1') { |
| 437 | getListByAtstId({ | 436 | showUrl.value = v.images |
| 438 | atstId: selectForm.value.latstId | 437 | show.value = true |
| 439 | }).then(res => { | 438 | leftCount.value = -999 |
| 440 | leftCount.value = res.data | 439 | } else { |
| 441 | if (leftCount.value > 0) { | 440 | checkNonPayment().then(res => { |
| 442 | showUrl.value = v.images | 441 | if (res.data) { |
| 443 | show.value = true | 442 | getListByAtstId({ |
| 444 | } | 443 | atstId: selectForm.value.latstId |
| 445 | }) | 444 | }).then(res => { |
| 446 | } else { | 445 | leftCount.value = res.data |
| 447 | leftCount.value = -999 | 446 | if (leftCount.value > 0) { |
| 448 | } | 447 | showUrl.value = v.images |
| 449 | }) | 448 | show.value = true |
| 449 | } | ||
| 450 | }) | ||
| 451 | } else { | ||
| 452 | leftCount.value = -999 | ||
| 453 | } | ||
| 454 | }) | ||
| 455 | } | ||
| 450 | } | 456 | } |
| 451 | 457 | ||
| 452 | function toSelectSeat() { | 458 | function toSelectSeat() { | ... | ... |
-
Please register or sign in to post a comment