| | |
| | | <th>工单号</th> |
| | | <th>产品名称</th> |
| | | <th>计划生产数</th> |
| | | <th>未报工数量</th> <!-- 新增 --> |
| | | <th>未报工数量</th> |
| | | <th>机台号</th> |
| | | <th>初始采集数</th> |
| | | <th>报工时采集数</th> |
| | |
| | | <th>报工数(计算)</th> |
| | | <th>不良数</th> |
| | | <th>良品数(计算)</th> |
| | | <th>报工类型</th> <!-- 新增 --> |
| | | </tr> |
| | | </thead> |
| | | <tbody> |
| | |
| | | <td>{{ r.totalProduction }}</td> |
| | | <td>{{ r.BfQty }}</td> |
| | | <td>{{ r.OkQty }}</td> |
| | | <td>{{ r.reportType || '-' }}</td> <!-- 新增 --> |
| | | </tr> |
| | | <tr v-if="!reportingHistory.length"> |
| | | <td colspan="11" class="no-data">暂无历史报工记录</td> |
| | |
| | | productionCount: r.cjQty ?? 0,//报工时采集数 |
| | | totalProduction: (r.cjQty - r.csQty) ?? 0,//报工数(计算) |
| | | BfQty: r.bfQty,//不良数 |
| | | OkQty: r.okQty//良品数(计算) |
| | | OkQty: r.okQty,//良品数(计算) |
| | | reportType:r.remark //报工类型 |
| | | } |
| | | }); |
| | | }).catch(() => { this.reportingHistory = []; }); |