注释定单详情导出按钮
Showing
1 changed file
with
26 additions
and
24 deletions
| ... | @@ -174,7 +174,7 @@ | ... | @@ -174,7 +174,7 @@ |
| 174 | </el-col> | 174 | </el-col> |
| 175 | <el-col> | 175 | <el-col> |
| 176 | {{ language == 0 ? '开园时间' : 'Address' }}: | 176 | {{ language == 0 ? '开园时间' : 'Address' }}: |
| 177 | {{ formInfo. startTime }} ~ {{ formInfo.workTime }} | 177 | {{ formInfo.startTime }} ~ {{ formInfo.workTime }} |
| 178 | </el-col> | 178 | </el-col> |
| 179 | </el-row> | 179 | </el-row> |
| 180 | </div> | 180 | </div> |
| ... | @@ -408,29 +408,29 @@ | ... | @@ -408,29 +408,29 @@ |
| 408 | </el-col> | 408 | </el-col> |
| 409 | <el-col :lg="24"> | 409 | <el-col :lg="24"> |
| 410 | <div class="text-center"> | 410 | <div class="text-center"> |
| 411 | <el-button | 411 | <!-- <el-button--> |
| 412 | v-if="(form.viewStatus=='1'||form.viewStatus=='5')&&type == 'hotel'" class="mt20 btn-lineG" | 412 | <!-- v-if="(form.viewStatus=='1'||form.viewStatus=='5')&&type == 'hotel'" class="mt20 btn-lineG"--> |
| 413 | round | 413 | <!-- round--> |
| 414 | size="large" type="primary" | 414 | <!-- size="large" type="primary"--> |
| 415 | @click="exportPdf" | 415 | <!-- @click="exportPdf"--> |
| 416 | > | 416 | <!-- >--> |
| 417 | <el-icon> | 417 | <!-- <el-icon>--> |
| 418 | <Upload /> | 418 | <!-- <Upload />--> |
| 419 | </el-icon> | 419 | <!-- </el-icon>--> |
| 420 | {{ language == 0 ? '导出酒店预订单' : 'Export PDF' }} | 420 | <!-- {{ language == 0 ? '导出酒店预订单' : 'Export PDF' }}--> |
| 421 | </el-button> | 421 | <!-- </el-button>--> |
| 422 | <el-button | 422 | <!-- <el-button--> |
| 423 | v-if="(form.viewStatus=='1'||form.viewStatus=='5')&&(type=='makeUp'||type=='hotel'||type=='ticket')" | 423 | <!-- v-if="(form.viewStatus=='1'||form.viewStatus=='5')&&(type=='makeUp'||type=='hotel'||type=='ticket')"--> |
| 424 | class="mt20 btn-lineG" round | 424 | <!-- class="mt20 btn-lineG" round--> |
| 425 | size="large" | 425 | <!-- size="large"--> |
| 426 | type="primary" | 426 | <!-- type="primary"--> |
| 427 | @click="downInvoice" | 427 | <!-- @click="downInvoice"--> |
| 428 | > | 428 | <!-- >--> |
| 429 | <el-icon> | 429 | <!-- <el-icon>--> |
| 430 | <Download /> | 430 | <!-- <Download />--> |
| 431 | </el-icon> | 431 | <!-- </el-icon>--> |
| 432 | {{ language == 0 ? '下载收据' : 'DownLoad Invoice' }} | 432 | <!-- {{ language == 0 ? '下载收据' : 'DownLoad Invoice' }}--> |
| 433 | </el-button> | 433 | <!-- </el-button>--> |
| 434 | </div> | 434 | </div> |
| 435 | </el-col> | 435 | </el-col> |
| 436 | </el-row> | 436 | </el-row> |
| ... | @@ -742,6 +742,7 @@ function getData() { | ... | @@ -742,6 +742,7 @@ function getData() { |
| 742 | getTravelOrderInfo() | 742 | getTravelOrderInfo() |
| 743 | } | 743 | } |
| 744 | } | 744 | } |
| 745 | |||
| 745 | // 旅游订单详情 | 746 | // 旅游订单详情 |
| 746 | const getTravelOrderInfo = () => { | 747 | const getTravelOrderInfo = () => { |
| 747 | return booking.getScenicOrderInfo({ orderId: orderId.value }).then(res => { | 748 | return booking.getScenicOrderInfo({ orderId: orderId.value }).then(res => { |
| ... | @@ -756,6 +757,7 @@ const getTravelOrderInfo = () => { | ... | @@ -756,6 +757,7 @@ const getTravelOrderInfo = () => { |
| 756 | errorBox.value = true | 757 | errorBox.value = true |
| 757 | }) | 758 | }) |
| 758 | } | 759 | } |
| 760 | |||
| 759 | // 票务订单详情 | 761 | // 票务订单详情 |
| 760 | async function getTicketOrderInfoFN() { | 762 | async function getTicketOrderInfoFN() { |
| 761 | const res = await getTicketOrderInfo({ orderId: orderId.value }) | 763 | const res = await getTicketOrderInfo({ orderId: orderId.value }) | ... | ... |
-
Please register or sign in to post a comment