开票
Showing
2 changed files
with
10 additions
and
6 deletions
| ... | @@ -249,7 +249,11 @@ function changeGroup(e) { | ... | @@ -249,7 +249,11 @@ function changeGroup(e) { |
| 249 | 249 | ||
| 250 | // 获取人员列表 | 250 | // 获取人员列表 |
| 251 | async function customerList() { | 251 | async function customerList() { |
| 252 | const res = await customerListApi() | 252 | const res = await customerListApi({ |
| 253 | activeId: orderForm.value.activeId, | ||
| 254 | attId: orderForm.value.attId, | ||
| 255 | atId: orderForm.value.atId | ||
| 256 | }) | ||
| 253 | personnelList.value = res.rows | 257 | personnelList.value = res.rows |
| 254 | } | 258 | } |
| 255 | 259 | ||
| ... | @@ -290,9 +294,9 @@ async function paymentHandle() { | ... | @@ -290,9 +294,9 @@ async function paymentHandle() { |
| 290 | try { | 294 | try { |
| 291 | const res = await submitOrderTicket({ | 295 | const res = await submitOrderTicket({ |
| 292 | activeId: orderForm.value.activeId, | 296 | activeId: orderForm.value.activeId, |
| 293 | acId: orderForm.value.acId, | 297 | atId: orderForm.value.atId, |
| 294 | attId: orderForm.value.attId, | 298 | attId: orderForm.value.attId, |
| 295 | tickType: orderForm.value.tickType, | 299 | ticketType: orderForm.value.ticketType, |
| 296 | ticketDate: orderForm.value.ticketDate, | 300 | ticketDate: orderForm.value.ticketDate, |
| 297 | phone: orderForm.value.phone, | 301 | phone: orderForm.value.phone, |
| 298 | customerList: orderForm.value.customerList, | 302 | customerList: orderForm.value.customerList, |
| ... | @@ -326,9 +330,9 @@ async function paymentHandle() { | ... | @@ -326,9 +330,9 @@ async function paymentHandle() { |
| 326 | ElMessage.error(language.value == 0 ? '下单失败,' : 'Order failure') | 330 | ElMessage.error(language.value == 0 ? '下单失败,' : 'Order failure') |
| 327 | } | 331 | } |
| 328 | } catch (e) { | 332 | } catch (e) { |
| 329 | console.log(e) | ||
| 330 | } finally { | ||
| 331 | ElMessage.error(language.value == 0 ? '下单失败,' : 'Order failure') | 333 | ElMessage.error(language.value == 0 ? '下单失败,' : 'Order failure') |
| 334 | } finally { | ||
| 335 | |||
| 332 | } | 336 | } |
| 333 | 337 | ||
| 334 | }) | 338 | }) | ... | ... |
| ... | @@ -229,7 +229,7 @@ function toSelectSeat() { | ... | @@ -229,7 +229,7 @@ function toSelectSeat() { |
| 229 | return | 229 | return |
| 230 | } | 230 | } |
| 231 | checkNonPayment().then(res => { | 231 | checkNonPayment().then(res => { |
| 232 | if (res.count) { | 232 | if (!res.count) { |
| 233 | router.push({ | 233 | router.push({ |
| 234 | name: 'confirmOrder', | 234 | name: 'confirmOrder', |
| 235 | params: { | 235 | params: { | ... | ... |
-
Please register or sign in to post a comment