Pārlūkot izejas kodu

fix:调整质量月报第一列宽度

lupeng 2 nedēļas atpakaļ
vecāks
revīzija
1d3f83536e
1 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 3 1
      src/views/statistic/report/toPrintTables.vue

+ 3 - 1
src/views/statistic/report/toPrintTables.vue

@@ -59,7 +59,9 @@ defineExpose({
               <table  style="margin-top:10px">
                 <thead>
                   <tr>
-                    <th rowspan="2">序号</th>
+                    <th rowspan="2" v-if="item.checkList.length===1" style="width: 100px">序号</th>
+                    <th rowspan="2" v-if="item.checkList.length!==1" style="width: 100px">序号</th>
+
                     <th id="lineId" rowspan="2">
                       <span class="left-text">筛选项目</span>
                       <span class="right-text">产品型号/检验批号</span>