From ffd88d66e16c6c7a37135bb2631c3f1aa4b43e98 Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期三, 10 九月 2025 15:22:30 +0800 Subject: [PATCH] 111 --- H5/Js/Dbck.js | 16 ---------------- 1 files changed, 0 insertions(+), 16 deletions(-) diff --git a/H5/Js/Dbck.js b/H5/Js/Dbck.js index 930b51a..42df939 100644 --- a/H5/Js/Dbck.js +++ b/H5/Js/Dbck.js @@ -45,21 +45,18 @@ that.$toast.fail("娌℃湁鎵惧埌鍙互閫夋嫨鐨勫嚭搴撳崟鍙�"); } - that.actions = json.data.tbBillList.map(item => { return { name: item } }); } 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); }); }, @@ -88,13 +85,11 @@ var json = res; if (json.status == 0) { that.ItemDetail = json.data.tbBillList; - that.$playSound('success'); that.$refs.barcode.focus(); that.barcode = ""; } else { that.$toast.fail(json.message); - that.$playSound('error'); that.$refs.billNo.focus(); that.billNo = ""; that.ItemDetail = null; @@ -104,7 +99,6 @@ .catch(function (error) { that.isLoading = false; that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�"); - that.$playSound('error'); that.$refs.billNo.focus(); that.billNo = ""; that.ItemBlDetail = null; @@ -120,21 +114,18 @@ if (!that.userInfo.loginAccount) { this.$toast.fail("璇烽噸鏂版鏌ョ櫥褰曠姸鎬�"); - that.$playSound('error'); that.isLoading = false; return; } if (!that.barcode) { this.$toast.fail("鏉$爜涓嶈兘涓虹┖"); - that.$playSound('error'); that.isLoading = false; return; } if (!that.billNo) { this.$toast.fail("鐢宠鍗曞彿涓嶈兘涓虹┖"); - that.$playSound('error'); that.isLoading = false; return; } @@ -153,7 +144,6 @@ ////that.fum = json.data.form.fum; //that.ItemBlDetail = json.data.items that.$notify({ type: 'success', message: '鎵爜鎴愬姛' }); - that.$playSound('success'); that.$refs.barcode.focus(); that.barcode = ""; @@ -162,14 +152,12 @@ } else if (json.status == 2) { that.itemNo = json.data.tbBillList.itemNo; - that.$playSound('error'); that.$refs.splitNum.focus(); that.scanInfo.splitNum = json.data.tbBillList.splitNum; that.scanInfo.barcodeNum = json.data.tbBillList.barcodeNum; } else { that.$toast.fail(json.message); - that.$playSound('error'); that.$refs.barcode.focus(); that.barcode = ""; } @@ -178,7 +166,6 @@ .catch(function (error) { that.isLoading = false; that.$toast.fail("缃戠粶閿欒锛岃閲嶈瘯锛�"); - that.$playSound('error'); //console.log(error); that.$refs.barcode.focus(); that.barcode = ""; @@ -194,17 +181,14 @@ var that = this; if (that.billNo.length <= 0) { that.$toast.fail("鐢宠鍗曞彿涓嶈兘涓虹┖锛�"); - that.$playSound('error'); return; } if (that.scanInfo.splitNum * 1 <= 0) { that.$toast.fail("鎷嗗垎鏁伴噺涓嶈兘涓虹┖锛�"); - that.$playSound('error'); return; } if (that.barcode.length * 1 <= 0) { that.$toast.fail("鐗╂枡鏉$爜涓嶈兘涓虹┖锛�"); - that.$playSound('error'); return; } //that.ip = ""; -- Gitblit v1.9.3