From 2b94d415aa8602da5509da946e5155e47cfb117b Mon Sep 17 00:00:00 2001
From: lty <876263681@qq.com>
Date: 星期四, 08 一月 2026 11:09:05 +0800
Subject: [PATCH] #

---
 pages/basics/codePakin.vue |   25 +++++++++++++++----------
 1 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/pages/basics/codePakin.vue b/pages/basics/codePakin.vue
index a1a2580..db9a8e2 100644
--- a/pages/basics/codePakin.vue
+++ b/pages/basics/codePakin.vue
@@ -291,18 +291,23 @@
 	codeInput() {
 	  const that = this;
 	  const m = (that.code || "").split(";");
-	  if (!m[1] || !m[5] || !m[9]) {
-		uni.showToast({ title: "鏉$爜鏈夎", icon: "none", position: "top" });
-		this.codeFocuss();
-		return;
-	  }
+	  if (!m[1] || !m[5] || !m[7] || !m[9]) {
+		  uni.showToast({ title: "鏉$爜鏈夎", icon: "none", position: "top" });
+		  this.codeFocuss();
+		  return;
+		}
+	  const supplier = m[10] === "supplier" ? m[11] : "1";
 
-	  uni.request({
+		uni.request({
 		url: that.commonUrl + "/mobile/order/search/orderDetl/auth",
+		method: "POST",
+		header: { token: uni.getStorageSync("token") },
 		data: JSON.stringify({
-		  orderNo: m[1],
-		  sku: m[5],
-		  upc: m[9],
+		orderNo: m[1],
+		sku: m[5],
+		item: m[7],
+		upc: m[9],
+		supplier: supplier, // 鉁� 姘歌繙鏈夊��
 		}),
 		method: "POST",
 		header: { token: uni.getStorageSync("token") },
@@ -474,7 +479,7 @@
 
       uni.showLoading();
       uni.request({
-        url: that.commonUrl + "/mobile/comb/auth",
+        url: that.commonUrl + "/mobile/comb/agv/auth",
         data: JSON.stringify({
           billNo: that.orderNo,
           orderNo: that.orderNo,

--
Gitblit v1.9.1