From bd6818fc9d40f343547bafca0743658f3c0379dc Mon Sep 17 00:00:00 2001
From: Admin <Admin@ADMIN>
Date: 星期四, 11 十二月 2025 10:16:33 +0800
Subject: [PATCH] 优化部分程序

---
 项目代码/PDA/pages/Inbound/InboundBoxing.vue |   50 ++++++--------------------------------------------
 1 files changed, 6 insertions(+), 44 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/PDA/pages/Inbound/InboundBoxing.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/PDA/pages/Inbound/InboundBoxing.vue"
index 4a2bd71..d95d7c6 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/PDA/pages/Inbound/InboundBoxing.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/PDA/pages/Inbound/InboundBoxing.vue"
@@ -26,38 +26,38 @@
 				<u-tr>
 					<u-td width="30%">杞存壙鏉$爜</u-td>
 					<u-td>
-						<u-input v-model="value_qrcode" :border="true" :focus="qrcodeFocus" @input="barcodeChange"
+						<u-input v-model="value_qrcode" :border="true" :focus="qrcodeFocus"
 							placeholder="杞存壙鏉$爜" />
 					</u-td>
 				</u-tr>
 				<u-tr>
 					<u-td width="30%">杞存壙鍨嬪彿</u-td>
 					<u-td>
-						<u-input v-model="materielType" :border="false" :disabled="true" placeholder="" />
+						<u-input v-model="materielType" :border="true"  placeholder="" />
 					</u-td>
 				</u-tr>
 				<u-tr>
 					<u-td width="30%">鍘傚</u-td>
 					<u-td>
-						<u-input v-model="madeUnit" :border="false" :disabled="true" placeholder="" />
+						<u-input v-model="madeUnit" :border="true"  placeholder="" />
 					</u-td>
 				</u-tr>
 				<u-tr>
 					<u-td width="30%">杞﹀瀷</u-td>
 					<u-td>
-						<u-input v-model="materielId" :border="false" :disabled="true" placeholder="" />
+						<u-input v-model="materielId" :border="true"  placeholder="" />
 					</u-td>
 				</u-tr>
 				<u-tr>
 					<u-td width="30%">杞存壙绫诲埆</u-td>
 					<u-td>
-						<u-input v-model="NewOrOld" :border="false" :disabled="true" placeholder="" />
+						<u-input v-model="NewOrOld" :border="true"  placeholder="" />
 					</u-td>
 				</u-tr>
 				<u-tr>
 					<u-td width="30%">杞存壙鍗曞彿</u-td>
 					<u-td>
-						<u-input v-model="LotNumber" :border="false" :disabled="true" placeholder="" />
+						<u-input v-model="LotNumber" :border="true"  placeholder="" />
 					</u-td>
 				</u-tr>
 				<u-tr>
@@ -123,44 +123,6 @@
 				if (_this.value_rfid.length == 6) {
 					_this.qrcodeFocus = true;
 				}
-			},
-			barcodeChange() {
-				if (_this.value_qrcode == '') {
-					_this.initInfo();
-					return;
-				}
-				let data = {
-					MainData: {
-						barcode: _this.value_qrcode
-					},
-				};
-				_this.$AjaxRequest.Params('post', 'ToMes/Mes_GetBearingInfo', data, _user.token);
-				_this.$AjaxRequest.Request().then(function(result) {
-					if (result.data.status) {
-						let obj = JSON.parse(JSON.stringify(result.data.data));
-						_this.madeUnit = obj.manufactor;
-						_this.materielId = obj.traintype;
-						_this.materielType = obj.beartype;
-						_this.NewOrOld = obj.mainfreq;
-						_this.LotNumber = obj.rkdh;          //鎵规RKDH
-						_this.ProductDate = obj.productDate    //鐢熶骇鏃ユ湡
-
-					} else {
-						uni.showToast({
-							icon: 'none',
-							title: "璇锋眰閿欒:" + result.data.message,
-							duration: 2000
-						});
-						_this.initInfo();
-					}
-				}).catch(function(err) {
-					uni.showToast({
-						icon: 'none',
-						title: "璇锋眰鍚庡彴寮傚父,閿欒淇℃伅." + err.errMsg,
-						duration: 2000
-					});
-					_this.initInfo();
-				});
 			},
 			initInfo() {
 				_this.madeUnit = '';

--
Gitblit v1.9.3