再次预定
Showing
1 changed file
with
7 additions
and
1 deletions
| ... | @@ -133,7 +133,7 @@ | ... | @@ -133,7 +133,7 @@ |
| 133 | </div> | 133 | </div> |
| 134 | <div class="text-right"> | 134 | <div class="text-right"> |
| 135 | <el-button | 135 | <el-button |
| 136 | v-if="(b.orderType == 0||b.orderType == 5)&&b.viewStatus!=0" class="mb10" plain round | 136 | v-if="(b.orderType == 0||b.orderType == 5||b.orderType==1)&&b.viewStatus!=0" class="mb10" plain round |
| 137 | size="small" type="success" | 137 | size="small" type="success" |
| 138 | @click="Rebook(b)" | 138 | @click="Rebook(b)" |
| 139 | > | 139 | > |
| ... | @@ -234,6 +234,12 @@ function goDetail(b) { | ... | @@ -234,6 +234,12 @@ function goDetail(b) { |
| 234 | 234 | ||
| 235 | function Rebook(row) { | 235 | function Rebook(row) { |
| 236 | console.log(row) | 236 | console.log(row) |
| 237 | if (row.orderType == 1) { | ||
| 238 | return router.push({ | ||
| 239 | path: `/booking/car/${row.activeId}` | ||
| 240 | }) | ||
| 241 | } | ||
| 242 | |||
| 237 | if (row.orderType == 0) { | 243 | if (row.orderType == 0) { |
| 238 | router.push({ | 244 | router.push({ |
| 239 | name: 'hotelDetail', | 245 | name: 'hotelDetail', | ... | ... |
-
Please register or sign in to post a comment