From b513ce3a4527e998da66c6f179a279472c7262a8 Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期二, 18 十一月 2025 10:59:46 +0800
Subject: [PATCH] 代码更新优化

---
 项目代码/龙利得PDA/pages/stash/boxing.vue |   23 +++++++++++++++--------
 1 files changed, 15 insertions(+), 8 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/\351\276\231\345\210\251\345\276\227PDA/pages/stash/boxing.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/\351\276\231\345\210\251\345\276\227PDA/pages/stash/boxing.vue"
index 3999008..ba86532 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/\351\276\231\345\210\251\345\276\227PDA/pages/stash/boxing.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/\351\276\231\345\210\251\345\276\227PDA/pages/stash/boxing.vue"
@@ -84,8 +84,11 @@
 							<uni-easyinput type="text" v-model="addressEmpty" placeholder="璇锋壂鎻忓湴鍧�鏉$爜" ref='midInput'
 								:focus="addressEmptyFocus" />
 						</uni-forms-item>
+						<uni-forms-item label="鍙犵洏/绔嬪簱">
+							<uni-data-checkbox v-model="target" :localdata="targetAddress" style="margin-top: 5px;"/>
+						</uni-forms-item>
 						<uni-forms-item>
-							<button @click="inEmpty" type="primary" size="default" style="margin-top: 2%;">鍏ュ簱纭</button>
+							<button @click="inEmpty" type="primary" size="default" style="margin-top: 2%;">鍛煎彨纭</button>
 						</uni-forms-item>
 					</uni-forms>
 				</view>
@@ -147,6 +150,14 @@
 				bindCode: "",
 				rfidCode: "",
 				rfid:"",
+				targetAddress: [{
+						text: '鍙犵洏',
+						value: 0
+					}, {
+						text: '绔嬪簱',
+						value: 1
+					}],
+				target: 0,
 				outCount: 0,
 				addressEmptyFocus: false,
 				startPointRange: []
@@ -194,12 +205,6 @@
 				} else {
 					this.addressEmptyFocus = false;
 				}
-
-				if (this.inboundCode) {
-					this.addressEmptyFocus = true;
-				} else {
-					this.addressEmptyFocus = false;
-				}
 			},
 			inEmpty() {
 				if (this.emptyCode == "") {
@@ -216,11 +221,13 @@
 					})
 					return;
 				}
-				var url = "?barCode=" + this.emptyCode + "&startPoint=" + this.addressEmpty;
+				var url = "?barCode=" + this.emptyCode + "&startPoint=" + this.addressEmpty + "&target=" + this.target;
 				this.$u.post('/api/Task/EmptyBackTask' + url, {}).then(res => {
 					if (res.status) {
 						this.emptyCode = "";
 						this.addressEmpty = "";
+						this.target=0;
+						this.addressEmptyFocus=false;
 						//鑾峰彇鎬绘暟閲�
 						setTimeout(() => {
 							this.addressEmptyFocus = false;

--
Gitblit v1.9.3