From adb0ecbb916d9a99797415a16a7205c7ed081c47 Mon Sep 17 00:00:00 2001
From: kyy <3283105747@qq.com>
Date: 星期四, 20 十一月 2025 16:57:57 +0800
Subject: [PATCH] 1、
---
H5/Js/Qcrk.js | 15 +--------------
1 files changed, 1 insertions(+), 14 deletions(-)
diff --git a/H5/Js/Qcrk.js b/H5/Js/Qcrk.js
index fc83899..c374524 100644
--- a/H5/Js/Qcrk.js
+++ b/H5/Js/Qcrk.js
@@ -28,7 +28,6 @@
if (!value) {
this.$toast.fail("搴撲綅缂栫爜");
- that.$playSound('error');
return;
}
@@ -43,20 +42,17 @@
/*that.$notify({ type: 'success', message: json.data.tbBillList });*/
if (!that.barcode?.trim()) {
that.$refs.barcode.focus();
- that.$playSound('succcess');
} else {
that.scanBarcode();
}
}
else {
that.$toast.fail(json.message);
- that.$playSound('error');
}
})
.catch(function (error) {
that.isLoading = false;
- that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�");
- that.$playSound('error');
+ that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�");
console.log(error);
});
},
@@ -76,13 +72,11 @@
that.num = res.data.tbBillList.quantity;
if (!that.depotNo?.trim()) {
that.$refs.depotNo.focus();
- that.$playSound('success');
} else {
that.scanBarcode();
}
}
else {
- that.$playSound('error');
that.$toast.fail(json.message);
that.$refs.barcode.focus();
that.barcode = null;
@@ -91,7 +85,6 @@
})
.catch(function (error) {
that.isLoading = false;
- that.$playSound('error');
that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�" + error.message);
that.$refs.barcode.focus();
});
@@ -101,21 +94,18 @@
var that = this;
if (!that.userInfo.loginAccount) {
this.$toast.fail("璇烽噸鏂版鏌ョ櫥褰曠姸鎬�");
- that.$playSound('error');
that.isLoading = false;
return;
}
if (!that.barcode?.trim()) {
this.$toast.fail("鏉$爜涓嶈兘涓虹┖");
- that.$playSound('error');
that.isLoading = false;
return;
}
if (!that.depotNo?.trim()) {
this.$toast.fail("浠撳簱涓嶈兘涓虹┖");
- that.$playSound('error');
that.isLoading = false;
return;
}
@@ -129,7 +119,6 @@
var json = res;
if (json.status == 0) {
that.$notify({ type: 'success', message: json.data.tbBillList.message });
- that.$playSound('success');
that.barcode = null;
that.num = null;
that.barInfo = [];
@@ -137,14 +126,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);
});
}
--
Gitblit v1.9.3