From d777d043b6dc98a332981bd40c79ce077a19f472 Mon Sep 17 00:00:00 2001 From: cnf <3200815559@qq.com> Date: 星期四, 11 九月 2025 14:13:26 +0800 Subject: [PATCH] 七喜代码 --- H5/Js/Dbrk.js | 15 --------------- 1 files changed, 0 insertions(+), 15 deletions(-) diff --git a/H5/Js/Dbrk.js b/H5/Js/Dbrk.js index 2047c93..37ae208 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 = ""; } 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,13 +124,11 @@ 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 = ""; @@ -145,7 +137,6 @@ .catch(function (error) { that.isLoading = false; that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�"); - that.$playSound('error'); //console.log(error); that.$refs.sectionCode.focus(); that.sectionCode = ""; @@ -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