From 160967106cde2e2f9144b98b4c77d9706bb64fc1 Mon Sep 17 00:00:00 2001
From: 南骏 池 <chiffly@163.com>
Date: 星期一, 13 十月 2025 14:29:18 +0800
Subject: [PATCH] 1.产品绑定提示样式调整 2.其他入库优化(已更新) 3.核对送检提示样式调整 4.内箱核对提示样式调整

---
 H5/Js/Nxhd.js |   32 ++++++++++++++++++++++++++++----
 1 files changed, 28 insertions(+), 4 deletions(-)

diff --git a/H5/Js/Nxhd.js b/H5/Js/Nxhd.js
index 4b350ad..b6bfc2a 100644
--- a/H5/Js/Nxhd.js
+++ b/H5/Js/Nxhd.js
@@ -44,7 +44,13 @@
                         that.$refs.LsBar.focus();
                     }
                     else {
-                        that.$toast.fail(json.message);
+                        //that.$toast.fail(json.message);
+                        that.$dialog.alert({
+                            message: json.message,
+                            theme: 'round-button',
+                        }).then(() => {
+                            // on close
+                        });
                         that.$playSound('error');
                         that.$refs.ZsBar.focus();
                         that.ZsBar = "";
@@ -55,7 +61,13 @@
                 })
                 .catch(function (error) {
                     that.isLoading = false;
-                    that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�");
+                    //that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�");
+                    that.$dialog.alert({
+                        message: "缃戠粶閿欒锛岃閲嶈瘯锛�",
+                        theme: 'round-button',
+                    }).then(() => {
+                        // on close
+                    });
                     that.$playSound('error');
                     that.$refs.ZsBar.focus();
                     that.ZsBar = "";
@@ -98,7 +110,13 @@
                         that.LsBar = null;
                     }
                     else {
-                        that.$toast.fail(json.message);
+                        //that.$toast.fail(json.message);
+                        that.$dialog.alert({
+                            message: json.message,
+                            theme: 'round-button',
+                        }).then(() => {
+                            // on close
+                        });
                         that.$playSound('error');
                         that.$refs.ZsBar.focus();
                         that.ZsBar = null;
@@ -109,7 +127,13 @@
                 })
                 .catch(function (error) {
                     that.isLoading = false;
-                    that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�");
+                    //that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�");
+                    that.$dialog.alert({
+                        message: "缃戠粶閿欒锛岃閲嶈瘯锛�",
+                        theme: 'round-button',
+                    }).then(() => {
+                        // on close
+                    });
                     that.$playSound('error');
                     that.$refs.ZsBar.focus();
                     that.ZsBar = null;

--
Gitblit v1.9.3