1c3c425c by zhangmeng

再次预定

1 parent f25d1eee
...@@ -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',
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!