| | |
| | | closeWebSocket(socket); |
| | | } |
| | | }); |
| | | |
| | | const showCustomAlert = (downGlassInfoList) => { |
| | | let tableContent = '<table border="1" style="border-collapse: collapse; width: 100%;">'; |
| | | tableContent += '<tr><th style="background-color: #f2f2f2;">玻璃ID</th><th style="background-color: #f2f2f2;">膜系</th><th style="background-color: #f2f2f2;">厚度</th><th style="background-color: #f2f2f2;">宽度</th><th style="background-color: #f2f2f2;">高度</th></tr>'; |
| | | |
| | | tableContent += `<tr> |
| | | <th>${t('workOrder.glassID')}</th> |
| | | <th>${t('workOrder.coatingtypes')}</th> |
| | | <th>${t('workOrder.thickness')}</th> |
| | | <th>${t('reportWork.width')}</th> |
| | | <th>${t('reportWork.height')}</th> |
| | | </tr>`; |
| | | downGlassInfoList.forEach(info => { |
| | | tableContent += `<tr> |
| | | <td>${info.glassId}</td> |