From 4ba2eba294e2e32d4e09cd29f4162e72eae4ef9e Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期二, 10 六月 2025 23:29:56 +0800
Subject: [PATCH] 2
---
代码管理/淮安PDA/pages/stash/boxing.vue | 52 +++++++++++++++++++++++++++++-----------------------
1 files changed, 29 insertions(+), 23 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/boxing.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/boxing.vue"
index 7dcd249..ead7682 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/boxing.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/boxing.vue"
@@ -205,10 +205,10 @@
this.getData();
},
methods: {
- voiceSpeech(src) {
- innerAudioContext.src = src; // '../../static/success.mp3';
- innerAudioContext.play();
- },
+ // voiceSpeech(src) {
+ // innerAudioContext.src = src; // '../../static/success.mp3';
+ // innerAudioContext.play();
+ // },
//wms鍏ュ钩搴�
pksubmit() {
if (this.pkmatInfos.length == 0) {
@@ -254,23 +254,23 @@
title: res.message,
type: "error"
})
- setTimeout(() => {
- this.voiceSpeech('../../static/fail.mp3');
- }, 100);
+ // setTimeout(() => {
+ // this.voiceSpeech('../../static/fail.mp3');
+ // }, 100);
return;
}
- setTimeout(() => {
- this.voiceSpeech('../../static/success.mp3');
- }, 100);
+ // setTimeout(() => {
+ // this.voiceSpeech('../../static/success.mp3');
+ // }, 100);
return;
} else {
this.$refs.uToast.show({
title: res.message,
type: "error"
})
- setTimeout(() => {
- this.voiceSpeech('../../static/fail.mp3');
- }, 100);
+ // setTimeout(() => {
+ // this.voiceSpeech('../../static/fail.mp3');
+ // }, 100);
}
})
}
@@ -424,6 +424,9 @@
}
if (this.materSn != "") {
this.focus = false;
+ if(this.warehouseId==11){
+ this.materSn=this.materSn.replace(/,SC.*/, '');
+ }
if (this.materSn.split(',').length != 6) {
this.materSn = "";
return;
@@ -448,22 +451,22 @@
title: res.message,
type: "error"
})
- setTimeout(() => {
- this.voiceSpeech('../../static/fail.mp3');
- }, 100);
+ // setTimeout(() => {
+ // this.voiceSpeech('../../static/fail.mp3');
+ // }, 100);
return;
}
- setTimeout(() => {
- this.voiceSpeech('../../static/success.mp3');
- }, 100);
+ // setTimeout(() => {
+ // this.voiceSpeech('../../static/success.mp3');
+ // }, 100);
} else {
this.$refs.uToast.show({
title: res.message,
type: "error"
})
- setTimeout(() => {
- this.voiceSpeech('../../static/fail.mp3');
- }, 100);
+ // setTimeout(() => {
+ // this.voiceSpeech('../../static/fail.mp3');
+ // }, 100);
}
})
}
@@ -494,7 +497,10 @@
this.$u.post('/api/Task/RequestInboundTask', postData).then(res => {
if (res.status) {
this.inboundBarcode = "";
- if (this.warehouseId != 5) this.address = "";
+ if (this.warehouseId != 5 && this.warehouseId != 3) this.address = "";
+ this.stockInfoDetail = [];
+ //鑾峰彇鎬绘暟閲�
+ this.Summmary = 0;
setTimeout(() => {
this.addressFocus = false;
this.$refs.uToast.show({
--
Gitblit v1.9.3