From 5046056a0860ee978af022154aab430d4347ca52 Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期三, 17 九月 2025 10:38:24 +0800
Subject: [PATCH] 11

---
 H5/Js/Dbrk.js |   21 +++------------------
 1 files changed, 3 insertions(+), 18 deletions(-)

diff --git a/H5/Js/Dbrk.js b/H5/Js/Dbrk.js
index 2047c93..7cc93b8 100644
--- a/H5/Js/Dbrk.js
+++ b/H5/Js/Dbrk.js
@@ -50,14 +50,12 @@
                     }
                     else {
                         that.$toast.fail(json.message);
-                        that.$playSound('error');
                     }
                     that.isLoading = false;
                 })
                 .catch(function (error) {
                     that.isLoading = false;
                     that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�");
-                    that.$playSound('error');
                     console.log(error);
                 });
         },
@@ -87,13 +85,11 @@
                     if (json.status == 0) {
                         //that.ItemBlDetail = json.data.tbBillList;
                         that.ItemDetail = json.data.tbBillList;
-                        that.$playSound('success');
                         that.$refs.sectionCode.focus();
-                        that.sectionCode = "";
+                        //that.sectionCode = "";
                     }
                     else {
                         that.$toast.fail(json.message);
-                        that.$playSound('error');
                         that.$refs.billNo.focus();
                         that.billNo = "";
                         that.ItemBlDetail = null;
@@ -103,7 +99,6 @@
                 .catch(function (error) {
                     that.isLoading = false;
                     that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�");
-                    that.$playSound('error');
                     that.$refs.billNo.focus();
                     that.billNo = "";
                     that.ItemBlDetail = null;
@@ -117,7 +112,6 @@
 
             if (that.sectionCode.length == 0) {
                 this.$toast.fail("搴撲綅缂栫爜涓嶈兘涓虹┖");
-                that.$playSound('error');
                 return;
             }
 
@@ -130,25 +124,22 @@
                     var json = res;
                     if (json.status == 0) {
                         that.$notify({ type: 'success', message: json.data.tbBillList });
-                        that.$playSound('success');
                         that.$refs.barcode.focus();
                         that.barcode = "";
                     }
                     else {
                         that.$toast.fail(json.message);
-                        that.$playSound('error');
                         that.$refs.sectionCode.focus();
-                        that.sectionCode = "";
+                        //that.sectionCode = "";
 
                     }
                 })
                 .catch(function (error) {
                     that.isLoading = false;
                     that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�");
-                    that.$playSound('error');
                     //console.log(error);
                     that.$refs.sectionCode.focus();
-                    that.sectionCode = "";
+                    //that.sectionCode = "";
                 });
         },
         getBarcode() {
@@ -160,21 +151,18 @@
 
             if (!that.userInfo.loginAccount) {
                 this.$toast.fail("璇烽噸鏂版鏌ョ櫥褰曠姸鎬�");
-                that.$playSound('error');
                 that.isLoading = false;
                 return;
             }
 
             if (!that.sectionCode) {
                 this.$toast.fail("搴撲綅涓嶈兘涓虹┖");
-                that.$playSound('error');
                 that.isLoading = false;
                 return;
             }
 
             if (!that.barcode) {
                 this.$toast.fail("鏉$爜涓嶈兘涓虹┖");
-                that.$playSound('error');
                 that.isLoading = false;
                 return;
             }
@@ -200,7 +188,6 @@
                         //that.barcode = json.data.form.barcode;
                         that.ItemBlDetail = json.data.items
                         that.$notify({ type: 'success', message: '鎵爜鎴愬姛' });
-                        that.$playSound('success');
                         that.$refs.barcode.focus();
                         that.barcode = "";
                         that.billNo = json.data.form.billNo;
@@ -208,7 +195,6 @@
                     }
                     else {
                         that.$toast.fail(json.message);
-                        that.$playSound('error');
                         that.$refs.barcode.focus();
                         that.barcode = "";
                     }
@@ -217,7 +203,6 @@
                 .catch(function (error) {
                     that.isLoading = false;
                     that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�");
-                    that.$playSound('error');
                     //console.log(error);
                     that.$refs.barcode.focus();
                     that.barcode = "";

--
Gitblit v1.9.3