From 1e71cfb6ec97cff6531dec65a3fb5cb24b2c18ac Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期一, 03 十一月 2025 09:57:48 +0800
Subject: [PATCH] fix: 附件完善
---
src/pages/production/twist/receive/monofil.vue | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/pages/production/twist/receive/monofil.vue b/src/pages/production/twist/receive/monofil.vue
index 1c7a03e..526969d 100644
--- a/src/pages/production/twist/receive/monofil.vue
+++ b/src/pages/production/twist/receive/monofil.vue
@@ -110,10 +110,6 @@
console.log("code:===========", JSON.parse(code.code));
console.log("id:=============", JSON.parse(code.code).id);
try {
- const { data } = await TwistApi.getScarn({
- outPutId: JSON.parse(code.code).id,
- });
-
// 妫�鏌ユ槸鍚﹀凡閫夋嫨鏍囩
if (!tab.value) {
toast.error("璇峰厛閫夋嫨涓�涓眰");
@@ -127,6 +123,11 @@
toast.error("鏈壘鍒板綋鍓嶉�変腑鐨勫眰");
return;
}
+ console.log("tab.value:===========3", currentLayer);
+ const { data } = await TwistApi.getScarn({
+ outPutId: JSON.parse(code.code).id,
+ twistId: currentLayer.twistId,
+ });
// 妫�鏌ュ綋鍓嶅眰鏄惁宸插瓨鍦ㄨ鍗曚笣
const exists = currentLayer.strandedWireDish?.some(
--
Gitblit v1.9.3