public/img/image002.png | 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/api/quality/rawMaterial.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/quality/finishedProductInspection/finishedProduct-form.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/quality/finishedProductInspection/finishedProduct-print.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/quality/finishedProductInspection/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/quality/processInspect/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/quality/processInspect/processInspect-form.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/quality/rawMaterial/index.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/quality/rawMaterial/rawMaterial-form.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/views/quality/rawMaterial/rawMaterial-print.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
vue.config.js | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
public/img/image002.png
src/api/quality/rawMaterial.js
@@ -69,13 +69,13 @@ }) } export function selectHisByCode(data) { return request({ url: '/mes/rawInsProduct/seleHisByCode', method: 'get', params: data }) } // export function selectHisByCode(data) { // return request({ // url: '/mes/rawInsProduct/seleHisByCode', // method: 'get', // params: data // }) // } export function exportRawMaterial(data) { return request({ src/views/quality/finishedProductInspection/finishedProduct-form.vue
@@ -75,8 +75,13 @@ </div> </el-form> </div> <div class="finishedProduct-detail"> <div class="finishedProduct-detail" v-if="resultVal!=null && processInspectVo.id!=null" > <el-row style="width:100%;z-index: 10;height:30px;"> <el-col :span="12" class="inspectionProject_span" @click="increase">æ·»å </el-col> <el-col :span="12" class="inspectionProject_span">æ£éªé¡¹ç®</el-col> <el-col v-if="resultVal==null" :span="12" class="inspectionProject_span" style="text-align: right;"> <el-button size="mini" @click="clickAddInspectionColumn()">æ·»å æ£æµå¼å</el-button> @@ -177,6 +182,40 @@ </el-col> </el-row> </div> <div v-else> </div> <div class="finishedProduct-result"> <el-row style="width:100%"> <el-col :span="24">æ£æµç»æ</el-col> src/views/quality/finishedProductInspection/finishedProduct-print.vue
¶Ô±ÈÐÂÎļþ @@ -0,0 +1,1383 @@ <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'> <tr class=xl6524921 height=40 style='mso-height-source:userset;height:30.0pt'> <td colspan=2 rowspan=2 height=73 width=122 style='width:92pt;border: 1pt solid windowtext'> <span style='mso-ignore:vglayout;margin-left:12px;margin-top:14px;width:104px;height:42px'> <img width=104 height=42 src="../../../../public/img/image002.png"> </span> </td> <td colspan=2 class=xl6624921 width=399 style='border-right:.5pt solid black;border-left:none;width:250pt'>è®°å½åç§°</td> <td class=xl6724921 width=212 style='border-left:none;width:159pt'>æåæ£éªè®°å½è¡¨</td> <td class=xl6624921 width=226 style='border-left:none;width:170pt'>ä¿åæé</td> <td class=xl6824921 width=235 style='width:126pt'>25å¹´</td> </tr> <tr class=xl6524921 height=33 style='mso-height-source:userset;height:25.05pt'> <td colspan=2 height=33 class=xl6624921 style='border-right:.5pt solid black; height:25.05pt;border-left:none'>è®°å½ç¼å·</td> <td class=xl6824921 style='border-top:none;border-left:none'>ZTT/QR-8.6-05ï¼A/0)</td> <td class=xl6624921 style='border-top:none;border-left:none'>彿¡£é¨é¨</td> <td class=xl6824921 style='border-top:none'>è´¨éä¿è¯é¨</td> </tr> <tr class=xl6524921 height=33 style='mso-height-source:userset;height:25.05pt'> <td colspan=7 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=2 class=xl6624921 style='border-right:.5pt solid black; border-left:none'>ã</td> <td class=xl6924921 style='border-top:none;border-left:none'>产ååç§°</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 height=53 class=xl7624921 style='border-right:.5pt solid black; height:40.05pt'>产ååå·åæ°é</td> <td colspan=2 class=xl6624921 style='border-right:.5pt solid black; border-left:none'>ã</td> <td class=xl6924921 style='border-top:none;border-left:none'>产å追溯å·</td> <td colspan=2 class=xl6624921 style='border-right:.5pt solid black; border-left:none'>ã</td> </tr> <tr class=xl6524921 height=26 style='mso-height-source:userset;height:19.95pt'> <td colspan=2 height=26 class=xl7624921 style='border-right:.5pt solid black; height:19.95pt'>æ£éªå 容</td> <td colspan=3 class=xl6924921 style='border-left:none'>åæ ¼æ å</td> <td colspan=2 class=xl7624921 style='border-right:.5pt solid black; border-left:none'>å¤å®ç»æ</td> </tr> <tr class=xl6524921 height=45 style='mso-height-source:userset;height:34.05pt'> <td colspan=2 height=45 class=xl6624921 style='border-right:.5pt solid black; height:34.05pt'>å¤è§ï¼æ²¹æ¼ä»¶ï¼</td> <td colspan=3 class=xl7824921 style='border-right:.5pt solid black; border-left:none'>æ²¹æ¼é¢æ ææ¾ç ´æãèæ±¡çé®é¢</td> <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>â¡åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸éç¨</td> </tr> <tr class=xl6524921 height=45 style='mso-height-source:userset;height:34.05pt'> <td colspan=2 height=45 class=xl8324921 width=122 style='border-right:.5pt solid black; height:34.05pt;width:92pt'>é¶ä»¶åå·</td> <td colspan=3 class=xl8524921 width=611 style='border-left:none;width:459pt'>åç±»é¶ä»¶åå·æ»¡è¶³è£ ç®±æ¸ åä¸è§å®è¦æ±</td> <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>â¡åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸éç¨</td> </tr> <tr class=xl6524921 height=45 style='mso-height-source:userset;height:34.05pt'> <td colspan=2 height=45 class=xl8324921 width=122 style='border-right:.5pt solid black; height:34.05pt;width:92pt'>é¶ä»¶æ°é</td> <td colspan=3 class=xl8624921 width=611 style='border-right:.5pt solid black; border-left:none;width:459pt'>åé¶ä»¶æ°éæ»¡è¶³è£ ç®±æ¸ åä¸è§å®çè¦æ±</td> <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>â¡åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸éç¨</td> </tr> <tr class=xl6524921 height=45 style='mso-height-source:userset;height:34.05pt'> <td colspan=2 height=45 class=xl8324921 width=122 style='border-right:.5pt solid black; height:34.05pt;width:92pt'>æææ</td> <td colspan=3 class=xl8624921 width=611 style='border-right:.5pt solid black; border-left:none;width:459pt'>å¯¹äºææææç产åï¼è¶æ°´ãåæ³¡åçï¼ï¼æææéå©ä½6个ææè 1/2æ»æææ</td> <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>â¡åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸éç¨</td> </tr> <tr class=xl6524921 height=45 style='mso-height-source:userset;height:34.05pt'> <td colspan=2 rowspan=6 height=270 class=xl10824921 width=122 style='border-right:.5pt solid black;border-bottom:.5pt solid black; height:204.3pt;width:92pt'>产åå è£ </td> <td colspan=3 class=xl8624921 width=611 style='border-right:.5pt solid black; border-left:none;width:459pt'>ææé¶ä»¶åéè¿è¡åç¬å è£ ï¼çç®çº¸ãèªå°è¢ãåè£ è¢çï¼</td> <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>â¡åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸éç¨</td> </tr> <tr class=xl6524921 height=45 style='mso-height-source:userset;height:34.05pt'> <td colspan=3 height=45 class=xl8624921 width=611 style='border-right:.5pt solid black; height:34.05pt;border-left:none;width:459pt'>å è£ è¢æ 褶ç±ãç ´æãä¹±æ¶ä¹±ç»ï¼åè£ è¢éå»é¤äº§åä¿¡æ¯</td> <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>â¡åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸éç¨</td> </tr> <tr class=xl6524921 height=45 style='mso-height-source:userset;height:34.05pt'> <td colspan=3 height=45 class=xl8624921 width=611 style='border-right:.5pt solid black; height:34.05pt;border-left:none;width:459pt'>æ²¹ç¶ãæ¶²ä½ãèç¶ç©éæå¡æç¶æè éç½è¿è¡å¯å°å è£ </td> <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>â¡åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸éç¨</td> </tr> <tr class=xl6524921 height=45 style='mso-height-source:userset;height:34.05pt'> <td colspan=3 height=45 class=xl8624921 width=611 style='border-right:.5pt solid black; height:34.05pt;border-left:none;width:459pt'>çµåå å¨ä»¶å è£ éæé²éçµåè½ï¼ä¸å¤é¨æé²éè¦æ±</td> <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>â¡åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸éç¨</td> </tr> <tr class=xl6524921 height=45 style='mso-height-source:userset;height:34.05pt'> <td colspan=3 height=45 class=xl8624921 width=611 style='border-right:.5pt solid black; height:34.05pt;border-left:none;width:459pt'>æé²æ½®è¦æ±çé¶ä»¶ï¼å è£ å åºæ·»ç½®å¹²ç¥å</td> <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>â¡åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸éç¨</td> </tr> <tr class=xl6524921 height=45 style='mso-height-source:userset;height:34.05pt'> <td colspan=3 height=45 class=xl8924921 style='height:34.05pt;border-left: none'>å¦ä¸ºå®å¶å大ç©ä»¶ï¼ç¨æä¼¸èæè çç æ£è¿è¡å ¨è¦çå 裹</td> <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>â¡åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸éç¨</td> </tr> <tr class=xl6524921 height=46 style='mso-height-source:userset;height:34.95pt'> <td colspan=2 rowspan=3 height=138 class=xl11024921 width=122 style='border-right:.5pt solid black;height:104.85pt;width:92pt'>产åè£ ç®±</td> <td colspan=3 class=xl8624921 width=611 style='border-right:.5pt solid black; border-left:none;width:459pt'>å¦ç®±å ç©æå¨é¿åº¦ã宽度æé«åº¦æ¹åå«çº¸ç®±/æ¨ç®±å æ´»å¨é´éâ¥25mmæ¶ï¼éå¢å ééå¡«å ç©</td> <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>â¡åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸éç¨</td> </tr> <tr class=xl6524921 height=46 style='mso-height-source:userset;height:34.95pt'> <td colspan=3 height=46 class=xl8624921 width=611 style='border-right:.5pt solid black; height:34.95pt;border-left:none;width:459pt'>å¦äº§åä¸ºå·æ¶ä»¶éç¨æ³¡é¢çç æ£è¿è¡åéä¿æ¤</td> <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>â¡åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸éç¨</td> </tr> <tr class=xl6524921 height=46 style='mso-height-source:userset;height:34.95pt'> <td colspan=3 height=46 class=xl9024921 width=611 style='border-right:.5pt solid black; height:34.95pt;border-left:none;width:459pt'>èåãä¿æ¤æ§ä½çé¶ä»¶å¨ä¸é¨ï¼éä¿æ¤ç©åå¨ä¸é¨</td> <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>â¡åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸éç¨</td> </tr> <tr class=xl6524921 height=45 style='mso-height-source:userset;height:34.05pt'> <td colspan=2 rowspan=3 height=135 class=xl10824921 width=122 style='border-right:.5pt solid black;height:102.15pt;width:92pt'>æ ç¾æ è¯</td> <td colspan=3 class=xl8624921 width=611 style='border-right:.5pt solid black; border-left:none;width:459pt'>æ ç¾å 容æ£ç¡®ï¼å å«ï¼åºå·ãé¶ä»¶æè¿°ãæ°éãåå·ã项ç®åç§°ï¼</td> <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>â¡åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸éç¨</td> </tr> <tr height=45 style='mso-height-source:userset;height:34.05pt'> <td colspan=3 height=45 class=xl7824921 style='border-right:.5pt solid black; height:34.05pt;border-left:none'>æ ç¾å 容åä½é¡»æ¸ æ°ãç»ä¸ï¼ä¸å¾æéå½±ãäººä¸ºæ¶æ¹</td> <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>â¡åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸éç¨</td> </tr> <tr class=xl6524921 height=45 style='mso-height-source:userset;height:34.05pt'> <td colspan=3 height=45 class=xl8624921 width=611 style='border-right:.5pt solid black; height:34.05pt;border-left:none;width:459pt'>ä¸å¾å¤è´´æå°è´´ï¼æå¤å è£ ç产åï¼å䏿¹æ¬¡äº§åçæ ç¾ç²è´´ä½ç½®åæ¹ååä¸è´</td> <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>â¡åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸éç¨</td> </tr> <tr class=xl6524921 height=49 style='mso-height-source:userset;height:37.05pt'> <td colspan=2 rowspan=2 height=98 class=xl6724921 width=122 style='height: 74.1pt;width:92pt'>å ¶ä»</td> <td colspan=3 class=xl8624921 width=611 style='border-right:.5pt solid black; border-left:none;width:459pt'>å¤å è£ çº¸ç®±å°å£æ¶ï¼å¦å è£ ç®±é¿åº¦â¤700mmæ¶ï¼é¡¶é¢ãåºé¢éç¨âå·¥âååå°å£ï¼å è£ ç®±é¿åº¦ï¼700mmæ¶ï¼é¡¶é¢ãåºé¢éç¨âçâååå°å£ï¼æéç¨âå·¥âååå°ç®±ï¼</td> <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>â¡åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸éç¨</td> </tr> <tr class=xl6524921 height=49 style='mso-height-source:userset;height:37.05pt'> <td colspan=3 height=49 class=xl8624921 width=611 style='border-right:.5pt solid black; height:37.05pt;border-left:none;width:459pt'>æ¨ç®±ä¸å¾ç¨é¢å¸¦æå ï¼æå æ¹å¼åæå± 䏿åæå¹³è¡ï¼æå é¢å¸¦åºåå¸ååãå¹³è¡ææ¾ï¼ä¸å¾æªæ</td> <td colspan=2 class=xl8124921 style='border-right:.5pt solid black'>â¡åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸åæ ¼<span style='mso-spacerun:yes'> </span>â¡ä¸éç¨</td> </tr> <tr class=xl6524921 height=38 style='mso-height-source:userset;height:28.95pt'> <td colspan=7 height=38 class=xl7624921 style='border-right:.5pt solid black; height:28.95pt'>é®é¢å¤ç</td> </tr> <tr class=xl6524921 height=56 style='mso-height-source:userset;height:42.0pt'> <td height=56 class=xl7024921 width=64 style='height:42.0pt;border-top:none; width:48pt'>åºå·</td> <td colspan=4 class=xl9424921 width=669 style='border-right:.5pt solid black; border-left:none;width:503pt'>é®é¢ç°è±¡</td> <td class=xl7024921 width=226 style='border-top:none;border-left:none; width:170pt'>æ´æ¹å®ææ åµ</td> <td class=xl7024921 width=235 style='border-top:none;border-left:none; width:176pt'>æ´æ¹äººç¾å/æ¥æ</td> </tr> <tr class=xl6524921 height=46 style='mso-height-source:userset;height:34.95pt'> <td height=46 class=xl7124921 width=64 style='height:34.95pt;border-top:none; width:48pt'><br> <br> <br> <br> <br> <br> <span style='mso-spacerun:yes'> </span> </td> <td colspan=4 class=xl9724921 width=669 style='border-right:.5pt solid black; border-left:none;width:503pt'>ã</td> <td class=xl7224921 width=226 style='border-top:none;border-left:none; width:170pt'>ã</td> <td class=xl7224921 width=235 style='border-top:none;border-left:none; width:176pt'>ã</td> </tr> <tr class=xl6524921 height=46 style='mso-height-source:userset;height:34.95pt'> <td height=46 class=xl7124921 width=64 style='height:34.95pt;border-top:none; width:48pt'>ã</td> <td colspan=4 class=xl9724921 width=669 style='border-right:.5pt solid black; border-left:none;width:503pt'>ã</td> <td class=xl7224921 width=226 style='border-top:none;border-left:none; width:170pt'>ã</td> <td class=xl7224921 width=235 style='border-top:none;border-left:none; width:176pt'>ã</td> </tr> <tr class=xl6524921 height=46 style='mso-height-source:userset;height:34.95pt'> <td height=46 class=xl7124921 width=64 style='height:34.95pt;border-top:none; width:48pt'>ã</td> <td colspan=4 class=xl9724921 width=669 style='border-right:.5pt solid black; border-left:none;width:503pt'>ã</td> <td class=xl7224921 width=226 style='border-top:none;border-left:none; width:170pt'>ã</td> <td class=xl7224921 width=235 style='border-top:none;border-left:none; width:176pt'>ã</td> </tr> <tr class=xl6524921 height=46 style='mso-height-source:userset;height:34.95pt'> <td colspan=7 height=46 class=xl10024921 width=1194 style='border-right:.5pt solid black; height:34.95pt;width:897pt'>æ£éª/æ¶é´ï¼<span style='mso-spacerun:yes'> </span>审æ¹/æ¶é´ï¼</td> </tr> <tr class=xl6524921 height=33 style='mso-height-source:userset;height:24.6pt'> <td colspan=7 height=33 class=xl10324921 style='height:24.6pt'><span style='mso-spacerun:yes'> </span>注ï¼å¼¯æ²éå¶å¨åæåå ¥åºä¹å¯ä½¿ç¨æ¤è¡¨æ ¼ï¼æ¶æ¹ä½åºã</td> </tr> <tr height=0 style='display:none'> <td width=64 style='width:48pt'></td> <td width=58 style='width:44pt'></td> <td width=137 style='width:103pt'></td> <td width=262 style='width:197pt'></td> <td width=212 style='width:159pt'></td> <td width=226 style='width:170pt'></td> <td width=235 style='width:176pt'></td> </tr> </table> </div> </template> <script> export default { } </script> <style scoped> table{ mso-displayed-decimal-separator: "\."; mso-displayed-thousand-separator: "\,"; } .xl6524921 { padding: 0px; mso-ignore: padding; color: black; font-size: 10.0pt; 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; } .xl6624921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: center; vertical-align: middle; border-top: .5pt solid windowtext; border-right: none; border-bottom: .5pt solid windowtext; border-left: .5pt solid windowtext; mso-background-source: auto; mso-pattern: auto; white-space: nowrap; } .xl6724921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: center; vertical-align: middle; border: .5pt solid windowtext; mso-background-source: auto; mso-pattern: auto; white-space: normal; } .xl6824921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: center; vertical-align: middle; border: .5pt solid windowtext; mso-background-source: auto; mso-pattern: auto; white-space: nowrap; } .xl6924921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; font-weight: 700; font-style: normal; text-decoration: none; font-family: å®ä½; mso-generic-font-family: auto; mso-font-charset: 134; mso-number-format: General; text-align: center; vertical-align: middle; border: .5pt solid windowtext; mso-background-source: auto; mso-pattern: auto; white-space: nowrap; } .xl7024921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; font-weight: 700; font-style: normal; text-decoration: none; font-family: å®ä½; mso-generic-font-family: auto; mso-font-charset: 134; mso-number-format: General; text-align: center; vertical-align: middle; border: .5pt solid windowtext; mso-background-source: auto; mso-pattern: auto; white-space: normal; } .xl7124921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: top; border: .5pt solid windowtext; mso-background-source: auto; mso-pattern: auto; white-space: normal; } .xl7224921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: center; vertical-align: top; border: .5pt solid windowtext; mso-background-source: auto; mso-pattern: auto; white-space: normal; } .xl7324921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: center; vertical-align: middle; border-top: .5pt solid windowtext; border-right: .5pt solid windowtext; border-bottom: .5pt solid windowtext; border-left: none; mso-background-source: auto; mso-pattern: auto; white-space: nowrap; } .xl7424921 { padding: 0px; mso-ignore: padding; color: black; font-size: 14.0pt; font-weight: 700; font-style: normal; text-decoration: none; font-family: å®ä½; mso-generic-font-family: auto; mso-font-charset: 134; mso-number-format: General; text-align: center; vertical-align: middle; border: .5pt solid windowtext; mso-background-source: auto; mso-pattern: auto; white-space: normal; } .xl7524921 { padding: 0px; mso-ignore: padding; color: black; font-size: 14.0pt; font-weight: 700; font-style: normal; text-decoration: none; font-family: å®ä½; mso-generic-font-family: auto; mso-font-charset: 134; mso-number-format: General; text-align: center; vertical-align: middle; border: .5pt solid windowtext; mso-background-source: auto; mso-pattern: auto; white-space: nowrap; } .xl7624921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; font-weight: 700; font-style: normal; text-decoration: none; font-family: å®ä½; mso-generic-font-family: auto; mso-font-charset: 134; mso-number-format: General; text-align: center; vertical-align: middle; border-top: .5pt solid windowtext; border-right: none; border-bottom: .5pt solid windowtext; border-left: .5pt solid windowtext; mso-background-source: auto; mso-pattern: auto; white-space: nowrap; } .xl7724921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; font-weight: 700; font-style: normal; text-decoration: none; font-family: å®ä½; mso-generic-font-family: auto; mso-font-charset: 134; mso-number-format: General; text-align: center; vertical-align: middle; border-top: .5pt solid windowtext; border-right: .5pt solid windowtext; border-bottom: .5pt solid windowtext; border-left: none; mso-background-source: auto; mso-pattern: auto; white-space: nowrap; } .xl7824921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: left; vertical-align: middle; border-top: .5pt solid windowtext; border-right: none; border-bottom: .5pt solid windowtext; border-left: .5pt solid windowtext; mso-background-source: auto; mso-pattern: auto; white-space: nowrap; } .xl7924921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: left; vertical-align: middle; border-top: .5pt solid windowtext; border-right: none; border-bottom: .5pt solid windowtext; border-left: none; mso-background-source: auto; mso-pattern: auto; white-space: nowrap; } .xl8024921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: left; vertical-align: middle; border-top: .5pt solid windowtext; border-right: .5pt solid windowtext; border-bottom: .5pt solid windowtext; border-left: none; mso-background-source: auto; mso-pattern: auto; white-space: nowrap; } .xl8124921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: center; vertical-align: middle; border-top: .5pt solid windowtext; border-right: none; border-bottom: .5pt solid windowtext; border-left: none; mso-background-source: auto; mso-pattern: auto; white-space: nowrap; } .xl8224921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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; border-top: .5pt solid windowtext; border-right: .5pt solid windowtext; border-bottom: .5pt solid windowtext; border-left: none; mso-background-source: auto; mso-pattern: auto; white-space: nowrap; } .xl8324921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: center; vertical-align: middle; border-top: .5pt solid windowtext; border-right: none; border-bottom: .5pt solid windowtext; border-left: .5pt solid windowtext; mso-background-source: auto; mso-pattern: auto; white-space: normal; } .xl8424921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: center; vertical-align: middle; border-top: .5pt solid windowtext; border-right: .5pt solid windowtext; border-bottom: .5pt solid windowtext; border-left: none; mso-background-source: auto; mso-pattern: auto; white-space: normal; } .xl8524921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: left; vertical-align: middle; border: .5pt solid windowtext; mso-background-source: auto; mso-pattern: auto; white-space: normal; } .xl8624921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: left; vertical-align: middle; border-top: .5pt solid windowtext; border-right: none; border-bottom: .5pt solid windowtext; border-left: .5pt solid windowtext; mso-background-source: auto; mso-pattern: auto; white-space: normal; } .xl8724921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: left; vertical-align: middle; border-top: .5pt solid windowtext; border-right: none; border-bottom: .5pt solid windowtext; border-left: none; mso-background-source: auto; mso-pattern: auto; white-space: normal; } .xl8824921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: left; vertical-align: middle; border-top: .5pt solid windowtext; border-right: .5pt solid windowtext; border-bottom: .5pt solid windowtext; border-left: none; mso-background-source: auto; mso-pattern: auto; white-space: normal; } .xl8924921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: left; vertical-align: middle; border: .5pt solid windowtext; mso-background-source: auto; mso-pattern: auto; white-space: nowrap; } .xl9024921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: left; vertical-align: middle; border-top: .5pt solid windowtext; border-right: none; border-bottom: none; border-left: .5pt solid windowtext; mso-background-source: auto; mso-pattern: auto; white-space: normal; } .xl9124921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: left; vertical-align: middle; border-top: .5pt solid windowtext; border-right: none; border-bottom: none; border-left: none; mso-background-source: auto; mso-pattern: auto; white-space: normal; } .xl9224921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: left; vertical-align: middle; border-top: .5pt solid windowtext; border-right: .5pt solid windowtext; border-bottom: none; border-left: none; mso-background-source: auto; mso-pattern: auto; white-space: normal; } .xl9324921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; font-weight: 700; font-style: normal; text-decoration: none; font-family: å®ä½; mso-generic-font-family: auto; mso-font-charset: 134; mso-number-format: General; text-align: center; vertical-align: middle; border-top: .5pt solid windowtext; border-right: none; border-bottom: .5pt solid windowtext; border-left: none; mso-background-source: auto; mso-pattern: auto; white-space: nowrap; } .xl9424921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; font-weight: 700; font-style: normal; text-decoration: none; font-family: å®ä½; mso-generic-font-family: auto; mso-font-charset: 134; mso-number-format: General; text-align: center; vertical-align: middle; border-top: .5pt solid windowtext; border-right: none; border-bottom: .5pt solid windowtext; border-left: .5pt solid windowtext; mso-background-source: auto; mso-pattern: auto; white-space: normal; } .xl9524921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; font-weight: 700; font-style: normal; text-decoration: none; font-family: å®ä½; mso-generic-font-family: auto; mso-font-charset: 134; mso-number-format: General; text-align: center; vertical-align: middle; border-top: .5pt solid windowtext; border-right: none; border-bottom: .5pt solid windowtext; border-left: none; mso-background-source: auto; mso-pattern: auto; white-space: normal; } .xl9624921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; font-weight: 700; font-style: normal; text-decoration: none; font-family: å®ä½; mso-generic-font-family: auto; mso-font-charset: 134; mso-number-format: General; text-align: center; vertical-align: middle; border-top: .5pt solid windowtext; border-right: .5pt solid windowtext; border-bottom: .5pt solid windowtext; border-left: none; mso-background-source: auto; mso-pattern: auto; white-space: normal; } .xl9724921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: center; vertical-align: top; border-top: .5pt solid windowtext; border-right: none; border-bottom: .5pt solid windowtext; border-left: .5pt solid windowtext; mso-background-source: auto; mso-pattern: auto; white-space: normal; } .xl9824921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: center; vertical-align: top; border-top: .5pt solid windowtext; border-right: none; border-bottom: .5pt solid windowtext; border-left: none; mso-background-source: auto; mso-pattern: auto; white-space: normal; } .xl9924921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: center; vertical-align: top; border-top: .5pt solid windowtext; border-right: .5pt solid windowtext; border-bottom: .5pt solid windowtext; border-left: none; mso-background-source: auto; mso-pattern: auto; white-space: normal; } .xl10024921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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; border-top: .5pt solid windowtext; border-right: none; border-bottom: .5pt solid windowtext; border-left: .5pt solid windowtext; mso-background-source: auto; mso-pattern: auto; white-space: normal; } .xl10124921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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; border-top: .5pt solid windowtext; border-right: none; border-bottom: .5pt solid windowtext; border-left: none; mso-background-source: auto; mso-pattern: auto; white-space: normal; } .xl10224921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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; border-top: .5pt solid windowtext; border-right: none; border-bottom: .5pt solid windowtext; border-left: none; mso-background-source: auto; mso-pattern: auto; white-space: nowrap; } .xl10324921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; font-weight: 700; font-style: normal; text-decoration: none; font-family: å®ä½; mso-generic-font-family: auto; mso-font-charset: 134; mso-number-format: General; text-align: left; vertical-align: middle; mso-background-source: auto; mso-pattern: auto; white-space: nowrap; } .xl10424921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: center; vertical-align: middle; border-top: .5pt solid windowtext; border-right: none; border-bottom: none; border-left: .5pt solid windowtext; mso-background-source: auto; mso-pattern: auto; white-space: nowrap; } .xl10524921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: center; vertical-align: middle; border-top: .5pt solid windowtext; border-right: .5pt solid windowtext; border-bottom: none; border-left: none; mso-background-source: auto; mso-pattern: auto; white-space: nowrap; } .xl10624921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: center; vertical-align: middle; border-top: none; border-right: none; border-bottom: .5pt solid windowtext; border-left: .5pt solid windowtext; mso-background-source: auto; mso-pattern: auto; white-space: nowrap; } .xl10724921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: center; vertical-align: middle; border-top: none; border-right: .5pt solid windowtext; border-bottom: .5pt solid windowtext; border-left: none; mso-background-source: auto; mso-pattern: auto; white-space: nowrap; } .xl10824921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: center; vertical-align: middle; border-top: .5pt solid windowtext; border-right: none; border-bottom: none; border-left: .5pt solid windowtext; mso-background-source: auto; mso-pattern: auto; white-space: normal; } .xl10924921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: center; vertical-align: middle; border-top: .5pt solid windowtext; border-right: .5pt solid windowtext; border-bottom: none; border-left: none; mso-background-source: auto; mso-pattern: auto; white-space: normal; } .xl11024921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: center; vertical-align: middle; border-top: none; border-right: none; border-bottom: none; border-left: .5pt solid windowtext; mso-background-source: auto; mso-pattern: auto; white-space: normal; } .xl11124921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: center; vertical-align: middle; border-top: none; border-right: .5pt solid windowtext; border-bottom: none; border-left: none; mso-background-source: auto; mso-pattern: auto; white-space: normal; } .xl11224921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: center; vertical-align: middle; border-top: none; border-right: none; border-bottom: .5pt solid windowtext; border-left: .5pt solid windowtext; mso-background-source: auto; mso-pattern: auto; white-space: normal; } .xl11324921 { padding: 0px; mso-ignore: padding; color: black; font-size: 12.0pt; 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: center; vertical-align: middle; border-top: none; border-right: .5pt solid windowtext; border-bottom: .5pt solid windowtext; border-left: none; mso-background-source: auto; mso-pattern: auto; white-space: normal; } ruby { ruby-align: left; } rt { color: windowtext; font-size: 9.0pt; font-weight: 400; font-style: normal; text-decoration: none; font-family: å®ä½; mso-generic-font-family: auto; mso-font-charset: 134; mso-char-type: none; } </style> src/views/quality/finishedProductInspection/index.vue
@@ -12,6 +12,19 @@ <template #toolbar></template> </ttable> </basic-container> <el-dialog top="10vh" title="æå°é¢è§" :visible.sync="printDialogVisible" width="65%"> <div style="width:100%;height: 60vh;overflow-y: scroll;"> <printTemplate id="printRaw" :formData="printFormData"></printTemplate> </div> <span slot="footer" class="dialog-footer"> <el-button @click="()=>{printDialogVisible = false;this.printFormData=null}">å æ¶</el-button> <el-button type="primary" @click="printFun()">æ å°</el-button> </span> </el-dialog> </div> </div> </template> @@ -20,15 +33,20 @@ import ttable from '@/views/common/ztt-table.vue' import * as fecha from 'element-ui/lib/utils/date' import finishedProductInspectionAdd from './finishedProduct-form' import { page,deletePro,exportExaminationProducts } from '@/api/quality/finishedProduct' import { page,deletePro,exportExaminationProducts,queryById } from '@/api/quality/finishedProduct' import { transform } from '@/util/fileTransform' import printTemplate from './finishedProduct-print.vue' import PrintJS from 'print-js' export default { components: { finishedProductInspectionAdd, ttable ttable, printTemplate }, data() { return { printFormData: null, printDialogVisible: false, result:[{label:'å ¨é¨',value: ''},{label:'åæ ¼',value: '1'},{label:'ä¸åæ ¼',value: '0'}], type: [1], prelang: 'finishedProduct', @@ -160,6 +178,7 @@ text: 'æå°', type: 'text', size: 'small', fun: this.showPrint },{ text: 'ä½åº', type: 'text', @@ -177,6 +196,27 @@ }, created() { }, methods: { //æå°æé® printFun() { this.printDialogVisible = false; PrintJS({ printable: "printRaw", type: "html", maxWidth: 700, style: '@page {margin: 0 5mm}', targetStyles: ["*"], ignoreElements: ["no-ignore"], orientation: 'portrait' }); }, showPrint(row){ queryById(row.id).then(res=>{ console.log(res); this.printDialogVisible = true }).catch(error=>{ console.log(error); }) }, exportExcel(){ console.log("============"); let queryParam=this.$refs.finishedProduct.getQueryParam(); src/views/quality/processInspect/index.vue
@@ -25,7 +25,7 @@ export default { components: { processInspectForm, ttable ttable, }, data() { return { src/views/quality/processInspect/processInspect-form.vue
@@ -86,10 +86,15 @@ </el-row> <el-row style="width:100%;"> <el-col :span="24"> <el-table border :data="inspectionItems" height="400" <el-table border :data="inspectionItems" height="400" :header-cell-style="{ textAlign: 'center', color: 'black', backgroundColor: '#fafafa' }" :cell-style="{ textAlign: 'center' }" row-key="iid" default-expand-all style="width: 100%" ref="table" :tree-props="{ children: 'children', hasChildren: 'hasChildren' }"> :cell-style="{ textAlign: 'center' }" row-key="iid" default-expand-all style="width: 100%" ref="table" :tree-props="{ children: 'children', hasChildren: 'hasChildren' }"> <el-table-column type="index" label="åºå·" width="60"></el-table-column> <el-table-column label="项ç®" prop="father" width="240"></el-table-column> <el-table-column prop="iname" label="ææ " width="240"></el-table-column> @@ -278,7 +283,7 @@ methods: { submitSave() { let pro = 0 console.log(this.inspectionItems); console.log(this.inspectionItems); this.inspectionItems.forEach(item => { if (item.children) { let arr = item.children.filter(obj => { @@ -377,6 +382,7 @@ } }) this.inspectionItems = result.children console.log(this.inspectionItems); this.inspectionResultForm = [{ materialCode: result.materialCode, material: result.material, src/views/quality/rawMaterial/index.vue
@@ -267,7 +267,7 @@ PrintJS({ printable: "printRaw", type: "html", maxWidth: 1200, maxWidth: 900, // header: "åæææ£æµæ¥å", style: '@page {margin: 0 5mm}', targetStyles: ["*"], src/views/quality/rawMaterial/rawMaterial-form.vue
@@ -96,12 +96,15 @@ </el-row> </el-form> </div> <div class="rawMaterial-detail"> <el-row style="width:100%;z-index: 10;height:50px;"> <el-col :span="19">æ£éªé¡¹ç®</el-col> <el-col :span="5"> <el-col :span="18">æ£éªé¡¹ç®</el-col> <el-col :span="6"> <div style="width:100%;text-align: right;"> <el-button v-if="dataForm.id==null" size="small" @click="clickAddLine">æ·»å æ£éªè¡</el-button> <el-button v-if="dataForm.id==null" size="small" @click="clickAddLine()">æ·»å æ£éªé¡¹ç®</el-button> <el-button v-if="resultVal==null || dataForm.id==null" size="small" @click="addTeatValueColumn()">æ·»å æ£æµå¼å</el-button> <el-button v-if="resultVal==null || dataForm.id==null" size="small" @click="delTeatValueColumn()">å 餿£æµå¼å</el-button> </div> @@ -109,77 +112,90 @@ </el-row> <el-row style="width:100%;"> <el-col :span="24"> <el-table :header-cell-style="{textAlign:'center',color:'black',backgroundColor:'#fafafa'}" :cell-style="{textAlign:'center'}" ref="table" :data="list" border style="width: 100%;" height="400"> <el-table :header-cell-style="{textAlign:'center',color:'black',backgroundColor:'#fafafa'}" :cell-style="{textAlign:'center'}" ref="table" :data="list" border style="width: 100%;" height="400" row-key="iid" default-expand-all :tree-props="{children: 'children', hasChildren: 'hasChildren'}"> <el-table-column type="index" label="åºå·" width="60"> </el-table-column> <el-table-column prop="father" label="æ£éªé¡¹ç®" width="260"> <template slot-scope="scope"> <el-input :disabled="dataForm.id != null" v-model="scope.row.father" placeholder="请è¾å ¥æ£éªé¡¹ç®"></el-input> </template> </el-table-column> <el-table-column prop="note" label="æ£éªæè¿°" width="260"> <template slot-scope="scope"> <el-input :disabled="dataForm.id != null" v-model="scope.row.note" placeholder="æ£éªæè¿°"></el-input> <el-input v-if="scope.row.children" style="width:120px" :disabled="dataForm.id!=null" v-model="scope.row.father" placeholder="请è¾å ¥æ£éªé¡¹ç®"></el-input> </template> </el-table-column> <el-table-column prop="name" label="项ç®" width="260"> <template slot-scope="scope"> <el-select v-if="projectList.length > 0" :disabled="dataForm.id != null" class="inline-input" v-model="scope.row.name" filterable allow-create placeholder="请è¾å ¥æéæ©é¡¹ç®åç§°" style="width:100%" @change="changeName(scope.$index,scope.row)"> <el-option v-for="(item,index) in projectList" :key="index" :label="item.name" :value="item.name"/> </el-select> <el-input v-else :disabled="dataForm.id != null" class="inline-input" v-model="scope.row.name" <div v-if="!scope.row.children"> <el-input class="inline-input" :disabled="dataForm.id!=null" v-model="scope.row.name" placeholder="请è¾å ¥é¡¹ç®åç§°"></el-input> </template> </div> </template> </el-table-column> <el-table-column prop="unit" label="åä½" width="260"> <template slot-scope="scope"> <div v-if="!scope.row.children"> <el-input :disabled="dataForm.id != null" v-model="scope.row.unit" placeholder="请è¾å ¥åä½"></el-input> </div> </template> </el-table-column> <el-table-column prop="required" label="æ åå¼" width="260"> <template slot-scope="scope"> <div v-if="!scope.row.children"> <el-input :disabled="dataForm.id != null" v-model="scope.row.required" placeholder="请è¾å ¥æ åå¼"></el-input> </div> </template> </el-table-column> <el-table-column prop="testValue" label="æ£æµå¼" min-width="260" v-for="(item, index) in empiricalValueAdd" :key="index"> <el-table-column prop="testValue" label="æ£æµå¼" min-width="260" v-for="(item,index) in empiricalValueAdd" :key="index"> <template slot-scope="scope"> <div v-if="!scope.row.children"> <el-tooltip :disabled="scope.row.deviceId != null" class="item" effect="dark" content="请å éæ©è®¾å¤ï¼" placement="top-start"> <!-- <el-input :disabled="scope.row.equipmentId == null || (dataForm.id!=null&&resultVal!=null)" v-model="scope.row.testValueList[index]" @blur="updateTestValue(scope.row,index)" placeholder="请è¾å ¥æ£æµå¼"></el-input> --> <el-autocomplete style="width:100%" :disabled="scope.row.deviceId == null || (dataForm.id!=null&&resultVal!=null)" class="inline-input" v-model="scope.row.testValueList[index]" :fetch-suggestions="querySearch" placeholder="请è¾å ¥æ£æµå¼" @select="handleSelect" ></el-autocomplete> <el-col v-if="scope.row.itype === '1'"> <el-input :disabled="scope.row.deviceId == '' || (dataForm.id!=null&&resultVal!=null)" v-model="scope.row.testValueList[index]" placeholder="请è¾å ¥æ£æµå¼"></el-input> </el-col> <el-col v-else> <el-select style="width: 100%;" :disabled="scope.row.deviceId == null || (dataForm.id!=null&&resultVal!=null)" v-model="scope.row.testValueList[index]" @change="aaa(scope.row)" placeholder="è¯·éæ©"> <el-option v-for="item in dataVal" :key="item.value" :label="item.label" :value="item.value"> </el-option> </el-select> </el-col> </el-tooltip> </div> </template> </el-table-column> <el-table-column prop="deviceName" label="è¯éªè®¾å¤" min-width="260"> <template slot-scope="scope"> <el-select :disabled="resultVal!=null && dataForm.id!=null" style="width:100%" <div v-if="!scope.row.children"> <el-select :disabled="dataForm!=null && resultVal!=null" style="width:100%" v-model="scope.row.deviceId" filterable @change="updateDevice(scope.row,scope.$index)"> <el-option v-for="(item,index) in deviceList" :key="index" :value="item.id" :label="item.code +'-'+ item.name"></el-option> </el-select> </div> </template> </el-table-column> <el-table-column prop="note" label="æ£éªæè¿°" width="260" > <template slot-scope="scope"> <div v-if="!scope.row.children"> <el-input :disabled="scope.row.deviceId == null || (dataForm.id!=null&&resultVal!=null)" v-model="scope.row.note" placeholder="æ£éªæè¿°"></el-input> </div> </template> </el-table-column> <el-table-column fixed="right" v-if="dataForm.id != null" prop="testState" label="ç»è®º" min-width="150"> <template slot-scope="scope"> <span v-if="scope.row.testState == 0" style="color:#F56C6C">ä¸åæ ¼</span> @@ -189,13 +205,18 @@ </el-table-column> <el-table-column fixed="right" style="background-color: white;" v-if="dataForm.id == null" label="æä½" width="150"> <template slot-scope="scope"> <el-button type="text" @click="clickDeleteline(scope)">åæ¶</el-button> <div v-if="!scope.row.children"> <el-button type="text" @click="addwaydata(scope)">æ°å¢</el-button> <el-button type="text" @click="clickDeleteline(scope)">åæ¶</el-button> </div> </template> </el-table-column> </el-table> </el-col> </el-row> </div> <div class="rawMaterial-result"> <el-row> <el-col :span="24">æ£éªç»è®º</el-col> @@ -260,6 +281,15 @@ }, data(){ return{ dataVal: [{ label: 'æ¯', value: 'æ¯' }, { label: 'å¦', value: 'å¦' }], // componentData:{}, userdata:[], currentRow:[], userlist:[], unqualifiedNum: null, @@ -287,6 +317,7 @@ supplier: '', rawInsProducts: [{ deviceId: 0, father:'', name: '', required: '', testValue: '', @@ -326,6 +357,7 @@ this.restaurants = this.loadAll(); console.log(this.dataForm); }, watch:{ dialogVisible(newVal){ @@ -339,22 +371,21 @@ querySearch(queryString, cb) { var restaurants = this.restaurants; var results = queryString ? restaurants.filter(this.createFilter(queryString)) : restaurants; cb(results); }, createFilter(queryString) { return (restaurant) => { return (restaurant.value.toLowerCase().indexOf(queryString.toLowerCase()) === 0); }; }, loadAll(){ return [ {"value":"æ¯"}, {"value":"å¦"} ];}, handleSelect(item) { console.log(item); }, // createFilter(queryString) { // return (restaurant) => { // return (restaurant.value.toLowerCase().indexOf(queryString.toLowerCase()) === 0); // }; // }, // loadAll(){ // return [ // {"value":"æ¯"}, // {"value":"å¦"} // ];}, // handleSelect(item) { // console.log(item); // }, changeName(index,row){ this.projectList.forEach(item=>{ if(row.name == item.name){ @@ -365,6 +396,7 @@ }, // 确认åè° selectPart(param, nodePart, index) { console.log(param) if (typeof param !== 'undefined') { this.dataForm.code = param.code this.dataForm.name = param.name @@ -376,10 +408,16 @@ this.dataForm.message = param.message this.dataForm.projectName = param.projectName this.projectList = param.rawInsProducts == null ? [] : param.rawInsProducts console.log(param.rawInsProducts); param.rawInsProducts.forEach(item =>{ item.iid = Math.random() console.log(item); }) param.rawInsProducts.forEach(o=>{ this.clickAddLine(o) }) } }, queryCode(){ this.paramObj = { @@ -388,6 +426,8 @@ this.showPart = true }, updateDevice(row,index){ console.log(row); return if(this.dataForm.id != null){ updateDeviceById({deviceId:row.deviceId,rpId:row.rpId}).then(res=>{ this.list[index].testValue = '' @@ -410,6 +450,9 @@ this.resultVal = resultVal this.conclusionTable[0].testState = resultVal sessionStorage.setItem("raw-resultVal-"+this.dataForm.id,resultVal) }, aaa(row){ console.log(row); }, showDialog(){ let pro = this.list.filter(item => { @@ -442,25 +485,49 @@ }, // æ·»å è¡ clickAddLine(row) { let obj = { deviceId: null, name: "", required: "", testValue: "", unit: "", testState: null, testValueList: [], }; if(row!=undefined){ obj.name = row.name obj.unit = row.unit obj.required = row.required if(row){ let userNameList = [] row.children.forEach(item => { console.log("item--",item); item.iid = Math.random() let arr = [] item.testValue = '' item.testValueList= [] if (item.userName) { userNameList.push(item.userName) } if (item.inspectionValue) { arr = item.inspectionValue.split(",") } item.empiricalValueAddss = arr if (arr.length > this.empiricalValueAdd) { this.empiricalValueAdd = arr.length } console.log("aaaa----",row); this.list.push(row) }) }else{ let ele = { father: '', iid: Math.random(), children:[{ deviceId: null, deviceName: null, iid: Math.random(), required: null, rpId: null, name: null, unit: null, userName: null, testValue: null, testValueList: [], note: null, testState: null }] } this.list.push(ele) } this.list.push(obj); }, // å é¤è¡ clickDeleteline(scope) { this.list.splice(scope.$index, 1); }, delTeatValueColumn(){ if (this.empiricalValueAdd - 1 === 0) { } else { @@ -495,6 +562,7 @@ init(){ if(this.dataForm.id){ getObj(this.dataForm.id).then(res=>{ console.log(res); let data = res.data.data this.dataForm.name = data.name this.dataForm.formTime = data.formTime @@ -508,27 +576,40 @@ this.dataForm.createUser = data.createUser let userNameList = [] this.list = [] data.children.forEach(item=>{ userNameList.push(item.userName) let arr = [] if(item.testValue != undefined ){ arr = item.testValue.split(",") if(arr.length > this.empiricalValueAdd){ this.empiricalValueAdd = arr.length data.children.forEach(item => { if (item.children) { let ele = { iid: null, father: null, children: [] } ele.iid = Math.random() ele.father = item.rpFather item.children.forEach(obj => { console.log(obj); let arr= [] if(obj.testValue){ arr = obj.testValue.split(",") } let o = { deviceId: obj.deviceId, deviceName: obj.deviceName, iid: Math.random(), required: obj.required, rpId: obj.rpId, name: obj.rpName, unit: obj.rpUnit, userName: obj.userName, testValue: obj.testValue?obj.testValue:'', testValueList: arr, note: obj.note?obj.note:'', testState: obj.testState } ele.children.push(o) }) this.list.push(ele) } } this.list.push({ deviceId: item.deviceId, deviceName: item.deviceName, name: item.rpName, required: item.required, testValue: item.testValue, unit: item.rpUnit, testState: item.testState, rpId: item.rpId, testValueList: arr }) }) }) this.conclusionTable = [{ code: data.code, name: data.name, @@ -542,18 +623,59 @@ this.conclusionTable = [] } }, save(){ let data = this.dataForm data.rawInsProducts = this.list data.rawInsProducts.forEach(item=>{ let val = item.testValueList.join(",") item.testValue = val // å é¤è¡ clickDeleteline(scope) { console.log(scope); let index = this.list.findIndex(el =>{ return el.children.find(ele => ele.iid == scope.row.iid) }) let childrenIndex = this.list[index].children.findIndex(el => { return el.iid == scope.row.iid }) // console.log(this.list); console.log(index); console.log(childrenIndex); this.list[index].children.splice(childrenIndex , 1); if(childrenIndex == 0){ this.list.splice(scope.row,1) } }, addwaydata(row){ console.log(row.row); let index = this.list.findIndex(el =>{ return el.children.find(ele => ele.iid == row.row.iid) }) console.log(index); let obj = { iid:Math.random(), name:'', required:'', unit:'' } this.list[index].children.push(obj) }, save(){ console.log(this.dataForm); let data = this.dataForm console.log(data); console.log(this.list); data.rawInsProducts = this.list // console.log(data.rawInsProducts); // data.rawInsProducts.forEach(item=>{ // console.log(item); // let val = item.testValueList.join(",") // item.testValue = val // console.log(item.testValue); // }) // console.log(data); console.log('=====>'); addRawInspects(data).then(res=>{ this.$message.success("ä¿åæå") // this.$message.success("ä¿åæå") this.$router.go(-1) }).catch(error=>{ this.$message.error(error) // this.$message.error(error||'error') }) }, getDeviceList(){ src/views/quality/rawMaterial/rawMaterial-print.vue
@@ -71,22 +71,19 @@ style="width:620pt;border-collapse:collapse;border:1pt solid windowtext"> <tbody> <tr> <td width="101" colspan="2" style="width:75.8pt;border:solid windowtext 1.0pt; padding:0.2cm 2.4pt 0.2cm 2.4pt"> <td width="121" colspan="2" style="width:110pt;border:solid windowtext 1.0pt;padding:0.2cm 1.4pt 0.2cm 1.4pt"> <p class="MsoNormal" align="center" style="text-align:center"><span style="font-size:9.0pt;font-family:å®ä½">é¶ä»¶åç§°</span></p> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif">Part Description</span> </p> </td> <td width="127" colspan="3" style="width:95.5pt;border:solid windowtext 1.0pt; border-left:1pt solid windowtext;padding:0.2cm 5.4pt 0.2cm 5.4pt"> <td width="127" colspan="4" style="width:95.5pt;border:solid windowtext 1.0pt;border-left:1pt solid windowtext;padding:0.2cm 5.4pt 0.2cm 5.4pt"> <p class="MsoNormal" align="center" style="text-align:center"> <span lang="EN-US" style="font-family:"Arial",sans-serif" v-text="tableData.name"></span> </p> </td> <td width="113" colspan="5" style="width:84.95pt;border:solid windowtext 1.0pt; border-left:1pt solid windowtext;padding:0.2cm 5.4pt 0.2cm 5.4pt"> <td width="113" colspan="4" style="width:84.95pt;border:solid windowtext 1.0pt;border-left:1pt solid windowtext;padding:0.2cm 5.4pt 0.2cm 5.4pt"> <p class="MsoNormal" align="center" style="text-align:center"><span style="font-size:9.0pt;font-family:å®ä½">å</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif"> @@ -94,90 +91,71 @@ <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif">Model</span></p> </td> <td width="86" colspan="4" style="width:64.65pt;border:solid windowtext 1.0pt; border-left:1pt solid windowtext;padding:0.2cm 5.4pt 0.2cm 5.4pt"> <td width="86" colspan="4" style="width:64.65pt;border:solid windowtext 1.0pt;border-left:1pt solid windowtext;padding:0.2cm 5.4pt 0.2cm 5.4pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif" v-text="tableData.specs"></span></p> </td> <td width="72" colspan="2" style="width:54.35pt;border:solid windowtext 1.0pt; border-left:1pt solid windowtext;padding:0.2cm 5.4pt 0.2cm 5.4pt"> <td width="72" colspan="2" style="width:54.35pt;border:solid windowtext 1.0pt;border-left:1pt solid windowtext;padding:0.2cm 5.4pt 0.2cm 5.4pt"> <p class="MsoNormal" align="center" style="text-align:center"><span style="font-size:9.0pt;font-family:å®ä½">å å·¥åå·</span></p> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif">Order No.</span></p> </td> <td width="128" colspan="3" style="width:96.0pt;border:solid windowtext 1.0pt; border-left:1pt solid windowtext;padding:0.2cm 5.4pt 0.2cm 5.4pt"> <td width="128" colspan="3" style="width:96.0pt;border:solid windowtext 1.0pt;border-left:1pt solid windowtext;padding:0.2cm 5.4pt 0.2cm 5.4pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif" v-text="tableData.rmessage.split(',')[0]"></span></p> </td> </tr> <tr> <td width="101" colspan="2" style="width:75.8pt;border:solid windowtext 1.0pt; border-top:1pt solid windowtext;padding:0.2cm 5.4pt 0.2cm 5.4pt"> <td width="101" colspan="2" style="width:110pt;border:solid windowtext 1.0pt;border-top:1pt solid windowtext;padding:0.2cm 1.4pt 0.2cm 1.4pt"> <p class="MsoNormal" align="center" style="text-align:center"><span style="font-size:9.0pt;font-family:å®ä½">æ£éªä»ªå¨</span></p> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif">Inspection instrument</span></p> </td> <td width="127" colspan="3" style="width:95.5pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt"> <td width="127" colspan="4" style="width:95.5pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> style="font-family:"Arial",sans-serif" v-text="deviceStr"></span></p> </td> <td width="113" colspan="5" style="width:84.95pt;border-top:1pt solid windowtext;border-left: 1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt"> <td width="113" colspan="4" style="width:84.95pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt"> <p class="MsoNormal" align="center" style="text-align:center"><span style="font-size:9.0pt;font-family:å®ä½">æ£éªæ°é</span></p> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif">Quantity to check</span></p> </td> <td width="86" colspan="4" style="width:64.65pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt"> <td width="86" colspan="4" style="width:64.65pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif" v-text="tableData.number"></span></p> </td> <td width="72" colspan="2" style="width:54.35pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt"> <td width="72" colspan="2" style="width:54.35pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt"> <p class="MsoNormal" align="center" style="text-align:center"><span style="font-size:9.0pt;font-family:å®ä½">ä¾è´§åä½</span></p> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif">Supplier</span></p> </td> <td width="128" colspan="3" style="width:96.0pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt"> <td width="128" colspan="3" style="width:96.0pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif" v-text="tableData.supplier"></span></p> </td> </tr> <tr> <td width="145" colspan="3" style="width:109.1pt;border:solid windowtext 1.0pt; border-top:1pt solid windowtext;padding:0.2cm 5.4pt 0.2cm 5.4pt"> <td width="145" colspan="3" style="width:109.1pt;border:solid windowtext 1.0pt;border-top:1pt solid windowtext;padding:0.2cm 0.4pt 0.2cm 0.4pt"> <p class="MsoNormal" align="center" style="text-align:center"><span style="font-size:9.0pt;font-family:å®ä½">æ£éªé¡¹ç®</span></p> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif">Inspection Item</span> </p> </td> <td width="408" colspan="15" style="width:306.35pt;border-top:1pt solid windowtext;border-left: 1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt"> <td width="408" colspan="15" style="width:306.35pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt"> <p class="MsoNormal" align="center" style="text-align:center"><span style="font-size:9.0pt;font-family:å®ä½">æ£éªç»æï¼å®æµå¼ï¼</span></p> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif">Test result (Measured value)</span></p> </td> <td width="74" rowspan="2" style="width:55.8pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 3.4pt 0.2cm 3.4pt"> <td width="74" rowspan="2" style="width:55.8pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 3.4pt 0.2cm 3.4pt"> <p class="MsoNormal" align="center" style="text-align:center"><span style="font-size:9.0pt;font-family:å®ä½">å¤å®</span></p> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" @@ -185,507 +163,73 @@ </td> </tr> <tr> <td width="145" colspan="3" style="width:109.1pt;border:solid windowtext 1.0pt; border-top:1pt solid windowtext;padding:0.4cm 5.4pt 0.4cm 5.4pt"> <td width="145" colspan="3" style="width:109.1pt;border:solid windowtext 1.0pt;border-top:1pt solid windowtext;padding:0.4cm 5.4pt 0.4cm 5.4pt"> <p class="MsoNormal" align="center" style="text-align:center"><span style="font-size:9.0pt;font-family:å®ä½">ææ¯è¦æ±</span></p> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif">Technical Requirement</span></p> </td> <td width="59" style="width:44.4pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 4.4pt 0.2cm 4.4pt"> <td width="59" colspan="2" style="width:44.4pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 4.4pt 0.2cm 4.4pt"> <p class="MsoNormal" align="center" style="text-align:center"> <span style="font-size:9.0pt;font-family:å®ä½">å ¬å·®</span> <span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif">TOL</span> </p> </td> <td width="43" v-for="(item,index) in 14" :key="index" colspan="1" style="width:32.2pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt"> <td width="43" v-for="(item,index) in 13" :key="index" colspan="1" style="width:32.2pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial",sans-serif">{{item>9?item:'0'+item}}</span></p> </td> </tr> </tbody> <tbody v-for="(item,index) in projectList" :key="index"> <tr style="height:19.85pt"> <td width="85" rowspan="9" style="width:63.95pt;border:solid windowtext 1.0pt;border-top:1pt solid windowtext;padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <td width="85" rowspan="16" style="width:63.95pt;border:solid windowtext 1.0pt;border-top:1pt solid windowtext;padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span style="font-family:å®ä½">尺寸</span></p> style="font-family:å®ä½" v-text="item.rpFather"></span></p> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif">Dimension</span></p> style="font-family:"Arial",sans-serif"></span></p> </td> <td width="60" colspan="2" style="width:45.15pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <td width="60" colspan="2" style="width:65.15pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> style="font-family:"Arial",sans-serif" v-text="item.children[0].rpName"></span></p> </td> <td width="59" style="width:44.4pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:19.85pt"> <td width="59" colspan="2" style="width:44.4pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> style="font-family:"Arial",sans-serif" v-text="item.children[0].required"></span></p> </td> <td width="43" v-for="(item,index) in 14" :key="index" colspan="1" style="width:32.2pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <td width="43" v-for="(val,index) in item.children[0].testValueList" :key="index" colspan="1" style="width:32.2pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif">{{item}}</span></p> style="font-family:"Arial",sans-serif">{{val}}</span></p> </td> <td width="74" style="width:55.8pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> <td width="74" style="width:55.8pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p v-if="item.children[0].testState==1" class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif">åæ ¼</span></p> <p v-else class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif">ä¸åæ ¼</span></p> </td> </tr> <tr style="height:19.85pt" v-for="(item,index) in 8" :key="index"> <tr style="height:19.85pt" v-for="(j,index) in (item.children.slice(1))" :key="index"> <td width="60" colspan="2" style="width:45.15pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> style="font-family:"Arial",sans-serif">{{j.rpName}}</span></p> </td> <td width="59" style="width:44.4pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:19.85pt"> <td width="59" colspan="2" style="width:44.4pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> style="font-family:"Arial",sans-serif">{{j.required}}</span></p> </td> <td width="59" v-for="(item,index) in 14" :key="index" style="width:44.4pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:19.85pt"> <td width="59" v-for="(testValue,index) in j.testValueList" :key="index" style="width:44.4pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> style="font-family:"Arial",sans-serif">{{testValue}}</span></p> </td> <td width="43" colspan="1" style="width:32.2pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <tr style="height:19.85pt"> <td width="85" rowspan="3" style="width:63.95pt;border:solid windowtext 1.0pt; border-top:1pt solid windowtext;padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span style="font-family:å®ä½">èºçº¹</span></p> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif">Thread</span></p> </td> <td width="60" colspan="2" style="width:45.15pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="59" style="width:44.4pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" colspan="2" style="width:32.2pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="45" colspan="2" style="width:33.95pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" style="width:32.2pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" colspan="3" style="width:32.2pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" style="width:32.15pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="46" colspan="2" style="width:34.55pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" colspan="2" style="width:32.4pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" style="width:32.3pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="74" style="width:55.8pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:19.85pt"> <td width="43" colspan="1" style="width:32.2pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> </tr> <tr style="height:19.85pt"> <td width="60" colspan="2" style="width:45.15pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="59" style="width:44.4pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" colspan="2" style="width:32.2pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="45" colspan="2" style="width:33.95pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" style="width:32.2pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" colspan="3" style="width:32.2pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" style="width:32.15pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="46" colspan="2" style="width:34.55pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" colspan="2" style="width:32.4pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" style="width:32.3pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="74" style="width:55.8pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> </tr> <tr style="height:19.85pt"> <td width="60" colspan="2" style="width:45.15pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="59" style="width:44.4pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" colspan="2" style="width:32.2pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="45" colspan="2" style="width:33.95pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" style="width:32.2pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" colspan="3" style="width:32.2pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" style="width:32.15pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="46" colspan="2" style="width:34.55pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" colspan="2" style="width:32.4pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" style="width:32.3pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="74" style="width:55.8pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> </tr> <tr style="height:19.85pt"> <td width="85" rowspan="2" style="width:63.95pt;border:solid windowtext 1.0pt; border-top:1pt solid windowtext;padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span style="font-family:å®ä½">ç²ç³åº¦</span></p> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif">Roughness</span></p> </td> <td width="60" colspan="2" style="width:45.15pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="59" style="width:44.4pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" colspan="2" style="width:32.2pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="45" colspan="2" style="width:33.95pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" style="width:32.2pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" colspan="3" style="width:32.2pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" style="width:32.15pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="46" colspan="2" style="width:34.55pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" colspan="2" style="width:32.4pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" style="width:32.3pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="74" style="width:55.8pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> </tr> <tr style="height:19.85pt"> <td width="60" colspan="2" style="width:45.15pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="59" style="width:44.4pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" colspan="2" style="width:32.2pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="45" colspan="2" style="width:33.95pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" style="width:32.2pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" colspan="3" style="width:32.2pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" style="width:32.15pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="46" colspan="2" style="width:34.55pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" colspan="2" style="width:32.4pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" style="width:32.3pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="74" style="width:55.8pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:19.85pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> </tr> <tr style="height:34.0pt"> <td width="85" style="width:63.95pt;border:solid windowtext 1.0pt;border-top: 1pt solid windowtext;padding:0.2cm 5.4pt 0.2cm 5.4pt;height:34.0pt"> <p class="MsoNormal" align="center" style="text-align:center"><span style="font-family:å®ä½">æè´¨</span></p> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif">Material</span></p> </td> <td width="120" colspan="3" style="width:89.75pt;border-top:1pt solid windowtext;border-left: 1pt solid windowtext;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:34.0pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" colspan="2" style="width:32.0pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:34.0pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="45" colspan="2" style="width:33.95pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:34.0pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" style="width:32.2pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:34.0pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" colspan="3" style="width:32.35pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:34.0pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" style="width:32.0pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:34.0pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="46" colspan="2" style="width:34.55pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:34.0pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" colspan="2" style="width:32.4pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt;height:34.0pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="43" style="width:32.3pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:34.0pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> <td width="74" style="width:55.8pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom: solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt; height:34.0pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> </td> </tr> </tbody> <!-- bottom --> <tr style="height:40.95pt"> <td width="145" colspan="3" style="width:109.1pt;border:solid windowtext 1.0pt; border-top:1pt solid windowtext;padding:0cm 5.4pt 0cm 5.4pt;height:40.95pt"> @@ -733,21 +277,20 @@ <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif" v-text="tableData.creatTime.split(' ')[0]"></span></p> </td> <td width="83" colspan="3" style="width:62.25pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:none;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt"> <p class="MsoNormal" align="center" style="text-align:center"><span style="font-family:å®ä½">审</span><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span><span style="font-family:å®ä½">æ ¸</span></p> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif">Audit</span></p> <td width="83" colspan="3" style="width:62.25pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:none;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt"> <p class="MsoNormal" align="center" style="text-align:center"> <span style="font-family:å®ä½">审</span> <span lang="EN-US" style="font-family:"Arial",sans-serif"> </span> <span style="font-family:å®ä½">æ ¸</span> </p> <p class="MsoNormal" align="center" style="text-align:center"> <span lang="EN-US" style="font-family:"Arial",sans-serif">Audit</span> </p> </td> <td width="117" colspan="2" style="width:88.1pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext; border-bottom:none;border-right:solid windowtext 1.0pt; padding:0.2cm 5.4pt 0.2cm 5.4pt"> <p class="MsoNormal" align="center" style="text-align:center"><span lang="EN-US" style="font-family:"Arial",sans-serif"> </span></p> <td width="117" colspan="2" style="width:88.1pt;border-top:1pt solid windowtext;border-left:1pt solid windowtext;border-bottom:none;border-right:solid windowtext 1.0pt;padding:0.2cm 5.4pt 0.2cm 5.4pt"> <p class="MsoNormal" align="center" style="text-align:center"> <span lang="EN-US" style="font-family:"Arial",sans-serif"> </span> </p> </td> </tr> <tr height="0"> @@ -771,7 +314,6 @@ <td width="43" style="border:none"></td> <td width="74" style="border:none"></td> </tr> </tbody> </table> </div> <p class="MsoNormal"><span lang="EN-US"> </span></p> @@ -792,15 +334,93 @@ data(){ return{ tableData: null, projectList: [], deviceStr: null, childrenData: [], } }, methods:{ initData(){ let deviceNameList = [] if(this.tableData.children){ this.tableData.children.forEach(e => { this.projectList.push(e) if(e.children){ e.children.forEach(o =>{ deviceNameList.push(o.deviceName) }) } }); } this.deviceStr = Array.from(new Set(deviceNameList)).join(",") }, initProjectList(list){ const data = { deviceId: '', deviceName: '', required: '', rpName: '', rpUnit: '', testState: '', userName: '', testValueList: new Array(13) } if(list && list.length<2){ list.forEach(item=>{ if(item.children && item.children.length < 15){ let size = 15 - item.children.length for(let j=0;j<item.children.length;j++){ let arr = [] if(item.children[j].testValue){ arr = item.children[j].testValue.split(",") } item.children[j].testValueList = arr if(item.children[0].testValueList.length<13){ let num = 13 - 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) } } }) }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) } } } // this.projectList = list console.log("list----",list) } }, created(){ console.log("qq--",this.formData) this.tableData = this.formData console.log("aa--",this.tableData) this.initData() this.initProjectList(this.projectList) // console.log("aa--",this.tableData) }, watch:{ formData(newVal){ if(newVal){ this.projectList = [] console.log(newVal) this.tableData = newVal this.initData() this.initProjectList(this.projectList) } } } } </script> vue.config.js
@@ -2,7 +2,8 @@ * é ç½®åè: * https://cli.vuejs.org/zh/config/ */ const url = 'http://192.168.0.23:9999' // const url = 'http://192.168.0.23:9999' const url = 'http://192.168.0.51:9999' // const url = 'http://ztt-gateway:9999' const localUrl = 'http://localhost:8089' //const localUrl = 'http://10.88.15.95:8089'