From fdbaf392415fe3727098a79c800436e7a1bd89bf Mon Sep 17 00:00:00 2001
From: cnf <3200815559@qq.com>
Date: 星期四, 14 八月 2025 17:36:54 +0800
Subject: [PATCH] 领料模块

---
 H5/Js/Scbl.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/H5/Js/Scbl.js b/H5/Js/Scbl.js
index 926b55b..78c3b87 100644
--- a/H5/Js/Scbl.js
+++ b/H5/Js/Scbl.js
@@ -160,6 +160,7 @@
                         that.num = null;
                         //that.ItemBlDetail = json.data.tbBillList.item2
                         that.$notify({ type: 'success', message: '鎵弿鎴愬姛' });
+                        that.$playSound('success');
                         that.GetMesItemBlDetailByBillNo();
                         that.$refs.barcode.focus();
                         that.barcode = "";
@@ -168,12 +169,14 @@
                         
 
                     } else if (json.status == 2) {
+                        that.$playSound('error');
                         that.$refs.splitNum.focus();
                         that.splitNum = json.data.cfNum;
                         that.num = json.data.num;
                     }
                     else {
                         that.$toast.fail(json.message);
+                        that.$playSound('error');
                         that.$refs.barcode.focus();
                         that.barcode = "";
                         that.num = "";
@@ -183,6 +186,7 @@
                 })
                 .catch(function (error) {
                     that.isLoading = false;
+                    that.$playSound('error');
                     that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�");
                     //console.log(error);
                     that.$refs.barcode.focus();

--
Gitblit v1.9.3