快乐的昕的电脑
2025-11-21 9cf46132b5741c5d521c66b29616cefb323ce9f0
报工记录表显示备注
已修改1个文件
7 ■■■■ 文件已修改
components/WorkOrderPrint.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
components/WorkOrderPrint.vue
@@ -22,7 +22,7 @@
                                <th>工单号</th>
                                <th>产品名称</th>
                                <th>计划生产数</th>
                                <th>未报工数量</th> <!-- 新增 -->
                                <th>未报工数量</th>
                                <th>机台号</th>
                                <th>初始采集数</th>
                                <th>报工时采集数</th>
@@ -67,6 +67,7 @@
                                <th>报工数(计算)</th>
                                <th>不良数</th>
                                <th>良品数(计算)</th>
                                <th>报工类型</th> <!-- 新增 -->
                            </tr>
                        </thead>
                        <tbody>
@@ -82,6 +83,7 @@
                                <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>
@@ -399,7 +401,8 @@
                            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 = []; });