From f2e14fbd69737ca7717835fcc4e02c0f01de10d4 Mon Sep 17 00:00:00 2001
From: buhuazhen <hua100783@gmail.com>
Date: 星期一, 02 二月 2026 10:12:42 +0800
Subject: [PATCH] fix: 修复扫码时code参数格式不一致导致的解析错误

---
 src/api/product/twist.ts |   20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)

diff --git a/src/api/product/twist.ts b/src/api/product/twist.ts
index 631c980..6541aab 100644
--- a/src/api/product/twist.ts
+++ b/src/api/product/twist.ts
@@ -29,6 +29,24 @@
     });
   },
 
+  // 鍗曚笣棰嗙敤鎵爜锛堟寜鍗曚笣缂栧彿锛�
+  getScarnTag(params: { monofilamentNumber: string; twistId: number | string }) {
+    return request<BaseResult<any>>({
+      url: "/app/scarnTag",
+      method: "GET",
+      data: params,
+    });
+  },
+
+  // 鎷変笣浜岀淮鐮佹煡璇�
+  getTagByIdLs(params: { outPutId: string | number }) {
+    return request<BaseResult<any>>({
+      url: "/app/getTagByIdLs",
+      method: "GET",
+      data: params,
+    });
+  },
+
   addStrandedWireDish(data: any) {
     return request<BaseResult<any>>({
       url: "/app/addStrandedWireDish",
@@ -145,7 +163,7 @@
   // 楠岃瘉鍙樻洿
   verifyChanges(params: { projectId: number | string }) {
     return request<BaseResult<any>>({
-      url: "/app/verifyChanges",
+      url: "/wireOutput/verifyChanges",
       method: "GET",
       data: params,
     });

--
Gitblit v1.9.3