From 63f63c453faa7fd3af76e5d2622816715532b511 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期一, 27 四月 2026 13:40:20 +0800
Subject: [PATCH] fix: 关闭领料、补料功能
---
src/views/qualityManagement/metricMaintenance/index.vue | 19 +++++++++++++------
1 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/src/views/qualityManagement/metricMaintenance/index.vue b/src/views/qualityManagement/metricMaintenance/index.vue
index db2a093..deb3e5f 100644
--- a/src/views/qualityManagement/metricMaintenance/index.vue
+++ b/src/views/qualityManagement/metricMaintenance/index.vue
@@ -432,6 +432,18 @@
const handleSelectionChange = (selection) => {
selectedRows.value = selection
+
+ if (!selection.length) {
+ currentStandard.value = null
+ detailTableData.value = []
+ return
+ }
+
+ const nextStandard = selection[selection.length - 1]
+ if (currentStandard.value?.id === nextStandard.id) return
+
+ currentStandard.value = nextStandard
+ loadDetail(nextStandard.id)
}
// 鎵归噺瀹℃牳锛氱姸鎬� 1=鎵瑰噯锛�2=鎾ら攢
@@ -698,11 +710,6 @@
</script>
<style scoped>
-.metric-maintenance {
- padding: 0;
- min-width: 0;
-}
-
.metric-maintenance-row {
width: 100%;
}
@@ -829,4 +836,4 @@
width: 100%;
margin-top: 4px;
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.3