From 76bee36dc9da0e09276f93d03c424e07e9608ea3 Mon Sep 17 00:00:00 2001
From: 曹睿 <360930172@qq.com>
Date: 星期三, 23 四月 2025 13:45:43 +0800
Subject: [PATCH] test: 绞线参数测试

---
 src/pages/production/twist/receive/monofil.vue |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/pages/production/twist/receive/monofil.vue b/src/pages/production/twist/receive/monofil.vue
index 04bdd49..e7f7be4 100644
--- a/src/pages/production/twist/receive/monofil.vue
+++ b/src/pages/production/twist/receive/monofil.vue
@@ -77,7 +77,15 @@
   }
 };
 
-const save = () => {};
+const save = async () => {
+  const { code } = await TwistApi.addStrandedWireDish(cardList.value);
+  if (code == 200) {
+    toast.success("淇濆瓨鎴愬姛");
+    pagingRef.value.refresh();
+  } else {
+    toast.error("淇濆瓨澶辫触");
+  }
+};
 
 onLoad((options: any) => {
   // 寮�鍚箍鎾洃鍚簨浠�

--
Gitblit v1.9.3