no message
Showing
1 changed file
with
3 additions
and
1 deletions
| ... | @@ -360,8 +360,10 @@ function submit() { | ... | @@ -360,8 +360,10 @@ function submit() { |
| 360 | 360 | ||
| 361 | submitOrderScenic(form.value).then(res => { | 361 | submitOrderScenic(form.value).then(res => { |
| 362 | if (res.data) { | 362 | if (res.data) { |
| 363 | if (res.data.roomNum == -100) { | 363 | if (res.data.orderId == -400) { |
| 364 | ElMessage.warning(language.value == 0 ? '剩余票数不足' : 'The remaining number of rooms is insufficient') | 364 | ElMessage.warning(language.value == 0 ? '剩余票数不足' : 'The remaining number of rooms is insufficient') |
| 365 | } else if (res.data.orderId == -300) { | ||
| 366 | ElMessage.warning(language.value == 0 ? '提交失败,请稍后再试' : 'Submission failed, please try again later') | ||
| 365 | } else { | 367 | } else { |
| 366 | // 去付钱 | 368 | // 去付钱 |
| 367 | router.push({ | 369 | router.push({ | ... | ... |
-
Please register or sign in to post a comment