| components/mold.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
components/mold.vue
@@ -204,11 +204,14 @@ // 新增:刷新按钮处理方法 async handleRefresh() { // 刷新刀具列表和表单数据 this.fetchTools(''); if (this.machineNo && this.workOrderNo) { await this.fetchFormData(); await this.fetchDefaultToolFromWorkOrder(); // 新增:刷新表格 currentCjNum for (const item of this.toolRecords) { item.currentCjNum = await this.fetchCurrentCjNum(item.no); } } this.$showMessage('刷新完成'); },