王震
2023-11-20 1236ba48c630d4f1b88f830795a751331049b3bd
	modified:   src/views/quality/finishedProductInspection/finishedProducter-print.vue
modified: src/views/quality/finishedProductInspection/index.vue
已修改2个文件
6 ■■■■■ 文件已修改
src/views/quality/finishedProductInspection/finishedProducter-print.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/quality/finishedProductInspection/index.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/quality/finishedProductInspection/finishedProducter-print.vue
@@ -1,7 +1,7 @@
<template>
<div  class="WordSection1"  align=center  style="word-wrap:break-word;text-justify-trim:punctuation">
        <div align="center" >
            <table  style="border-collapse:collapse;table-layout:fixed;page-break-after: always;margin-top: 60px;" width="629">
            <table  style="border-collapse:collapse;table-layout:fixed;page-break-after: always;margin-top: 0px;" width="629">
                <tr class="xl6524921" height=20 style='mso-height-source:userset;height:30.0pt'>
                    <td  colspan=3 rowspan=2  style='width:160pt;height: 60pt;border: 1pt solid windowtext'>
                        <span style='mso-ignore:vglayout;margin-left:12px;margin-top:14px;width:104px;height:42px'>
src/views/quality/finishedProductInspection/index.vue
@@ -213,12 +213,14 @@
        methods: {
            //打印按钮
            printFun() {
                const style = '@page {margin: 10mm 5mm; margin-bottom: 0;margin-top:0;} ' +'@media print {.title{font-size:30pt;font-weight: 400;font-family: 黑体;!important;}' ;
                PrintJS({
                    printable: "printRaw",
                    type: "html",
                    maxWidth: 1000,
                    // header: "产品检测报告",
                    style: '@page {margin: 10mm 5mm; margin-bottom: 0;margin-top:0;}',
                    style: style,
                    // scanStyles: false,
                    targetStyles: ["*"],
                    ignoreElements: ["no-ignore"],
                    orientation: 'portrait'