From 9c3cda89b53b134b95142116c7d1a72eb1a8f5b3 Mon Sep 17 00:00:00 2001
From: 王震 <10952869+daywangzhen@user.noreply.gitee.com>
Date: 星期四, 16 十一月 2023 18:31:02 +0800
Subject: [PATCH] 	modified:   src/views/quality/finishedProductInspection/finishedProducter-print.vue 	modified:   src/views/quality/finishedProductInspection/index.vue

---
 src/views/quality/finishedProductInspection/finishedProducter-print.vue |  483 ++++++++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 415 insertions(+), 68 deletions(-)

diff --git a/src/views/quality/finishedProductInspection/finishedProducter-print.vue b/src/views/quality/finishedProductInspection/finishedProducter-print.vue
index fd826ba..fed98cc 100644
--- a/src/views/quality/finishedProductInspection/finishedProducter-print.vue
+++ b/src/views/quality/finishedProductInspection/finishedProducter-print.vue
@@ -1,6 +1,6 @@
 <template>
-    <div id="20230721_24921" align=center x:publishsource="Excel" style="margin-top: 20pt;">
-        <table border=0 cellpadding=0 cellspacing=0 width=1194 style='border-collapse:collapse;table-layout:fixed;width:607pt'>
+    <div id="20230721_24921" align=center x:publishsource="Excel" style="margin-top: 60pt;margin-left: 20pt;">
+        <table border=0 cellpadding=0 cellspacing=0 width=1194 style='border-collapse:collapse;table-layout:fixed;width:629pt'>
             <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'>
                     <span style='mso-ignore:vglayout;margin-left:12px;margin-top:14px;width:104px;height:42px'>
@@ -12,86 +12,126 @@
                 <td rowspan=2 colspan=3 class=xl6824921 width=235 style='width:126pt' >鐗堟湰鍙�: 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'>璁板綍缂栧彿:ZTT/QR-8.6-05锛圓/0)</td>
-                <td colspan=3  class=xl6624921 style='border-top:none;border-left:none'>褰掓。閮ㄩ棬:璐ㄩ噺淇濊瘉閮�</td>
+                <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>
+                <td colspan=3  class=xl6624921 style='border-top:none;border-left:none'>
+                    褰掓。閮ㄩ棬:璐ㄩ噺淇濊瘉閮�
+                </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'>杩炴帴鍣ㄥ強鎴愬搧妫�楠岃褰曡〃</td>
+                <td colspan=16 height=33 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'>椤圭洰鍚嶇О:</td>
-                <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:&quot;Arial&quot;,sans-serif" v-text="deviceStr"></span></p>
+                <td colspan=2 height=53 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'>銆�
+                    <p class="MsoNormal" align="center" style="text-align:center">
+                        <span lang="EN-US" style="font-family:&quot;Arial&quot;,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=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'>
-                <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'>
-            <p class="MsoNormal" align="center" style="text-align:center">
-                <span lang="EN-US" style="font-family:&quot;Arial&quot;,sans-serif" v-text="product"></span></p>
-             </td>
+                <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'>
+                    <p class="MsoNormal" align="center" style="text-align:center">
+                        <span lang="EN-US" style="font-family:&quot;Arial&quot;,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'>
-             <p class="MsoNormal" align="center" style="text-align:center">
-                <span lang="EN-US" style="font-family:&quot;Arial&quot;,sans-serif" v-text="typedata"></span></p>
+                <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:&quot;Arial&quot;,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=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:&quot;Arial&quot;,sans-serif" v-text="number"></span></p>
+                    <span lang="EN-US" style="font-family:&quot;Arial&quot;,sans-serif" v-text="number"></span>
+                </p>
             </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'>妫�楠屽唴瀹�:</td>
-                <td  colspan=14 class=xl6624921 style='border-right:.5pt solid black;
-  border-left:none'>妫�楠岀粨鏋�</td>
+                <td colspan=2 height=53 class=xl7624921 style='border-right:.5pt solid black;  height:40.05pt'>
+                    妫�楠屽唴瀹�:
+                </td>
+                <td  colspan=14 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'>
-                <td colspan=2 height=53 class=xl7624921 style='border-right:.5pt solid black;
-  height:40.05pt'>閫氭柇/绾垮簭</td>
-                <td  colspan=7 class=xl6624921 style='border-right:.5pt solid black;
-  border-left:none'>閫氭柇:  &nbsp;&nbsp;鈻″悎鏍� &nbsp;&nbsp; 鈻′笉鍚堟牸</td>
-            <td  colspan=7 class=xl6624921 style='border-right:.5pt solid black;
-border-left:none'>绾垮簭:  &nbsp;&nbsp;鈻″悎鏍� &nbsp;&nbsp; 鈻′笉鍚堟牸</td>
+                <td colspan=3 height=53 class=xl7624921 style='border-right:.5pt solid black;height:40.05pt'>
+                    妫�楠岃姹�
+                </td>
+                <td  colspan=1 class=xl6624921 style='border-right:.5pt solid black;border-left:none'>
+                    鏍囧噯鍊�
+                </td>
+                <td  colspan=1 v-for="a in 9" class=xl6624921 style='border-right:.5pt solid black; border-left:none'>
+                    {{a>9?item:'0'+a}}
+                </td>
+                <td  colspan=2 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'>
-                <td colspan=2 rowspan=3 height=53 class=xl7624921 style='border-right:.5pt solid black;
-  height:40.05pt'><p>缁濈紭鐢甸樆鈮�</p><p>______00M惟</p><p>_____00VDC</p></td>
-                <td  colspan=2 rowspan=3 class=xl6624921 style='border-right:.5pt solid black;
-  border-left:none'><p>娴嬭瘯缁�</p><p>鏋滄渶灏�</p><p>鍊�</p></td>
-            <td  colspan=1 class=xl6624921 style='border-right:.5pt solid black;
-  border-left:none'>浜у搧</td>
-            <td  colspan=1 class=xl6624921 style='border-right:.5pt solid black;
-  border-left:none'>浜у搧</td><td  colspan=1 class=xl6624921 style='border-right:.5pt solid black;
-  border-left:none'>浜у搧</td><td  colspan=1 class=xl6624921 style='border-right:.5pt solid black;
-  border-left:none'>浜у搧</td><td  colspan=1 class=xl6624921 style='border-right:.5pt solid black;
-  border-left:none'>浜у搧</td><td  colspan=1 class=xl6624921 style='border-right:.5pt solid black;
-  border-left:none'>浜у搧</td><td  colspan=1 class=xl6624921 style='border-right:.5pt solid black;
-  border-left:none'>浜у搧</td><td  colspan=1 class=xl6624921 style='border-right:.5pt solid black;
-  border-left:none'>浜у搧</td><td  colspan=1 class=xl6624921 style='border-right:.5pt solid black;
-  border-left:none'>浜у搧</td>
-                <td  colspan=3 rowspan="3" class=xl6624921 style='border-right:.5pt solid black;
-  border-left:none'><p>鈻″悎鏍�</p><p>鈻′笉鍚堟牸</p></td>
+
+
+            <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:center">
+                        <span style="font-family:瀹嬩綋">{{item.father}}</span>
+                    </p>
+                </td>
+                <td  colspan=2 class=xl6624921 style='border-right:.5pt solid black;border-left:none'>
+                    <span style="font-family:瀹嬩綋">{{item.children[0].iname}}</span>
+                </td>
+                <td  colspan=1 class=xl6624921 style='border-right:.5pt solid black;border-left:none'>
+                    <span style="font-family:瀹嬩綋">{{item.children[0].required}}</span>
+                </td>
+                <td  colspan=1 v-for="(val,index) in item.children[0].testValueList" class=xl6624921 style='border-right:.5pt solid black;border-left:none'>
+                    <span style="font-family:瀹嬩綋">{{val}}</span>
+                </td>
+
+                <td  colspan=2  class=xl6624921 style='border-right:.5pt solid black; border-left:none'>
+                    <p v-if="item.children[0].iresult ==1" class="MsoNormal" align="center" style="text-align:center">
+                        <span lang="EN-US" style="font-family:&quot;Arial&quot;,sans-serif">鍚堟牸</span></p>
+                    <p v-if="item.children[0].iresult ==0" class="MsoNormal" align="center" style="text-align:center">
+                        <span lang="EN-US" style="font-family:&quot;Arial&quot;,sans-serif">涓嶅悎鏍�</span></p>
+                </td>
             </tr>
-            <tr class=xl6524921 height=53 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>
+                <td  colspan=1 class=xl6624921 style='border-right:.5pt solid black;border-left:none'>
+                    <span style="font-family:瀹嬩綋">{{el.required}}</span>
+                </td>
+                <td  colspan=1  v-for="(testValue,index) in el.testValueList" class=xl6624921 style='border-right:.5pt solid black;border-left:none'>
+                    <span style="font-family:瀹嬩綋">{{testValue}}</span>
+                </td>
+                <td  colspan=2  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:&quot;Arial&quot;,sans-serif">{{ el.iresult | formatState}}</span></p>
+
+                    
+                </td>
+            </tr>
+            </tbody>
+
+
+            <!-- <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'>
                 <td  colspan=1 class=xl6624921 style='border-right:.5pt solid black;
   border-left:none'></td>
   <td  colspan=1 class=xl6624921 style='border-right:.5pt solid black;
@@ -107,9 +147,9 @@
             <tr class=xl6524921 height=53 style='mso-height-source:userset;height:40.05pt'>
                 <td  colspan=9 class=xl6624921 style='border-right:.5pt solid black;
   border-left:none'></td>
-            </tr>
+            </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 rowspan=2 height=53 class=xl7624921 style='border-right:.5pt solid black;
   height:40.05pt'>閫氭柇/绾垮簭</td>
                 <td  colspan=7 class=xl6624921 style='border-right:.5pt solid black;
@@ -482,8 +522,8 @@
             <td colspan=10  height=53 class=xl7624921 style='border-right:.5pt solid black;
   height:40.05pt'><p>鍙戝嚭浜у搧涓嶅緱鍑虹幇浠讳綍褰㈠紡鐨勪緵搴斿晢淇℃伅锛屽寘鎷紗鐩樹笂鐨勬爣绛俱�佺數缂�</p><p>涓婁緵搴斿晢鍚嶇О绛�</p></td>
             <td  colspan=3 class=xl6624921 style='border-right:.5pt solid black;
-  border-left:none'>  &nbsp; 鈻″悎鏍� &nbsp;鈻′笉鍚堟牸</td>
-            </tr>
+  border-left:none'>  &nbsp; 鈻″悎鏍� &nbsp;鈻′笉鍚堟牸</td> -->
+            <!-- </tr> -->
             <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>
@@ -501,6 +541,83 @@
                 <td width=235 style='width:176pt'></td>
             </tr>
         </table>
+
+        <template>
+            <div style="margin-top: 100pt;width: 75%;">
+                <div class="head">
+                    <div class="head-1">
+                        <img width=174 height=58 src="../../../../public/img/image002.png">
+                    </div>
+                    <div class="head-2">
+                        <p><span style="font-size:18pt;font-family:瀹嬩綋;margin-right: 70pt;">涓ぉ娴锋磱绯荤粺鏈夐檺鍏徃</span></p>
+                        <span style="font-size:12pt;font-family:瀹嬩綋;margin-right: 70pt;">ZHONGTIAN TECHNOLOGY MARINE SYSTEMS Co.,LTD.</span>
+                    </div>
+                </div>
+                <div class="bodycss">
+                    <div class="bodycs">
+                        <p class=x1111111><span>妫� 娴� 鎶� 鍛�<br>
+                            <span class=x1111112 >Test  &nbsp; Report</span><br>
+                            <p style=" border-top: 1px solid black;width: 96%;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>
+                        <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>
+                    </div>
+                    <div>
+                    <div class="bodycs-2">
+                        <p ><span class=x1111112  style='margin-left: 40px;'>妫�楠岄」鐩�:<br>&nbsp;Test Item</span></p> 
+                        <p v-for="pel in prjdata"><span class="ziti">{{pel.father}}</span><br><span style="display: block;height: 2px; width: 500px; background: rgb(20, 20, 22);margin-left: 80px;"></span></span></p> 
+                    </div>
+                    <div class="bodycs-3">
+                        <p ><span class=x1111112 style='margin-left: 36px;'>鏍峰搧鍚嶇О:<br>Description</span></p> 
+                        <p ><span class="ziti">{{material}}</span><br><span style="display: block;height: 2px; width: 500px; background: rgb(20, 20, 22);margin-left: 75px;"></span></span></p> 
+                    </div>
+                    <div class="bodycs-3">
+                        <p ><span class=x1111112 style='margin-left: 36px;'>瑙勬牸鍨嬪彿:<br>Mode Type</span></p> 
+                        <p ><span class="ziti">{{materialCode}}</span><br><span style="display: block;height: 2px; width: 500px; background: rgb(20, 20, 22);margin-left: 75px;"></span></span></p> 
+                    </div>
+                    <div class="bodycs-3">
+                        <p ><span class=x1111112 style='margin-left: 36px;'>鏍峰搧鏁伴噺:<br>Quantity</span></p> 
+                        <p v-for="pel in prjdata"><span class="ziti">{{quantity}}</span><br><span style="display: block;height: 2px; width: 500px; background: rgb(20, 20, 22);margin-left: 75px;"></span></span></p> 
+                    </div>
+                    <div class="bodycs-3">
+                        <p ><span class=x1111112 style='margin-left: 36px;'>妫�楠岀被鍒�:<br>Type of Test</span></p> 
+                        <p v-for="pel in prjdata"><span class="ziti">浜у搧妫�楠�</span><br><span style="display: block;height: 2px; width: 500px; background: rgb(20, 20, 22);margin-left: 75px;"></span></span></p> 
+                    </div>
+                    <div>
+                        <div class="chilen">
+                        <p ><span class="x1111113">鎵�  鍑�:<br>&nbsp;&nbsp;Approved by</span></p> 
+                        <p v-for="pel in prjdata"><span class="time"></span><br><span style="display: block;height: 2px; width: 300px; background: rgb(20, 20, 22);margin-left: 75px;"></span></span></p> 
+                        </div>
+                        <div class="chilen">
+                        <p ><span class="x1111113">鏍搁獙鍛�:<br>&nbsp;&nbsp;Inspected by</span></p> 
+                        <p v-for="pel in prjdata"><span class="time"></span><br><span style="display: block;height: 2px; width: 300px; background: rgb(20, 20, 22);margin-left: 75px;"></span></span></p> 
+                        </div>
+                        <div style="display: flex;margin-left: 280px;">
+                        <p ><span class="x1111113">妫�楠屽憳锛�<br>&nbsp;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 class="cldata">
+                        <p ><span class="x1111113">閫佹牱鏃ユ湡:<br>Delivery Date</span></p> 
+                        <p v-for="pel in prjdata"><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> 
+                        </div>
+                        <div class="cldata">
+                        <p ><span class="x1111113">娴嬭瘯鏃ユ湡:<br>Testing Date</span></p> 
+                        <p v-for="pel in prjdata"><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 class="pagefooting">
+                    <p><span style="font-size:8pt;font-family:瀹嬩綋;color: cornflowerblue;">
+                        鍦板潃:姹熻嫃鐪佸崡閫氬競缁忔祹鎶�鏈紑鍙戝尯鏂板紑鍗楄矾1鍙�(226010)  鐢佃瘽:051389191125  浼犵湡:051389191123
+                    <br>Add: No 1 Xinkainan Road, NETDZ Nantong, Jiangsu, China (226010); TEL: 051389191125 ; Fax:051389191123
+                    </span></p>      
+                </div>      
+            </div>
+        </template>
     </div>
 </template>
 
@@ -525,37 +642,123 @@
             childrenData: [],
             typedata:null,
             num:null,
+            prjdata:[],
+            material:null,
+            materialCode:null,
+            quantity:null,
+            username:null,
+        }
+    },
+    filters:{
+        formatState(state){
+            if(state){
+                if(state == "1"){
+                    return "鍚堟牸"
+                }
+                if(state == "0"){
+                    return "涓嶅悎鏍�"
+                }
+                return null
+            }
+            return null
         }
     },
     created(){
         this.tableData = this.formData
-        console.log("============",this.tableData)
+        console.log(this.tableData,"=======================77777777");
         this.initData()
-        // this.initProjectList(this.projectList)
+        this.initprjdata(this.prjdata)
     },
     methods:{
         initData(){
+            let ii = []
+        console.log("<------------------------------->");
             this.deviceStr = this.tableData.projectName
             this.product = this.tableData.material
             this.number = this.tableData.quantity
             this.typedata = this.tableData.specs
+            this.material = this.tableData.material
+            this.materialCode = this.tableData.materialCode
+            this.quantity = this.tableData.quantity
+            console.log(this.tableData,"--------------------11111");
+            this.tableData.children.forEach(el =>{
+                this.prjdata.push(el)
+                el.children.forEach(kl =>{
+                    if(kl.userName){
+                        ii.push(kl.userName)
+                    }
+                })
+            })
+                this.username = Array.from(new Set(ii)).join(",")
         },
+        initprjdata(list){
+            console.log(list,"uuuuuuuuuuuuuuuuu");
+            const data = {
+                            eId: '',
+                            ename: '',
+                            iname: '',
+                            inote: '',
+                            inspectionValue: '',
+                            : '',
+                            required: '',
+                            iunit: '',
+                            itype: '',
+                            testValueList: new Array(9)
+                        }
+            if(list && list.length<2){
+                list.forEach(item=>{
+                    if(item.children && item.children.length < 7){
+                        let size = 15 - item.children.length
+                        for(let j=0;j<item.children.length;j++){
+                            let arr = []
+                            if(item.children[j].inspectionValue){
+                                arr = item.children[j].inspectionValue.split(",")
+                            }
+                            item.children[j].testValueList = arr
+                            if(item.children[0].testValueList.length<12){
+                                let num = 9 - item.children[j].testValueList.length
+                                for(let i=0;i<num;i++){
+                                    item.children[j].testValueList.push("")
+                                }
+                            }
+                        }
+                        for(let i=0;i< size;i++){
+                            item.children.push(data)
+                            item.father
+                        }
+                    }
+                })
+            }else{
+                let size = 0
+                list.forEach(item=>{
+                    if(item.children){
+                        size+=item.children.length
+                    }
+                })
+                if(size<15){
+                    let num = 15 - size
+                    for(let i=0;i<num;i++){
+                        list[list.length-1].children.push(data)
+                    }
+                }
+            }
+        }
     },
     watch:{
         formData(newVal){
             if(newVal){
-                this.projectList = []
-                console.log(newVal)
+                this.prjdata = []
+                console.log("formData鍙樺寲--",newVal)
                 this.tableData = newVal
                 this.initData()
-                // this.initProjectList(this.projectList)
+                this.initprjdata(this.prjdata)
             }
         }
     },
 }
 </script>
 
-<style scoped>
+<style lang="scss">
 table{
     mso-displayed-decimal-separator: "\.";
     mso-displayed-thousand-separator: "\,";
@@ -1665,4 +1868,148 @@
     mso-font-charset: 134;
     mso-char-type: none;
 }
+
+.head{
+    display: flex;
+    .head-1{
+        padding: 40px;
+    }
+    .head-2{
+        margin-left: auto;
+        margin-right: 0;
+        margin-top: 13px;
+        text-align: right;
+    }
+}
+.bodycss{
+        // margin-left: 85px;
+}
+.bodycs{
+    // margin-left: 135px;
+   margin-top: -30px;
+}
+.bodycs-1{
+        display: flex;
+        text-align: left;
+        height: 60px;
+        width: auto;
+        margin-top: -80px;
+    }
+.bodycs-2{
+    display: flex;
+    margin-left: 130px;
+    margin-top: 30px;
+}
+.bodycs-3{
+    display: flex;
+    margin-left: 140px;
+}
+.ziti{
+    display: flex;
+   margin-left: 140px;
+    
+   padding: 0px;
+    mso-ignore: padding;
+    color: black;
+    font-size: 20pt;
+    font-weight: 400;
+    font-style: normal;
+    text-decoration: none;
+    font-family: 瀹嬩綋;
+    mso-generic-font-family: auto;
+    mso-font-charset: 134;
+    mso-number-format: General;
+    text-align: general;
+    vertical-align: middle;
+    mso-background-source: auto;
+    mso-pattern: auto;
+    white-space: nowrap;
+}
+.time{
+    display: flex;
+   margin-left: 80px;
+   margin-top: 20px;
+    padding: 0px;
+    mso-ignore: padding;
+    color: black;
+    font-size: 20pt;
+    font-weight: 400;
+    font-style: normal;
+    text-decoration: none;
+    font-family: 榛戜綋;
+    mso-generic-font-family: auto;
+    mso-font-charset: 134;
+    mso-number-format: General;
+    text-align: general;
+    vertical-align: middle;
+    mso-background-source: auto;
+    mso-pattern: auto;
+    white-space: nowrap;
+
+}
+.chilen{
+    display: flex;
+    margin-left: 250px;
+}
+.cldata{
+    display: flex;
+    margin-left: 130px;
+}
+.pagefooting{
+    
+}
+.x1111111{
+    padding: 0px;
+    mso-ignore: padding;
+    color: black;
+    font-size: 50pt;
+    font-weight: 400;
+    font-style: normal;
+    text-decoration: none;
+    font-family: 榛戜綋;
+    mso-generic-font-family: auto;
+    mso-font-charset: 134;
+    mso-number-format: General;
+    text-align: general;
+    vertical-align: middle;
+    mso-background-source: auto;
+    mso-pattern: auto;
+    white-space: nowrap;
+}
+.x1111112{
+    padding: 0px;
+    mso-ignore: padding;
+    color: black;
+    font-size: 20pt;
+    font-weight: 400;
+    font-style: normal;
+    text-decoration: none;
+    font-family: 榛戜綋;
+    mso-generic-font-family: auto;
+    mso-font-charset: 134;
+    mso-number-format: General;
+    text-align: general;
+    vertical-align: middle;
+    mso-background-source: auto;
+    mso-pattern: auto;
+    white-space: nowrap;
+}
+.x1111113{
+    padding: 0px;
+    mso-ignore: padding;
+    color: black;
+    font-size: 20pt;
+    font-weight: 400;
+    font-style: normal;
+    text-decoration: none;
+    font-family: 榛戜綋;
+    mso-generic-font-family: auto;
+    mso-font-charset: 134;
+    mso-number-format: General;
+    text-align: general;
+    vertical-align: middle;
+    mso-background-source: auto;
+    mso-pattern: auto;
+    white-space: nowrap;
+}
 </style>
\ No newline at end of file

--
Gitblit v1.9.3