开票
Showing
2 changed files
with
20 additions
and
3 deletions
| ... | @@ -60,7 +60,7 @@ | ... | @@ -60,7 +60,7 @@ |
| 60 | </div> | 60 | </div> |
| 61 | </el-checkbox-group> | 61 | </el-checkbox-group> |
| 62 | </div> | 62 | </div> |
| 63 | <div class="btn" @click="$router.push({ path: '/booking/ticket/peopleManage' })"> | 63 | <div class="btn" @click="addPeopl"> |
| 64 | {{ languageFormat(language, "新增", "Add") }} | 64 | {{ languageFormat(language, "新增", "Add") }} |
| 65 | </div> | 65 | </div> |
| 66 | </div> | 66 | </div> |
| ... | @@ -346,6 +346,18 @@ async function getDetail() { | ... | @@ -346,6 +346,18 @@ async function getDetail() { |
| 346 | } | 346 | } |
| 347 | 347 | ||
| 348 | getDetail() | 348 | getDetail() |
| 349 | |||
| 350 | |||
| 351 | function addPeopl() { | ||
| 352 | router.push({ | ||
| 353 | path: '/booking/ticket/peopleManage', | ||
| 354 | query: { | ||
| 355 | activeId: orderForm.value.activeId, | ||
| 356 | attId: orderForm.value.attId, | ||
| 357 | atId: orderForm.value.atId | ||
| 358 | } | ||
| 359 | }) | ||
| 360 | } | ||
| 349 | </script> | 361 | </script> |
| 350 | 362 | ||
| 351 | 363 | ... | ... |
| ... | @@ -72,6 +72,7 @@ import {triggerLanguage} from '@/utils/ruoyi' | ... | @@ -72,6 +72,7 @@ import {triggerLanguage} from '@/utils/ruoyi' |
| 72 | const user = computed(() => useUserStore().user) | 72 | const user = computed(() => useUserStore().user) |
| 73 | const useStore = useUserStore() | 73 | const useStore = useUserStore() |
| 74 | const language = useStorage('language', 0) | 74 | const language = useStorage('language', 0) |
| 75 | const route = useRoute() | ||
| 75 | const personnelList = ref([]) | 76 | const personnelList = ref([]) |
| 76 | const show = ref(false) | 77 | const show = ref(false) |
| 77 | const form = ref({}) | 78 | const form = ref({}) |
| ... | @@ -95,7 +96,11 @@ const rules = ref({ | ... | @@ -95,7 +96,11 @@ const rules = ref({ |
| 95 | customerList() | 96 | customerList() |
| 96 | 97 | ||
| 97 | async function customerList() { | 98 | async function customerList() { |
| 98 | const res = await customerListApi() | 99 | const res = await customerListApi({ |
| 100 | activeId: route.query.activeId, | ||
| 101 | attId: route.query.attId, | ||
| 102 | atId: route.query.atId | ||
| 103 | }) | ||
| 99 | personnelList.value = res.rows | 104 | personnelList.value = res.rows |
| 100 | } | 105 | } |
| 101 | 106 | ||
| ... | @@ -120,7 +125,7 @@ function submit() { | ... | @@ -120,7 +125,7 @@ function submit() { |
| 120 | type: "warning", | 125 | type: "warning", |
| 121 | draggable: true, | 126 | draggable: true, |
| 122 | }) | 127 | }) |
| 123 | 128 | ||
| 124 | } else if (res.data == -101) { | 129 | } else if (res.data == -101) { |
| 125 | return ElMessageBox.confirm(language.value == 0 ? '该观影人实名认证未通过' : 'The real name authentication of the moviegoer failed', language.value == 0 ? '提示' : 'Reminder', { | 130 | return ElMessageBox.confirm(language.value == 0 ? '该观影人实名认证未通过' : 'The real name authentication of the moviegoer failed', language.value == 0 ? '提示' : 'Reminder', { |
| 126 | confirmButtonText: language.value == 0 ? '确认' : "confirm", | 131 | confirmButtonText: language.value == 0 ? '确认' : "confirm", | ... | ... |
-
Please register or sign in to post a comment