From a9c13fa4cccf2912b7b77032333ab49fa0981732 Mon Sep 17 00:00:00 2001
From: wangfei <3597712270@qq.com>
Date: 星期四, 27 二月 2025 09:55:13 +0800
Subject: [PATCH] 钢化字段更改

---
 UI-Project/src/views/PurchaseReturn/purchaseStorage.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/UI-Project/src/views/PurchaseReturn/purchaseStorage.vue b/UI-Project/src/views/PurchaseReturn/purchaseStorage.vue
index adc9a10..0a7c408 100644
--- a/UI-Project/src/views/PurchaseReturn/purchaseStorage.vue
+++ b/UI-Project/src/views/PurchaseReturn/purchaseStorage.vue
@@ -101,7 +101,7 @@
     if (response.code == 200) {
       ElMessage.success(response.message);
       blind.value = false;
-      updateRectStatus(currentGlassId.value, 8); 
+      updateRectstate(currentGlassId.value, 8); 
     } else {
       ElMessage.error(response.msg);
     }
@@ -123,7 +123,7 @@
     if (response.code == 200) {
       ElMessage.success(response.message);
       blind.value = false;
-      updateRectStatus(currentGlassId.value, 9); 
+      updateRectstate(currentGlassId.value, 9); 
   } else {
       ElMessage.error(response.msg);
     }
@@ -257,10 +257,10 @@
   }
 }
 // 鏇存柊鐭╁舰鐘舵��  
-function updateRectStatus(glassId: string, status: number) {  
+function updateRectstate(glassId: string, state: number) {  
   adjustedRects.value.forEach(rect => {  
     if (rect.glassId === glassId) {  
-      rect.state = status; // 鏇存柊鐭╁舰鐨勭姸鎬�  
+      rect.state = state; // 鏇存柊鐭╁舰鐨勭姸鎬�  
     }  
   });  
 }

--
Gitblit v1.8.0