王震
2023-11-18 0339d5d661aee771a160c541444d2bd7eec973e9
	modified:   src/views/quality/finishedProductInspection/finishedProducter-print.vue
modified: src/views/quality/finishedProductInspection/index.vue
已修改2个文件
86 ■■■■■ 文件已修改
src/views/quality/finishedProductInspection/finishedProducter-print.vue 82 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/quality/finishedProductInspection/index.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/quality/finishedProductInspection/finishedProducter-print.vue
@@ -1,15 +1,16 @@
<template>
    <div id="20230721_24921" align=center x:publishsource="Excel" style="margin-top: 65pt;margin-left: 15pt;">
        <table border=0 cellpadding=0 cellspacing=0 width=1194 style='border-collapse:collapse;table-layout:fixed;width:629pt;page-break-after: always;'>
<template class="WordSection1">
<div   align=center  style="word-wrap:break-word;text-justify-trim:punctuation">
        <div align="center" >
            <table style='border-collapse:collapse;table-layout:fixed;width:629pt;page-break-after: always;margin-left: 25pt;margin-top: 80px;'>
            <tr class=xl6524921 height=20 style='mso-height-source:userset;height:30.0pt'>
                <td  colspan=3 rowspan=2 height=40 width=122 style='width:150pt;border: 1pt solid windowtext'>
                    <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'>
                        <img width=174 height=58 src="../../../../public/img/image001.jpg">
                    </span>
                </td>
                <td colspan=6 class=xl6624921 width=399 style='border-right:.5pt solid black;border-left:none;width:250pt'>记录名称:连接器及成品检验记录表</td>
                <td colspan=3 class=xl6624921 width=226 style='border-left:none;width: 150pt'>保存期限:25年</td>
                <td rowspan=2 colspan=3 class=xl6824921 width=235 style='width:126pt' >版本号: A/0</td>
                    <td colspan=6 class=xl6624921  style='border-right:.5pt solid black;border-left:none;width:260pt;height: 60pt'>记录名称:连接器及成品检验记录表</td>
                    <td colspan=3 class=xl6624921   style='border-left:none;width: 160pt;height: 60pt'>保存期限:25年</td>
                    <td rowspan=2 colspan=3 class=xl6824921 width=235 style='width:136pt;height: 60pt' >版本号: A/0</td>
            </tr>
            <tr class=xl6524921 height=33 style='mso-height-source:userset;height:25.05pt'>
                <td colspan=6 height=33 class=xl6624921 style='border-right:.5pt solid black;height:25.05pt;border-left:none'>
@@ -20,13 +21,13 @@
                </td>
                <td colspan=2  class=xl6824921 style='border-top:none'></td>
            </tr>
            <tr class=xl6524921 height=33 style='mso-height-source:userset;height:25.05pt'>
                <td colspan=16 height=33 class=xl7424921 width=1194 style='height:25.05pt;  width:897pt'>
                <tr class=xl6524921  style='mso-height-source:userset;height:25.05pt'>
                    <td colspan=16  class=xl7424921 width=1194 style='height:25.05pt;  width:897pt'>
                    连接器及成品检验记录表
                </td>
            </tr>
            <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'>
                <td colspan=2 height=53 class=xl7624921 style='border-right:.5pt solid black;  height:40.05pt'>
                <tr class=xl6524921  style='mso-height-source:userset;height:40.05pt'>
                    <td colspan=2 class=xl7624921 style='border-right:.5pt solid black;  height:40.05pt'>
                    项目名称:
                </td>
                <td colspan=5 class=xl6624921 style='border-right:.5pt solid black;  border-left:none'> 
@@ -130,10 +131,10 @@
            </tr>
            </tbody>
            <tr  class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'>
            <td colspan=8  height=53 class=xl7624921 style='border-right:.5pt solid black;
  height:40.05pt;text-align: left;'><p>&nbsp;检验/时间:</p></td>
            <td colspan=8  height=53 class=xl7624921 style='border-right:.5pt solid black;
  height:40.05pt;text-align: left;'><p> &nbsp;审批:</p></td>
                <td colspan=8  height=53 class=xl7624921 style='border-right:.5pt solid black;height:40.05pt;text-align: left;'>
                    <p>&nbsp;检验/时间:<span>{{tableData.createTime}}</span></p></td>
                <td colspan=8  height=53 class=xl7624921 style='border-right:.5pt solid black; height:40.05pt;text-align: left;'>
                    <p> &nbsp;审批:<span>{{username}}</span></p></td>
            </tr>
            <tr height=0 style='display:none'>
@@ -146,8 +147,8 @@
                <td width=235 style='width:176pt'></td>
            </tr>
        </table>
    <!-- <div v-for="items in prjdata">
        <div v-for="aa in items.length"> -->
        </div>
        <template>
            <div style="page-break-after: always;">
            <div>
@@ -485,8 +486,6 @@
            </div>
            </div>
        </template>
        <!-- </div>
    </div>  -->
</div>
</template>
@@ -580,7 +579,7 @@
                            itype: '',
                            testValueList: new Array(this.columnLength)
                        }
                        let rowNum = 15
                        let rowNum = 30
                        let columnNum = this.columnLength
            if(list && list.length<2){
                list.forEach(item=>{
@@ -621,7 +620,7 @@
                                    }
                                }
                            }else{
                                obj.testValueList = new Array(12)
                                obj.testValueList = new Array(20)
                            }
                        })
                    }
@@ -651,10 +650,6 @@
</script>
<style lang="scss">
table{
    mso-displayed-decimal-separator: "\.";
    mso-displayed-thousand-separator: "\,";
}
.xl6524921 {
    padding: 0px;
@@ -1904,4 +1899,41 @@
    mso-pattern: auto;
    white-space: nowrap;
}
@font-face{
    font-family:微软雅黑;
    panose-1:2 1 6 0 3 1 1 1 1 1;
}
@font-face{
    font-family:"Cambria Math";
    panose-1:2 4 5 3 5 4 6 3 2 4;
}
@font-face{
    font-family:Calibri;
    panose-1:2 15 5 2 2 2 4 3 2 4;
}
@font-face{
    font-family:"\@微软雅黑";
    panose-1:2 1 6 0 3 1 1 1 1 1;
}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal{
    margin:0cm;
    text-align:justify;
    text-justify:inter-ideograph;
    font-size:10.5pt;
    font-family:"Calibri",sans-serif;
}
/* Page Definitions */
@page WordSection1{
   size:595.3pt 841.9pt;
    margin:72.0pt 2.0cm 2.0cm 2.0cm;
    layout-grid:15.6pt;
}
div.WordSection1{
    page : WordSection1;
}
.procedure {
    word-wrap:break-word;
}
</style>
src/views/quality/finishedProductInspection/index.vue
@@ -227,12 +227,10 @@
                PrintJS({
                    printable: "printRaw",
                    type: "html",
                    header:"",
                    maxWidth: 1000,
                    maxWidth: 880,
                    printSettings,
                    style: '@page {margin: 2.0mm 2.0mm;size:A4;}',
                    targetStyles: ["*"],
                    fontSize: '30px',
                    ignoreElements: ["no-ignore"],
                    orientation: 'portrait'
                });