dev
张同海 2 years ago
parent d04de91853
commit 05038cf886

@ -20,7 +20,6 @@
@changePage="changePageFun"
@copy="copyBookingFun"
@addSedList="addSedList"
@FnOcrChenga="FnOcrChenga"
></operationArea>
<a-tabs type="card">
<a-tab-pane key="1-1" tab="基础信息">
@ -725,10 +724,6 @@ export default {
query: { id: this.id, isCopy: true, type: this.bookingDetails.carrierid }
})
},
FnOcrChenga(data) {
this.bookingDetails = data
console.log(this.bookingDetails)
},
addSedList() {
if (this.isAdd) {
this.$message.error('请先保存主单')

@ -668,7 +668,6 @@ export default {
this.BCvData.push(item)
}
})
this.$emit('FnOcrChenga', this.details)
},
drawRect(e) {
if (this.flag) {
@ -1253,16 +1252,16 @@ export default {
})
.then(res => {
this.downLoadLoading = false
this.pdfUrl = window.URL.createObjectURL(new Blob([res], { type: 'application/pdf;charset=utf-8' }))
const fname = '放舱打印' //
const link = document.createElement('a')
link.href = this.pdfUrl
link.setAttribute('download', fname)
document.body.appendChild(link)
link.click()
if (res.message) {
this.$message.error(res.message)
}
this.pdfUrl = window.URL.createObjectURL(new Blob([res], { type: 'application/pdf;charset=utf-8' }))
const fname = '放舱打印' //
const link = document.createElement('a')
link.href = this.pdfUrl
link.setAttribute('download', fname)
document.body.appendChild(link)
link.click()
if (res.message) {
this.$message.error(res.message)
}
})
.catch(() => {
this.downLoadLoading = false

Loading…
Cancel
Save