From a8a1c1af18a323e6c1ed7553b3d7fc7dbe5271cb Mon Sep 17 00:00:00 2001
From: 周宾 <2802492122@qq.com>
Date: 星期一, 29 十二月 2025 15:27:07 +0800
Subject: [PATCH] 天津双奇点-仓储物流-添加单价美元显示 扫码增加商品不存在提示

---
 src/pages/index.vue |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/src/pages/index.vue b/src/pages/index.vue
index c71cd5e..ebff4e6 100644
--- a/src/pages/index.vue
+++ b/src/pages/index.vue
@@ -674,7 +674,23 @@
 		return
 	}
 	detailApi({id:barcodeId}).then((resp) => {
-		if(resp.code!=200||!resp.data)return
+
+		if(resp.code!=200){
+			uni.showToast({
+				title:resp.msg,
+				icon:"none",
+				duration: 1500
+			})
+			return
+		}
+		if(!resp.data){
+			uni.showToast({
+				title:'鍟嗗搧涓嶅瓨鍦�',
+				icon:"none",
+				duration: 1500
+			})
+			return
+		}
 		// barcodeDetail.value = resp.data
 		refGoodsDetailPopup.value.open({
 			type: type,

--
Gitblit v1.9.3