From bde916ea8809ec9df462f1f263f9d13864a8a9dc Mon Sep 17 00:00:00 2001
From: 曹睿 <360930172@qq.com>
Date: 星期三, 23 四月 2025 11:11:52 +0800
Subject: [PATCH] feat: 保存后触发查询
---
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