Skip to content

Commit

Permalink
Merge pull request #404 from beyond-sw-camp/feat/bug/인쇄-버그수정
Browse files Browse the repository at this point in the history
bug: 인쇄 버그수정
  • Loading branch information
dispear authored Jan 1, 2025
2 parents 2082d03 + 995d325 commit 1fe4dc6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const closePrintModal = () => {
};
const printPage = () => {
const printContent = document.getElementById('print-area').innerHTML;
const printContent = document.getElementById('print-area-purchaseOrder').innerHTML;
const originalContent = document.body.innerHTML; // 현재 페이지 내용 저장
document.body.innerHTML = printContent;
Expand Down Expand Up @@ -143,7 +143,7 @@ const clearCanvas = () => {
<div v-show="isVisible" class="modal-overlay" @click.self="closePrintModal">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-body" id="print-area">
<div class="modal-body" id="print-area-purchaseOrder">
<div class="d-flex justify-content-between">
<button class="btn-print" @click="printPage">출력</button>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close" @click="closePrintModal" ></button>
Expand Down

0 comments on commit 1fe4dc6

Please sign in to comment.