车辆
Showing
2 changed files
with
3 additions
and
1 deletions
| ... | @@ -282,7 +282,7 @@ async function handleSubmit(v) { | ... | @@ -282,7 +282,7 @@ async function handleSubmit(v) { |
| 282 | } | 282 | } |
| 283 | const res = await booking.checkOrderPay('1') | 283 | const res = await booking.checkOrderPay('1') |
| 284 | if (!res.data) { | 284 | if (!res.data) { |
| 285 | await proxy.$modal.confirm(language.value == 0 ? '您有未支付的订单,请前往支付!' : 'You have unpaid orders, please proceed to payment!') | 285 | await proxy.$modal.confirm(language.value == 0 ? '您有未支付的订单,请前往支付。' : 'You have unpaid orders, please proceed to payment.') |
| 286 | await router.push({ | 286 | await router.push({ |
| 287 | path: '/center/myReservation' | 287 | path: '/center/myReservation' |
| 288 | }) | 288 | }) | ... | ... |
| ... | @@ -219,6 +219,8 @@ async function handleVehicleConfigList() { | ... | @@ -219,6 +219,8 @@ async function handleVehicleConfigList() { |
| 219 | function initDays() { | 219 | function initDays() { |
| 220 | getBaseInfoByActiveId(route.params.cptId).then(res => { | 220 | getBaseInfoByActiveId(route.params.cptId).then(res => { |
| 221 | lform.value = res.data | 221 | lform.value = res.data |
| 222 | |||
| 223 | form.value.date1 = dayjs(lform.value.carStart).format('YYYY-MM-DD') | ||
| 222 | }).catch(err => { | 224 | }).catch(err => { |
| 223 | console.log(err) | 225 | console.log(err) |
| 224 | }) | 226 | }) | ... | ... |
-
Please register or sign in to post a comment