From e1e5ccdfef4aefc70f2df86a97cb50ae4e3d2706 Mon Sep 17 00:00:00 2001 From: 王震 <10952869+daywangzhen@user.noreply.gitee.com> Date: 星期一, 20 十一月 2023 09:47:43 +0800 Subject: [PATCH] modified: src/views/quality/finishedProductInspection/finishedProducter-print.vue modified: src/views/quality/finishedProductInspection/index.vue modified: vue.config.js --- src/views/quality/finishedProductInspection/finishedProducter-print.vue | 116 +++++++++++++++++++++++++++++++++++++++------------------- 1 files changed, 78 insertions(+), 38 deletions(-) diff --git a/src/views/quality/finishedProductInspection/finishedProducter-print.vue b/src/views/quality/finishedProductInspection/finishedProducter-print.vue index 266bcc3..d0994b0 100644 --- a/src/views/quality/finishedProductInspection/finishedProducter-print.vue +++ b/src/views/quality/finishedProductInspection/finishedProducter-print.vue @@ -1,18 +1,18 @@ -<template class="WordSection1"> -<div align=center style="word-wrap:break-word;text-justify-trim:punctuation"> +<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;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'> + <table style="border-collapse:collapse;table-layout:fixed;page-break-after: always;" 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'> <img width=174 height=58 src="../../../../public/img/image001.jpg"> </span> </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> + <td colspan=6 class="xl6624921" style='border-right:.5pt solid black;border-left:none;width:380pt;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" style='width:136pt;height: 60pt' >鐗堟湰鍙�: A/0</td> </tr> - <tr class=xl6524921 height=33 style='mso-height-source:userset;height:25.05pt'> + <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'> 璁板綍缂栧彿:ZTT/QR-8.6-05锛圓/0) </td> @@ -21,48 +21,48 @@ </td> <td colspan=2 class=xl6824921 style='border-top:none'></td> </tr> - <tr class=xl6524921 style='mso-height-source:userset;height:25.05pt'> + <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 style='mso-height-source:userset;height:40.05pt'> - <td colspan=2 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'>銆� + <td colspan=5 class="xl6624921" style='border-right:.5pt solid black; border-left:none'>銆� <p class="MsoNormal" align="center" style="text-align:center"> <span lang="EN-US" style="font-family:"Arial",sans-serif" v-text="deviceStr"></span> </p> </td> - <td colspan=2 class=xl6924921 style='border-top:none;border-left:none'>妫�楠屼緷鎹�:</td> - <td colspan=7 class=xl6624921 style='border-right:.5pt solid black; border-left:none'> + <td colspan=2 class="xl6924921" style='border-top:none;border-left:none'>妫�楠屼緷鎹�:</td> + <td colspan=7 class="xl6624921" style='border-right:.5pt solid black; border-left:none'> 銆� </td> </tr> - <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <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'> 浜у搧鍚嶇О: </td> - <td colspan=4 class=xl6624921 style='border-right:.5pt solid black; border-left:none'> + <td colspan=4 class="xl6624921" style='border-right:.5pt solid black; border-left:none'> <p class="MsoNormal" align="center" style="text-align:center"> <span lang="EN-US" style="font-family:"Arial",sans-serif" v-text="product"></span> </p> </td> - <td colspan=2 class=xl6924921 style='border-top:none;border-left:none'>浜у搧鍨嬪彿:</td> - <td colspan=3 class=xl6624921 style='border-right:.5pt solid black; border-left:none'> + <td colspan=2 class="xl6924921" style='border-top:none;border-left:none'>浜у搧鍨嬪彿:</td> + <td colspan=3 class="xl6624921" style='border-right:.5pt solid black; border-left:none'> <p class="MsoNormal" align="center" style="text-align:center"> <span lang="EN-US" style="font-family:"Arial",sans-serif" v-text="typedata"></span> </p> </td> - <td colspan=2 class=xl6924921 style='border-top:none;border-left:none'>浜у搧鏁伴噺:</td> - <td colspan=3 class=xl6624921 style='border-right:.5pt solid black; border-left:none'> + <td colspan=2 class="xl6924921" style='border-top:none;border-left:none'>浜у搧鏁伴噺:</td> + <td colspan=3 class="xl6624921" style='border-right:.5pt solid black; border-left:none'> <p class="MsoNormal" align="center" style="text-align:center"> <span lang="EN-US" style="font-family:"Arial",sans-serif" v-text="number"></span> </p> </td> </tr> - <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <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'> 妫�楠屽唴瀹�: </td> @@ -71,7 +71,7 @@ </td> </tr> - <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <tr class="xl6524921" height=53 style='mso-height-source:userset;height:40.05pt'> <td colspan=3 height=53 class=xl7624921 style='border-right:.5pt solid black;height:40.05pt'> 妫�楠岃姹� </td> @@ -89,7 +89,7 @@ <tbody v-for="(item,index) in prjdata" :key="index"> - <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <tr class="xl6524921" height=53 style='mso-height-source:userset;height:40.05pt'> <td :rowspan="item.children.length" height=53 class=xl7624921 style='border-right:.5pt solid black; height:40.05pt'> <p > <span style=" writing-mode: vertical-rl;font-size: 26pt;">{{item.father}}</span> @@ -112,7 +112,7 @@ <span lang="EN-US" style="font-family:"Arial",sans-serif">涓嶅悎鏍�</span></p> </td> </tr> - <tr class=xl6524921 height=53 v-for="(el,index) in (item.children.slice(1))" :key="index" style='mso-height-source:userset;height:40.05pt'> + <tr class="xl6524921" height=53 v-for="(el,index) in (item.children.slice(1))" :key="index" style='mso-height-source:userset;height:40.05pt'> <td colspan=2 class=xl6624921 style='border-right:.5pt solid black;border-left:none'> <span style="font-family:瀹嬩綋">{{el.iname}}</span> </td> @@ -130,7 +130,7 @@ </td> </tr> </tbody> - <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'> + <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> 妫�楠�/鏃堕棿:<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;'> @@ -151,9 +151,9 @@ </div> <div v-for="pel in prjdata"> <template> - <div style="page-break-after: always;"> + <div align="center" style="page-break-after: always;border-collapse:collapse;table-layout:fixed;page-break-after: always;" width="629"> <div > - <div class="head" id="head"> + <div class="head"> <div class="head-1"> <img width=174 height=58 src="../../../../public/img/image002.png"> </div> @@ -166,13 +166,14 @@ <div class="bodycs"> <p class=x1111111><span>妫� 娴� 鎶� 鍛�<br> <span class=x1111112 >Test Report</span><br> - <p style=" border-top: 1px solid black;width: 96%;margin-top: -1px;"></p> + <p style=" border-top: 1px solid black;width: 900pt;margin-top: -1px;"></p> </span></p> </div> - <div class="bodycs-1"> - <p style="margin-left: 40px;"><span style="font-size:12pt;font-family:榛戜綋">鎶ュ憡缂栧彿:锛圢o锛�:ZTMS01-<br>Report No.锛�</span></p> + <div style="margin-left:40pt"> + <div class="bodycs-1"> + <p ><span style="font-size:12pt;font-family:榛戜綋">鎶ュ憡缂栧彿:锛圢o锛�:ZTMS01-<br>Report No.锛�</span></p> <p style="margin-left: 350px;"><span style="font-size:12pt;font-family:榛戜綋">鎶ュ憡鏃ユ湡<br> Report Date</span></p> - <p style="margin-left: 180px;"><span style="font-size:12pt;font-family:榛戜綋">椤垫锛�1/8<br> Page</span></p> + <p style="margin-left: 190px;"><span style="font-size:12pt;font-family:榛戜綋">椤垫锛�1/8<br> Page</span></p> </div> <div> <div class="bodycs-2"> @@ -208,6 +209,14 @@ <p ><span class="x1111113">妫�楠屽憳锛�<br> Tested by</span></p> <p ><span class="time">{{username}}</span><br><span style="display: block;height: 2px; width: 300px; background: rgb(20, 20, 22);margin-left: 75px;"></span></span></p> </div> + <div> + <br> + <br> + <br> + <br><br><br> + <span + style='mso-spacerun:yes'> </span> + </div> <div class="cldata"> <p ><span class="x1111113">閫佹牱鏃ユ湡:<br>Delivery Date</span></p> <p ><span class="time">{{tableData.updateTime}}</span><br><span style="display: block;height: 2px; width: 300px; background: rgb(20, 20, 22);margin-left: 75px;"></span></span></p> @@ -216,11 +225,12 @@ <p ><span class="x1111113">娴嬭瘯鏃ユ湡:<br>Testing Date</span></p> <p ><span class="time">{{tableData.createTime}}</span><br><span style="display: block;height: 2px; width: 300px; background: rgb(20, 20, 22);margin-left: 75px;"></span></span></p> </div> + </div> </div> </div> </div> <div class="pagefooting"> - <p><span style="font-size:8pt;font-family:瀹嬩綋;color: cornflowerblue;"> + <p><span style="font-size:8pt;font-family:瀹嬩綋;color: cornflowerblue;margin-left: 40pt;"> 鍦板潃:姹熻嫃鐪佸崡閫氬競缁忔祹鎶�鏈紑鍙戝尯鏂板紑鍗楄矾1鍙�(226010) 鐢佃瘽:051389191125 浼犵湡:051389191123 <br>Add: No 1 Xinkainan Road, NETDZ Nantong, Jiangsu, China (226010); TEL: 051389191125 ; Fax:051389191123 </span></p> @@ -268,6 +278,14 @@ </div> </div> </div> + <div> + <br> + <br> + <br> + <br><br><br> + <span + style='mso-spacerun:yes'> </span> + </div> <div class="pagefooting"> <p><span style="font-size:8pt;font-family:瀹嬩綋;color: cornflowerblue;"> 鍦板潃:姹熻嫃鐪佸崡閫氬競缁忔祹鎶�鏈紑鍙戝尯鏂板紑鍗楄矾1鍙�(226010) 鐢佃瘽:051389191125 浼犵湡:051389191123 @@ -303,7 +321,7 @@ <p style=" border-top: 1px solid black;width: 96%;margin-top: -1px;"></p> <p class="x1111113" ><span style="display: flex;margin-top: 40px;margin-left: 40px;">鎶ュ憡姝f枃锛�</span></p> </div> - <div class="bodycs" style="margin-top: 30px;"> + <div class="bodycs" style="margin-top: 80px;"> <p class=x1111112><span>{{iname}}<br> </span></p> <div class="bodycs-1" style="margin-top: 10px;"> @@ -316,13 +334,13 @@ <p style=" border-top: 1px solid black;width: 96%;margin-top: 20px;"></p> </div> </div> - <div style="margin-top: 50px;display: flex;"> + <div style="margin-top: 100px;display: flex;"> <p style="margin-left: 40px;"><span style="font-size:12pt;font-family:榛戜綋">2.鍙傝�冩爣鍑哛eference standards <br>鏈妫�娴嬫墍渚濇嵁鐨勬妧鏈枃浠讹紙浠e彿銆佸悕绉帮級锛�<br>Reference documents for this testing </span></p> </div> <div> <p style=" border-top: 1px solid black;width: 96%;margin-top: 1px;"></p> </div> - <div style="margin-top: 50px;display: flex;"> + <div style="margin-top: 80px;display: flex;"> <p class=x1111112 style="margin-left: 40px;"><span style="font-size:12pt;font-family:榛戜綋">3.鐜鏉′欢Environmental conditions锛�</span></p> </div> <div style="display: flex;"> @@ -332,7 +350,7 @@ <div style="margin-top: 50px;display: flex;"> <p class=x1111112 style="margin-left: 40px;"><span style="font-size:12pt;font-family:榛戜綋">4.娴嬭瘯鐩殑Test purpose锛�</span></p> </div> - <div style="margin-top: 50px;display: flex;"> + <div style="margin-top: 80px;display: flex;"> <p class=x1111112 style="margin-left: 40px;"><span style="font-size:12pt;font-family:榛戜綋">5.娴嬭瘯鏂规硶Test method锛�</span></p> </div> <div> @@ -413,6 +431,13 @@ <span style='mso-spacerun:yes'> </span> </div> + <div> + <br> + <br> + <br> + <span + style='mso-spacerun:yes'> </span> + </div> </div> </div> <div class="pagefooting"> @@ -460,6 +485,13 @@ <br> <span> </span> </div> + <div> + <br> + <br> + <br> + <span + style='mso-spacerun:yes'> </span> + </div> <div> <p class="x1111113" ><span style="font-size 40pt;display: flex;margin-top: 40px;margin-left: 40px;;font-family:榛戜綋">9.娴嬭瘯鍚庢鏌osttest check锛�</span></p> </div> @@ -479,6 +511,13 @@ </div> </div> </div> + <div> + <br> + <br> + <br> + <span + style='mso-spacerun:yes'> </span> + </div> <div class="pagefooting"> <p><span style="font-size:8pt;font-family:瀹嬩綋;color: cornflowerblue;"> 鍦板潃:姹熻嫃鐪佸崡閫氬競缁忔祹鎶�鏈紑鍙戝尯鏂板紑鍗楄矾1鍙�(226010) 鐢佃瘽:051389191125 浼犵湡:051389191123 @@ -581,7 +620,7 @@ itype: '', testValueList: new Array(this.columnLength) } - let rowNum = 15 + let rowNum = 20 let columnNum = this.columnLength if(list && list.length<2){ list.forEach(item=>{ @@ -1760,6 +1799,7 @@ .head{ display: flex; + width: 900pt; .head-1{ padding: 40px; } @@ -1771,7 +1811,7 @@ } } .bodycss{ - // margin-left: 85px; + margin-left: 85px; } .bodycs{ // margin-left: 135px; -- Gitblit v1.9.3