| | |
| | | <th>基于数采的报工数</th> |
| | | <th>不良数</th> |
| | | <th>良品数(计算)</th> |
| | | <th>报工类型</th> <!-- 新增 --> |
| | | </tr> |
| | | </thead> |
| | | <tbody> |
| | |
| | | <td>{{ order.currentCjNum - order.initCjNum }}</td> |
| | | <td>{{ realTimeDefectiveCount }}</td> |
| | | <td>{{ realTimeOkCount }}</td> |
| | | <td> |
| | | {{ order.daa018 === '开工' ? '生产报工' : '调机报工' }} |
| | | </td> |
| | | </tr> |
| | | </tbody> |
| | | </table> |
| | |
| | | |
| | | <!-- 历史报工记录 --> |
| | | <view class="section-title history-title">历史报工记录</view> |
| | | <div class="table-scroll"> |
| | | <div class="table-scroll history-table-scroll"> |
| | | <table class="report-table"> |
| | | <thead> |
| | | <tr> |
| | |
| | | <td>{{ r.reportType || '-' }}</td> <!-- 新增 --> |
| | | </tr> |
| | | <tr v-if="!reportingHistory.length"> |
| | | <td colspan="11" class="no-data">暂无历史报工记录</td> |
| | | <td colspan="12" class="no-data">暂无历史报工记录</td> |
| | | </tr> |
| | | </tbody> |
| | | </table> |
| | |
| | | border: 1px solid #555; |
| | | padding: 6px 8px; |
| | | text-align: center; |
| | | white-space: nowrap; |
| | | white-space: normal; /*允许换行*/ |
| | | word-break: break-all; /*长单词 /数字也换行*/ |
| | | } |
| | | |
| | | .status-section { |
| | |
| | | border-spacing: 3px; |
| | | } |
| | | |
| | | /* 历史报工记录表头固定 */ |
| | | .history-table-scroll { |
| | | max-height: 420px; /* 可根据实际页面调整高度 */ |
| | | overflow-y: scroll; /* 始终显示纵向滑条 */ |
| | | overflow-x: scroll !important; |
| | | border: 2px solid #d00; |
| | | background: #fff; |
| | | } |
| | | |
| | | @media (max-width:1400px) { |
| | | input.highlight { |
| | | font-size: 16px; |