dae16f11 by zhangmeng

开票

1 parent 7411ae40
......@@ -249,7 +249,11 @@ function changeGroup(e) {
// 获取人员列表
async function customerList() {
const res = await customerListApi()
const res = await customerListApi({
activeId: orderForm.value.activeId,
attId: orderForm.value.attId,
atId: orderForm.value.atId
})
personnelList.value = res.rows
}
......@@ -290,9 +294,9 @@ async function paymentHandle() {
try {
const res = await submitOrderTicket({
activeId: orderForm.value.activeId,
acId: orderForm.value.acId,
atId: orderForm.value.atId,
attId: orderForm.value.attId,
tickType: orderForm.value.tickType,
ticketType: orderForm.value.ticketType,
ticketDate: orderForm.value.ticketDate,
phone: orderForm.value.phone,
customerList: orderForm.value.customerList,
......@@ -326,9 +330,9 @@ async function paymentHandle() {
ElMessage.error(language.value == 0 ? '下单失败,' : 'Order failure')
}
} catch (e) {
console.log(e)
} finally {
ElMessage.error(language.value == 0 ? '下单失败,' : 'Order failure')
} finally {
}
})
......
......@@ -229,7 +229,7 @@ function toSelectSeat() {
return
}
checkNonPayment().then(res => {
if (res.count) {
if (!res.count) {
router.push({
name: 'confirmOrder',
params: {
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!