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
}
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!