Add Exp Date column to precision control report table

This commit is contained in:
mahdahar 2026-03-04 11:41:30 +07:00
parent d7149ca322
commit 743f31d6a0

View File

@ -99,6 +99,7 @@
<thead> <thead>
<tr> <tr>
<th class="pc-subheader">Control</th> <th class="pc-subheader">Control</th>
<th class="pc-subheader">Exp Date</th>
<th class="pc-subheader">Lot No</th> <th class="pc-subheader">Lot No</th>
<th class="pc-subheader">- 3S</th> <th class="pc-subheader">- 3S</th>
<th class="pc-subheader">TARGET</th> <th class="pc-subheader">TARGET</th>
@ -109,7 +110,8 @@
<template x-for="(control, index) in controls" :key="control.controlId"> <template x-for="(control, index) in controls" :key="control.controlId">
<tr> <tr>
<td class="pc-control-name" x-text="control.controlName"></td> <td class="pc-control-name" x-text="control.controlName"></td>
<td class="pc-lot" x-text="control.lot || '-'"></td> <td class="pc-exp-date" x-text="control.expDate || '-'" style="white-space: nowrap;"></td>
<td class="pc-lot" x-text="control.lot || '-'" style="white-space: nowrap;"></td>
<td class="pc-value" x-text="formatNum(getMinus3SD(control), 1)"></td> <td class="pc-value" x-text="formatNum(getMinus3SD(control), 1)"></td>
<td class="pc-value" x-text="formatNum(control.mean, 1)"></td> <td class="pc-value" x-text="formatNum(control.mean, 1)"></td>
<td class="pc-value" x-text="formatNum(getPlus3SD(control), 1)"></td> <td class="pc-value" x-text="formatNum(getPlus3SD(control), 1)"></td>
@ -369,19 +371,24 @@
.pc-table .pc-subheader:nth-child(1), .pc-table .pc-subheader:nth-child(1),
.pc-table td.pc-control-name { .pc-table td.pc-control-name {
width: 25%;
}
.pc-table .pc-subheader:nth-child(2),
.pc-table td.pc-lot {
width: 20%; width: 20%;
} }
.pc-table .pc-subheader:nth-child(2),
.pc-table td.pc-exp-date {
width: 15%;
}
.pc-table .pc-subheader:nth-child(3), .pc-table .pc-subheader:nth-child(3),
.pc-table td.pc-lot {
width: 15%;
}
.pc-table .pc-subheader:nth-child(4), .pc-table .pc-subheader:nth-child(4),
.pc-table .pc-subheader:nth-child(5), .pc-table .pc-subheader:nth-child(5),
.pc-table .pc-subheader:nth-child(6),
.pc-table td.pc-value { .pc-table td.pc-value {
width: 18.33%; width: 16.67%;
} }
.pc-table .pc-control-name { .pc-table .pc-control-name {
@ -402,6 +409,13 @@
font-size: 9px; font-size: 9px;
} }
.pc-table .pc-exp-date {
text-align: center;
font-family: monospace;
font-size: 9px;
white-space: nowrap;
}
/* Main Grid */ /* Main Grid */
.main-grid { .main-grid {
display: flex; display: flex;