From e6b95b867105e7be676510c248638ecb41dd6f87 Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期三, 15 一月 2025 13:35:57 +0800
Subject: [PATCH] 优化物料码查询
---
代码管理/淮安PDA/pages/stash/raworderboxing.vue | 20 +++++++++++++-------
1 files changed, 13 insertions(+), 7 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/raworderboxing.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/raworderboxing.vue"
index 4aa1134..b138417 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/raworderboxing.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/raworderboxing.vue"
@@ -68,7 +68,7 @@
placeholder="璇锋壂鎻忔墭鐩樻潯鐮�" ref='midInput' @input="inputChangebarcode" />
</uni-forms-item>
<uni-forms-item label="鍦板潃鏉$爜">
- <uni-easyinput type="text" v-model="address" placeholder="璇锋壂鎻忓湴鍧�鏉$爜" ref='midInput'
+ <uni-easyinput type="text" v-model="address" :disabled="addressdisabled" placeholder="璇锋壂鎻忓湴鍧�鏉$爜" ref='midInput'
:focus="addressFocus" />
</uni-forms-item>
<uni-forms-item>
@@ -147,12 +147,12 @@
label: "",
orderInfo: [],
focus: false,
- pkfocus:false,
+ pkfocus: false,
barcode: "",
materSn: "",
Initiallife: 1000,
sns: [],
- pksns:[],
+ pksns: [],
addressFocus: false,
inboundBarcode: "",
address: "",
@@ -167,7 +167,8 @@
Testplaceholder: "",
Testcheck: false,
pkmaterSn: "",
- pkmatInfos: []
+ pkmatInfos: [],
+ addressdisabled: false
}
},
onShow() {},
@@ -189,6 +190,9 @@
this.items.push("鍏ュ钩搴�");
this.items[1] = "鍏ョ珛搴�";
this.address = "8005";
+ } else if (this.warehouseId == 3) { //杈呮枡
+ this.address = "1011";
+ this.addressdisabled = true;
}
this.label = "鍗曟嵁缂栧彿锛�" + this.orderNo;
this.getData();
@@ -389,7 +393,7 @@
if (res.status) {
this.pksns.push(res.data.serialNumber);
this.pkmatInfos.push(res.data);
- if (res.message) {
+ if (!res.status) {
this.$refs.uToast.show({
title: res.message,
type: "error"
@@ -402,6 +406,7 @@
setTimeout(() => {
this.voiceSpeech('../../static/success.mp3');
}, 100);
+ return;
} else {
this.$refs.uToast.show({
title: res.message,
@@ -477,7 +482,7 @@
this.pkmatInfos.splice(res, 1);
this.pksns.splice(res, 1);
},
- pksubmit(){
+ pksubmit() {
if (this.pkmatInfos.length == 0) {
this.$refs.uToast.show({
title: "璇锋壂鎻忓唴绠辨爣绛�",
@@ -485,7 +490,8 @@
})
return;
}
- this.$u.post('/api/InboundOrder/InPinKu?warehouseId=' + this.warehouseId+"&orderNo="+ this.orderNo, this.pksns).then(res => {
+ this.$u.post('/api/InboundOrder/InPinKu?warehouseId=' + this.warehouseId + "&orderNo=" + this.orderNo, this
+ .pksns).then(res => {
if (res.status) {
this.$refs.uToast.show({
title: "鍏ュ簱鎴愬姛",
--
Gitblit v1.9.3