From f79d85db8248da047214a4870e2974a77f44ec7a Mon Sep 17 00:00:00 2001
From: kyy <3283105747@qq.com>
Date: 星期六, 20 九月 2025 16:25:33 +0800
Subject: [PATCH] 报工修改

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

diff --git a/H5/Js/cprk.js b/H5/Js/cprk.js
index 2acfe43..1b9f066 100644
--- a/H5/Js/cprk.js
+++ b/H5/Js/cprk.js
@@ -55,7 +55,6 @@
 
                         if (that.formData.barcode == "" || that.formData.barcode == null) {
                             that.$refs.barcode.focus();
-                            that.$playSound('success');
                             that.isLoading = false;
                         } else {
                             that.getScan();
@@ -63,7 +62,6 @@
                     }
                     else {
                         that.$toast.fail(json.message);
-                        that.$playSound('error');
                         that.formData.sectionCode = null;
                         that.$refs.sectionCode.focus();
                         that.isLoading = false;
@@ -74,7 +72,6 @@
                 .catch(function (error) {
                     that.isLoading = false;
                     that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�");
-                    that.$playSound('error');
                     console.log(error);
                     that.formData.sectionCode = null;
                     that.$refs.sectionCode.focus();
@@ -100,7 +97,6 @@
                         //that.formData.sumQuantity = json.data.tbMesItems.quantity;
                         if (that.formData.sectionCode == "" || that.formData.sectionCode == null) {
                             that.$refs.sectionCode.focus();
-                            that.$playSound('sucess');
                             that.isLoading = false;
                         } else {
                             that.getScan();
@@ -108,7 +104,6 @@
                     }
                     else {
                         that.$toast.fail(json.message);
-                        that.$playSound('error');
                         that.$refs.barcode.focus();
                         that.formData.barcode = null;
                         that.isLoading = false;
@@ -117,7 +112,6 @@
                 })
                 .catch(function (error) {
                     that.isLoading = false;
-                    that.$playSound('error');
                     that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�");
                     console.log(error);
                     that.$refs.barcode.focus();
@@ -128,12 +122,10 @@
 
             if (that.formData.sectionCode.length * 1 <= 0) {
                 that.$toast.fail("搴撲綅缂栫爜涓嶈兘涓虹┖锛�");
-                that.$playSound('error');
                 return;
             }
             if (that.formData.barcode.length * 1 <= 0) {
                 that.$toast.fail("鐗╂枡鏉$爜涓嶈兘涓虹┖锛�");
-                that.$playSound('error');
                 return;
             }
             that.isLoading = true;
@@ -149,11 +141,9 @@
                         that.$refs.barcode.focus();
                         that.formData.barcode = null;
                         that.formData.cfNum = null;
-                        that.$playSound('success');
                         that.$notify({ type: 'success', message: json.message });
                     }
                     else {
-                        that.$playSound('error');
                         that.$toast.fail(json.message);
                         that.$refs.barcode.focus();
                         that.formData.barcode = null;
@@ -162,7 +152,6 @@
                 })
                 .catch(function (error) {
                     that.isLoading = false;
-                    that.$playSound('error');
                     that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�");
                     console.log(error);
                 });
@@ -210,7 +199,6 @@
             this.Message = "";
             if (this.tableData.length == 0) {
                 this.Message = "鏉$爜涓虹┖锛屾棤娉曟帹閫丒RP";
-                that.$playSound('error');
                 return;
             }
             let userName = this.$loginInfo.account;
@@ -249,7 +237,6 @@
                     this.messageCenter.dealWith = 0;
                     this.messageCenter.status = 1;
                     this.messageCenter.resultData = res.msg;
-                    that.$playSound('success');
                     this.updateMessage(this.messageCenter);
                 }
             });
@@ -265,10 +252,8 @@
             }).then(res => {
                 if (res.data.tbBillList) {
                     this.Message += "  瀹℃牳鎴愬姛锛�";
-                    that.$playSound('success');
                 } else {
                     this.Message += " 瀹℃牳澶辫触锛�";
-                    that.$playSound('error');
                 }
 
                 let entity = {

--
Gitblit v1.9.3