From 1dfbf152be9db7bc8c589a4d0bfba5df8d240585 Mon Sep 17 00:00:00 2001
From: cnf <3200815559@qq.com>
Date: 星期二, 16 九月 2025 13:10:40 +0800
Subject: [PATCH] 首检,来料检修改

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

diff --git a/pages/QC/LLJ/Add.vue b/pages/QC/LLJ/Add.vue
index 1b1d505..030990e 100644
--- a/pages/QC/LLJ/Add.vue
+++ b/pages/QC/LLJ/Add.vue
@@ -136,6 +136,7 @@
 			<button class="action-btn small" @click="addDestruction" v-if="this.current">鐮村潖瀹為獙</button>
 			<button class="action-btn small" @click="uploadImages">涓婁紶/鏌ョ湅鍥剧墖</button>
 			<button class="action-btn small" @click="fetchDrawingNumber">璋冨彇PLM鍥剧焊</button>
+			<button class="action-btn small" @click="getBom">Bom鐢ㄦ枡娓呭崟</button>
 			<button class="action-btn small" @click="viewAttachmentInfo">鏌ョ湅闄勪欢淇℃伅</button>
 			<button class="action-btn small" @click="addDefectDescription" v-if="this.current">娣诲姞涓嶈壇鎻忚堪</button>
 			<button class="action-btn small primary" @click="submitInspection" v-if="this.current">妫�楠屾彁浜�</button>
@@ -169,6 +170,32 @@
 				<button @click="clearDestruction">娓呴櫎</button>
 				<button @click="destructionPopup = !destructionPopup">鍙栨秷</button>
 			</view>
+		</view>
+		
+		<view class="barcode">
+			<u-modal :show="itemShow" title="鐗╂枡鏄庣粏" @confirm="drawingConfirm" @cancel="drawingCancel"
+				showCancelButton :z-index="1000">
+				<uni-table border stripe emptyText="鏆傛棤鏇村鏁版嵁" style="margin-left: 5px;margin-right: 5px;height: 400px;max-height: 60vh;overflow-y: auto;">
+					<uni-tr>
+						<uni-th align="center">鏂欏彿</uni-th>
+						<uni-th align="center" width="90">鍚嶇О</uni-th>
+						<uni-th align="center" width="90">瑙勬牸鍨嬪彿</uni-th>
+						<uni-th align="center" width="150">璋冨彇PLM鍥剧焊</uni-th>
+					</uni-tr>
+					<uni-tr v-for="(item,index) in (drawing || [])" style="height: 100px;">
+						<uni-td align="center">{{item.itemNo}}</uni-td>
+						<uni-td align="center" style="font-size:25px;">
+							<div >{{item.itemName}}</div>
+						</uni-td>
+						<uni-td align="center" style="font-size:25px;">
+							<div>{{item.itemModel}}</div>
+						</uni-td>
+						<uni-td align="center" class="click-wd">
+							<div @click="fetchDrawingNumber">璋冨彇鍥剧焊</div>
+						</uni-td>
+					</uni-tr>
+				</uni-table>
+			</u-modal>
 		</view>
 		
 		<view class="barcode">
@@ -338,6 +365,7 @@
 				current: true,
 				drawing: [],
 				drawingShow: false,
+				itemShow: false,
 				badreason: '',
 				PSTYPE: '',
 				WORKSHOP: '',
@@ -806,11 +834,13 @@
 				this.drawingShow = false
 				this.imageShow = false
 				this.productionShow = false
+				this.itemShow=false
 			},
 			drawingCancel() {
 				this.drawingShow = false
 				this.imageShow = false
 				this.productionShow = false
+				this.itemShow=false
 			},
 
 			fetchDrawingNumber() {
@@ -860,7 +890,7 @@
 				});
 				this.drawingShow = true
 			},
-
+			
 
 			//鍥剧焊鐩稿叧鏂囨。
 			openDrawings(item) {

--
Gitblit v1.9.3