王震
2023-11-17 245b12054cd6c56cabfbd4121a1090c093194f97
	modified:   src/views/quality/finishedProductInspection/finishedProducter-print.vue
modified: src/views/quality/finishedProductInspection/index.vue
已修改2个文件
11 ■■■■■ 文件已修改
src/views/quality/finishedProductInspection/finishedProducter-print.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/quality/finishedProductInspection/index.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/quality/finishedProductInspection/finishedProducter-print.vue
@@ -90,8 +90,8 @@
            <tbody v-for="(item,index) in prjdata" :key="index">
            <tr  class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'>
                <td  rowspan=16 height=53 class=xl7624921 style='border-right:.5pt solid black; height:40.05pt'>
                    <p class="MsoNormal" align="center" style="text-align:centerdisplay:flex ;">
                        <span style="font-family:宋体; writing-mode: vertical-rl;margin-left: 30px;">{{item.father}}</span>
                    <p >
                        <span  style=" writing-mode: vertical-rl;font-size: 26pt;">{{item.father}}</span>
                    </p>
                </td>
                <td  colspan=2 class=xl6624921 style='border-right:.5pt solid black;border-left:none'>
@@ -149,7 +149,7 @@
    <div>
        <template>
            <div style="margin-top: 100pt;width: 75%;">
                <div class="head">
                <div class="head" id="head">
                    <div class="head-1">
                        <img width=174 height=58 src="../../../../public/img/image002.png">
                    </div>
src/views/quality/finishedProductInspection/index.vue
@@ -217,10 +217,13 @@
            },
            //打印按钮
            printFun() {
            this.printDialogVisible = false;
            // this.printDialogVisible = false;
            // const imgWidth = 841.89 - margin * 2
            // const imgHeight = 841.89 / (canvas.width / canvas.height) - margin * 2
                PrintJS({
                    printable: "printRaw",
                    type: "html",
                    header:"",
                    maxWidth: 950,
                    style: '@page {margin: 2.0mm 2.0mm}',
                    targetStyles: ["*"],