From 22f79cc9003f5a62873ca144a38e8015da9f2b28 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期三, 03 十二月 2025 15:17:29 +0800
Subject: [PATCH] 刷新表格 currentCjNum
---
components/mold.vue | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/components/mold.vue b/components/mold.vue
index 669605d..30b2d1a 100644
--- a/components/mold.vue
+++ b/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('鍒锋柊瀹屾垚');
},
--
Gitblit v1.9.3