components/mold.vue
@@ -497,6 +497,13 @@ this.toolModel = order.cutterModel || order.cutteR_MODEL || ''; // 关键:获取工单最新采集数 this.workOrderCurrentCjNum = order.CurrentCjNum ?? order.currentCjNum ?? null; // 新增:自动填充寿命比预警值 if (order.modlLifeWorning !== undefined && order.modlLifeWorning !== null) { const warn = Number(order.modlLifeWorning); this.lifeWarnInput = warn <= 1 ? `${(warn * 100).toFixed(0)}%` : `${warn.toFixed(0)}%`; } else { this.lifeWarnInput = ''; } } else { this.workOrderCurrentCjNum = null; }