1c3c425c by zhangmeng

再次预定

1 parent f25d1eee
......@@ -133,7 +133,7 @@
</div>
<div class="text-right">
<el-button
v-if="(b.orderType == 0||b.orderType == 5)&&b.viewStatus!=0" class="mb10" plain round
v-if="(b.orderType == 0||b.orderType == 5||b.orderType==1)&&b.viewStatus!=0" class="mb10" plain round
size="small" type="success"
@click="Rebook(b)"
>
......@@ -234,6 +234,12 @@ function goDetail(b) {
function Rebook(row) {
console.log(row)
if (row.orderType == 1) {
return router.push({
path: `/booking/car/${row.activeId}`
})
}
if (row.orderType == 0) {
router.push({
name: 'hotelDetail',
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!