c8c7b188 by 杨炀

Merge commit '3fa14c0a' into dev

2 parents 4793c44c 3fa14c0a
......@@ -386,11 +386,12 @@
</el-icon>
{{ language == 0 ? '导出酒店预订单' : 'Export PDF' }}
</el-button>
<el-button v-if="(form.viewStatus=='1'||form.viewStatus=='5')&&(type=='makeUp'||type=='hotel')"
class="mt20 btn-lineG" round
size="large"
type="primary"
@click="downInvoice">
<el-button
v-if="(form.viewStatus=='1'||form.viewStatus=='5')&&(type=='makeUp'||type=='hotel'||type=='ticket')"
class="mt20 btn-lineG" round
size="large"
type="primary"
@click="downInvoice">
<el-icon>
<Download/>
</el-icon>
......@@ -699,6 +700,8 @@ async function getTicketOrderInfoFN() {
form.value.extJson.ticketType = JSON.parse(form.value.extJson.ticketType)
form.value.extJson.message = JSON.parse(form.value.extJson.message)
await getDetail(form.value.extJson.ticketDate.activityId)
matchId.value = form.value.extJson.ticketDate.activityId
totalFee.value = language.value == 0 ? form.value.total : form.value.totalEn
} catch (e) {
console.log(e)
......@@ -927,6 +930,11 @@ const showSJ = () => {
if (form.value.receiptFlag == '0') {
obj.receiptInfo = lpName.value
}
// // 报名
// proxy.download(`/ota/norder/getReceipt/${obj.orderId}`, {
// ...obj
// }, `Receipt_${new Date().getTime()}.pdf`)
// 报名
proxy.download(`/ota/norder/getReceipt/${obj.orderId}`, {
...obj
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!