From 7a512d442b2673662d4f642e79b0748d2f52f499 Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期二, 14 一月 2025 10:02:04 +0800
Subject: [PATCH] 收货
---
代码管理/淮安PDA/pages/stash/OutEmpty.vue | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/OutEmpty.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/OutEmpty.vue"
index 29b279b..d5beb69 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/OutEmpty.vue"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/\346\267\256\345\256\211PDA/pages/stash/OutEmpty.vue"
@@ -6,6 +6,9 @@
<uni-easyinput type="text" placeholder="璇疯緭鍏ユ暟閲�" ref='midInput' :focus="!focus" v-model="qty"
@input="barcodeInput" />
</uni-forms-item>
+ <uni-forms-item label="鎵樼洏鏉$爜:">
+ <uni-easyinput type="text" placeholder="璇锋壂鎻忔墭鐩樻潯鐮�" ref='midInput' :focus="focus" v-model="barcode" />
+ </uni-forms-item>
<uni-forms-item>
<button @click="OutEmpty" type="primary" size="default" style="margin-top: 2%;">绌虹鍑哄簱</button>
</uni-forms-item>
@@ -23,12 +26,14 @@
focus: false,
qty: "",
address: "",
+ barcode: "",
}
},
onShow() {},
onLoad(res) {
this.WarehouseId = res.warehouseId;
this.focus = false;
+ this.qty = 1;
if (res.warehouseId == 5) {
this.address = "8001";
}
@@ -53,8 +58,15 @@
})
return;
}
+ if (this.qty < 1) {
+ this.$refs.uToast.show({
+ title: "鏁伴噺涓嶈兘灏忎簬1",
+ type: 'error'
+ })
+ return;
+ }
this.$u.post('/api/Task/OutEmpty?qty=' + this.qty + '&address=' + this.address + '&WarehouseId=' +
- this.WarehouseId).then(
+ this.WarehouseId + '&barcode=' + this.barcode).then(
res => {
if (res.status) {
this.$refs.uToast.show({
--
Gitblit v1.9.3