From 835e77ee474054a19747187bfaad722df3e32278 Mon Sep 17 00:00:00 2001
From: xwt <2740516069@qq.com>
Date: 星期五, 19 十二月 2025 18:52:33 +0800
Subject: [PATCH] llj备注

---
 pages/QC/LLJ/Add.vue |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/pages/QC/LLJ/Add.vue b/pages/QC/LLJ/Add.vue
index ef97229..b2c6560 100644
--- a/pages/QC/LLJ/Add.vue
+++ b/pages/QC/LLJ/Add.vue
@@ -82,6 +82,7 @@
 		    <view class="info-label">澶囨敞锛�</view>
 		    <input type="text" id="lotNo1" v-model="formData.lotNo1" 
 		                       placeholder="璇疯緭鍏ュ娉ㄤ俊鎭�" 
+		                       @blur="saveLotNo1"
 		                       style="color: red; font-weight: bold; background-color: #fff !important; -webkit-user-select: text !important; -moz-user-select: text !important; -ms-user-select: text !important; user-select: text !important; pointer-events: auto !important; opacity: 1 !important; z-index: 1 !important;"/> 
 		</view>
 		<view class="info-block" style="margin-top: 10px;">   
@@ -794,6 +795,34 @@
 				  console.error('淇濆瓨澶辫触锛�', err);
 			  });
 			},
+			// 淇濆瓨澶囨敞鍒版暟鎹簱
+			saveLotNo1() {
+				if (!this.formData.id || !this.formData.releaseNo) {
+					console.log('缂哄皯蹇呰鍙傛暟锛屾棤娉曚繚瀛樺娉�');
+					return;
+				}
+				
+				const requestData = {
+					gid: this.formData.id,
+					releaseNo: this.formData.releaseNo,
+					lotNo1: this.formData.lotNo1 || ''
+				};
+				
+				console.log('淇濆瓨澶囨敞:', requestData);
+				
+				this.$post({
+					url: "/LLJ/saveLotNo1",
+					data: requestData
+				}).then(res => {
+					if (res.status == 0) {
+						console.log('澶囨敞淇濆瓨鎴愬姛');
+					} else {
+						console.error('澶囨敞淇濆瓨澶辫触:', res.message);
+					}
+				}).catch(err => {
+					console.error('淇濆瓨澶囨敞澶辫触:', err);
+				});
+			},
 			submitInspection() {
 				
 				// 閲嶇疆楠岃瘉鐘舵��

--
Gitblit v1.9.3