From b532ba8806996246ab7a0896bf34b884c47dee7e Mon Sep 17 00:00:00 2001
From: xiaojiao <xiaojiao@kaokeziliao.com>
Date: 星期二, 14 四月 2026 14:06:25 +0800
Subject: [PATCH] 试生产版本

---
 项目代码/PDA/pages/Inbound/InboundBoxing_New.vue |   34 +++++++++++++++++++++++++---------
 1 files changed, 25 insertions(+), 9 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/PDA/pages/Inbound/InboundBoxing_New.vue" "b/\351\241\271\347\233\256\344\273\243\347\240\201/PDA/pages/Inbound/InboundBoxing_New.vue"
index 20e2057..5b745ea 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/PDA/pages/Inbound/InboundBoxing_New.vue"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/PDA/pages/Inbound/InboundBoxing_New.vue"
@@ -74,13 +74,19 @@
 					
 				</u-tr>
 				<u-tr>
-					<u-td width="30%">杞存壙鍗曞彿</u-td>
+					<u-td width="30%">杞存壙鎵规鍙�</u-td>
 					<u-td>
-						<u-input v-model="LotNumber" :border="true"  placeholder="杞存壙鍗曞彿" />
+						<u-input v-model="LotNumber" :border="true"  placeholder="杞存壙鎵规鍙�" />
 					</u-td>
 				</u-tr>
 				<u-tr>
-					<u-td width="30%">鐢熶骇鏃ユ湡</u-td>
+					<u-td width="30%">杞存壙閲嶉噺</u-td>
+					<u-td>
+						<u-input v-model="Standard_value" :border="true"  placeholder="杞存壙閲嶉噺" />
+					</u-td>
+				</u-tr>
+				<u-tr>
+					<u-td width="30%">鐢熶骇/妫�淇� 鏃ユ湡</u-td>
 					<u-td>
 						<u-input v-model="ProductDate" :border="true" :focus="prdateFocus" placeholder="鐢熶骇鏃ユ湡" />
 					</u-td>
@@ -144,7 +150,8 @@
 					},{
 						label: 'R1',
 						value: '妫�淇�'
-					}]
+					}],
+				Standard_value:'', // 绉伴噸鏍囧噯鍊�
 			} 
 		},
 		methods: {
@@ -153,6 +160,7 @@
 				// 1. 鎷垮埌鍘熷鐨勭被JSON瀛楃涓诧紙濡傦細{'杞存壙鏉$爜':'1','杞﹀瀷':'2',...}锛�
 				if(_this.value_qrcode.length > 60){
 					const rawStr = _this.value_qrcode;
+					console.log(_this.value_qrcode.length)
 					// 2. 淇鏍煎紡锛堝崟寮曞彿鈫掑弻寮曞彿 + 鍒犲熬閫楀彿锛�
 					const fixedStr = rawStr.replace(/'/g, '"').replace(/,\s*}/, '}');
 					console.log(fixedStr)
@@ -163,8 +171,10 @@
 					console.log(temp_dict['杞存壙鏉$爜']); // 杈撳嚭锛�1锛堜笉鍐嶆槸undefined锛�
 					
 					_this.value_qrcode = temp_dict['杞存壙鏉$爜']; 
-					_this.madeUnit = temp_dict["鍘傚"]
-					_this.LotNumber = temp_dict["杞存壙鍗曞彿"]
+					_this.madeUnit = temp_dict["杞存壙鍝佺墝"]
+					_this.LotNumber = temp_dict["杞存壙鎵规鍙�"]
+					_this.Standard_value = temp_dict["杞存壙閲嶉噺"]
+					_this.ProductDate = temp_dict["鏃ユ湡"] 
 					_this.Bearing_Category(temp_dict["杞存壙绫诲埆"])
 					_this.BearingModel(temp_dict["杞存壙鍨嬪彿"])
 					_this.Carmodel(temp_dict["杞﹀瀷"])
@@ -270,7 +280,7 @@
 			BearingModelss(value){
 				console.log("閫夋嫨鐨勮酱鎵垮瀷鍙锋槸",value.orignItem)
 				// 杩欓噷璧嬪�煎巶瀹�
-				_this.templists.forEach(x => { // 鍏抽敭锛歠orEach 灏忓啓e
+				_this.templists.forEach(x => { // 鍏抽敭锛歠orEach 灏忓啓
 					if(value.orignItem == x.materiel_zc_id_list){
 						_this.madeUnit = x.materiel_zc_name_list
 						_this.materielType = value.orignItem
@@ -311,7 +321,8 @@
 						materielType: _this.materielType,
 						NewOrOld: _this.NewOrOld,
 						LotNumber: _this.LotNumber,
-						ProductDate: _this.ProductDate
+						ProductDate: _this.ProductDate,
+						Standard_value: _this.Standard_value,
 					},
 				};
 				console.log("鏈�鍚庢彁浜ょ殑缁勭洏淇℃伅",data)
@@ -327,6 +338,9 @@
 						icon: 'none',
 					});
 					return;
+				}
+				if(_this.Standard_value == '' || _this.Standard_value == 0 || _this.Standard_value == "0"){
+					_this.Standard_value = '0'
 				}
 				if (_this.value_rfid.length > 6) {
 					uni.showToast({
@@ -351,7 +365,8 @@
 									materielType: _this.materielType,
 									NewOrOld: _this.NewOrOld,
 									LotNumber: _this.LotNumber,
-									ProductDate: _this.ProductDate
+									ProductDate: _this.ProductDate,
+									Standard_value: _this.Standard_value,
 								},
 							};
 							console.log("鏈�鍚庢彁浜ょ殑缁勭洏淇℃伅",data)
@@ -365,6 +380,7 @@
 									});
 									_this.value_rfid = "";
 									_this.value_qrcode = "";
+									_this.Standard_value = "";
 									_this.initInfo();
 									_this.rfidFocus = true;
 									

--
Gitblit v1.9.3