|
|
|
@ -414,6 +414,19 @@
|
|
|
|
|
<a-modal width="50vw" v-model="PrintModalVisible" title="打印">
|
|
|
|
|
<template slot="footer"> <span></span> </template>
|
|
|
|
|
<div class="PrintMain">
|
|
|
|
|
<div class="PrintRadio">
|
|
|
|
|
<a-radio-group default-value="1" button-style="solid" v-model="PrintType">
|
|
|
|
|
<a-radio-button value="1">
|
|
|
|
|
pdf
|
|
|
|
|
</a-radio-button>
|
|
|
|
|
<a-radio-button value="2">
|
|
|
|
|
xlsx
|
|
|
|
|
</a-radio-button>
|
|
|
|
|
<a-radio-button value="3">
|
|
|
|
|
docx
|
|
|
|
|
</a-radio-button>
|
|
|
|
|
</a-radio-group>
|
|
|
|
|
</div>
|
|
|
|
|
<span v-for="item in templateType" :key="item.id" @click="FnCilckTemplateType(item.code)" class="items">
|
|
|
|
|
{{ item.name }}
|
|
|
|
|
</span>
|
|
|
|
@ -578,7 +591,8 @@ export default {
|
|
|
|
|
],
|
|
|
|
|
BCvData: [],
|
|
|
|
|
Rdata: '',
|
|
|
|
|
scale: '1.5'
|
|
|
|
|
scale: '1.5',
|
|
|
|
|
PrintType: '1'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
mounted() {
|
|
|
|
@ -689,7 +703,7 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
FnCilckTemplateType(typeCode) {
|
|
|
|
|
this.$message.success(`搜索文件中...`)
|
|
|
|
|
BookingOrderPrint({ typeCode, bookingId: this.id })
|
|
|
|
|
BookingOrderPrint({ typeCode, bookingId: this.id, type: this.PrintType })
|
|
|
|
|
.then(res => {
|
|
|
|
|
console.log(res)
|
|
|
|
|
if (!res.success) {
|
|
|
|
@ -1316,4 +1330,9 @@ export default {
|
|
|
|
|
/deep/ .ant-modal-body .ant-input {
|
|
|
|
|
background: #f5f9fe;
|
|
|
|
|
}
|
|
|
|
|
.PrintRadio {
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding-left: 1rem;
|
|
|
|
|
margin-bottom: 0.8rem;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|