87df0e78 by zhangmeng

收据

1 parent 584c27d3
...@@ -386,7 +386,8 @@ ...@@ -386,7 +386,8 @@
386 </el-icon> 386 </el-icon>
387 {{ language == 0 ? '导出酒店预订单' : 'Export PDF' }} 387 {{ language == 0 ? '导出酒店预订单' : 'Export PDF' }}
388 </el-button> 388 </el-button>
389 <el-button v-if="(form.viewStatus=='1'||form.viewStatus=='5')&&(type=='makeUp'||type=='hotel')" 389 <el-button
390 v-if="(form.viewStatus=='1'||form.viewStatus=='5')&&(type=='makeUp'||type=='hotel'||type=='ticket')"
390 class="mt20 btn-lineG" round 391 class="mt20 btn-lineG" round
391 size="large" 392 size="large"
392 type="primary" 393 type="primary"
...@@ -699,6 +700,8 @@ async function getTicketOrderInfoFN() { ...@@ -699,6 +700,8 @@ async function getTicketOrderInfoFN() {
699 form.value.extJson.ticketType = JSON.parse(form.value.extJson.ticketType) 700 form.value.extJson.ticketType = JSON.parse(form.value.extJson.ticketType)
700 form.value.extJson.message = JSON.parse(form.value.extJson.message) 701 form.value.extJson.message = JSON.parse(form.value.extJson.message)
701 await getDetail(form.value.extJson.ticketDate.activityId) 702 await getDetail(form.value.extJson.ticketDate.activityId)
703 matchId.value = form.value.extJson.ticketDate.activityId
704
702 totalFee.value = language.value == 0 ? form.value.total : form.value.totalEn 705 totalFee.value = language.value == 0 ? form.value.total : form.value.totalEn
703 } catch (e) { 706 } catch (e) {
704 console.log(e) 707 console.log(e)
...@@ -927,6 +930,11 @@ const showSJ = () => { ...@@ -927,6 +930,11 @@ const showSJ = () => {
927 if (form.value.receiptFlag == '0') { 930 if (form.value.receiptFlag == '0') {
928 obj.receiptInfo = lpName.value 931 obj.receiptInfo = lpName.value
929 } 932 }
933 // // 报名
934 // proxy.download(`/ota/norder/getReceipt/${obj.orderId}`, {
935 // ...obj
936 // }, `Receipt_${new Date().getTime()}.pdf`)
937
930 // 报名 938 // 报名
931 proxy.download(`/ota/norder/getReceipt/${obj.orderId}`, { 939 proxy.download(`/ota/norder/getReceipt/${obj.orderId}`, {
932 ...obj 940 ...obj
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!