| components/mold.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
components/mold.vue
@@ -675,8 +675,15 @@ //this.lifeWarnInput = '90'; if (this.machineNo && this.workOrderNo) { this.fetchFormData(); this.fetchDefaultToolFromWorkOrder(); this.fetchFormData().then(async () => { // 加载工单刀具信息 await this.fetchDefaultToolFromWorkOrder(); // 进入页面时加载第一行 currentCjNum if (this.toolRecords.length > 0) { const cjNum = await this.fetchCurrentCjNum(this.toolRecords[0].no); this.$set(this.toolRecords[0], 'currentCjNum', cjNum); } }); } else { console.warn('机台号或工单号为空,无法获取表单数据'); }