a7df04a9 by zhangmeng

开票

1 parent ab42b9ed
......@@ -60,7 +60,7 @@
</div>
</el-checkbox-group>
</div>
<div class="btn" @click="$router.push({ path: '/booking/ticket/peopleManage' })">
<div class="btn" @click="addPeopl">
{{ languageFormat(language, "新增", "Add") }}
</div>
</div>
......@@ -346,6 +346,18 @@ async function getDetail() {
}
getDetail()
function addPeopl() {
router.push({
path: '/booking/ticket/peopleManage',
query: {
activeId: orderForm.value.activeId,
attId: orderForm.value.attId,
atId: orderForm.value.atId
}
})
}
</script>
......
......@@ -72,6 +72,7 @@ import {triggerLanguage} from '@/utils/ruoyi'
const user = computed(() => useUserStore().user)
const useStore = useUserStore()
const language = useStorage('language', 0)
const route = useRoute()
const personnelList = ref([])
const show = ref(false)
const form = ref({})
......@@ -95,7 +96,11 @@ const rules = ref({
customerList()
async function customerList() {
const res = await customerListApi()
const res = await customerListApi({
activeId: route.query.activeId,
attId: route.query.attId,
atId: route.query.atId
})
personnelList.value = res.rows
}
......@@ -120,7 +125,7 @@ function submit() {
type: "warning",
draggable: true,
})
} else if (res.data == -101) {
return ElMessageBox.confirm(language.value == 0 ? '该观影人实名认证未通过' : 'The real name authentication of the moviegoer failed', language.value == 0 ? '提示' : 'Reminder', {
confirmButtonText: language.value == 0 ? '确认' : "confirm",
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!