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