From 55f0be610b3adae8cc0d83e6d33ff71075f1b9de Mon Sep 17 00:00:00 2001
From: zjh <2207896513@qq.com>
Date: 星期六, 09 八月 2025 11:15:01 +0800
Subject: [PATCH] 扫码优化

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

diff --git a/pages/QC/LLJ/Add.vue b/pages/QC/LLJ/Add.vue
index 2b3c6f5..6882055 100644
--- a/pages/QC/LLJ/Add.vue
+++ b/pages/QC/LLJ/Add.vue
@@ -5,10 +5,10 @@
       <h1>鏉ユ枡妫�楠屽崟</h1>
       <view class="inspection-number">妫�楠屽崟鍙凤細{{formData.releaseNo}}</view>
        <!-- 閫犳ⅵ鑰呯壒娈婂姛鑳� -->
-      <view style="text-align: right;" >
+     <!-- <view style="text-align: right;" >
 		  <a class="sysLike"v-if="this.current" @click="toSysSubmitFrom(formData.releaseNo)">瀹為獙瀹ら�佹</a>
 		  <a class="sysLike" @click="toYzxSubmitFrom(formData.releaseNo)">涓�鑷存�ф牳瀵�</a>
-		  </view>
+		  </view> -->
     </view>
 
     <!-- 鍩烘湰淇℃伅鍖� -->
@@ -57,6 +57,8 @@
 		
 		<view class="info-label">鏁伴噺锛�</view>
 		<view class="info-value highlight">{{formData.fcovertQty}}</view>
+		<view class="info-label">鎶芥锛�</view>
+		<view class="info-value highlight">{{formData.maxCheckQyt}}</view>
       </view>
       <view class="info-block" v-if="formData.fngDesc!=null">
         <view class="info-label">涓嶈壇鎻忚堪锛�</view>
@@ -66,11 +68,20 @@
 	    <view class="info-label">涓婃涓嶈壇锛�</view>
 	    <view class="info-value">{{formData.newFngDesc}}</view>
 	  </view>
+	  <view class="info-block" v-if="formData.lvli!=null &&this.current" >
+	    <view class="info-label">寰�鏈熸楠屽饱鍘嗭細</view>
+	    <view class="info-value">{{formData.lvli}}</view>
+	  </view>
     </view>
     
     <!-- 鎿嶄綔鎸夐挳鍖� -->
-    <view class="action-buttons" v-if="this.current" >
-      <button class="secondary-btn" @click="getInspectionItems">鑾峰彇妫�楠岄」鐩�</button>
+    <view class="action-buttons" >
+		<!-- <a class="sysLike"v-if="this.current" @click="toSysSubmitFrom(formData.releaseNo)">瀹為獙瀹ら�佹</a>
+		<a class="sysLike" @click="toYzxSubmitFrom(formData.releaseNo)">涓�鑷存�ф牳瀵�</a>
+		 -->
+      <button class="secondary-btn" v-if="this.current" @click="toSysSubmitFrom(formData.releaseNo)">瀹為獙瀹ら�佹</button>
+	  <button class="secondary-btn" @click="toYzxSubmitFrom(formData.releaseNo)">涓�鑷存�ф牳瀵�</button>
+	  <button class="secondary-btn" v-if="this.current"  @click="getInspectionItems">鑾峰彇妫�楠岄」鐩�</button>
     </view>
     
     <!-- 妫�楠岄」鐩〃鏍� -->
@@ -147,7 +158,8 @@
 		},
       tableData: [],
 	  remarksPopup: false,
-	  current:true
+	  current:true,
+	  type:""
     }
   },
   onLoad(options) {
@@ -159,6 +171,7 @@
   		this.formData.releaseNo = params["releaseNo"];
   		this.formData.lotNo = params["lotNo"];
   		this.msgId = params["msgId"];
+		this.type = params["type"];
   		
 		if(params["current"]==='A')
 		{
@@ -237,7 +250,7 @@
     fillRecord(item,index) {
       // 濉啓璁板綍鐨勯�昏緫
        	uni.navigateTo({
-       		url: 'detail?mainId=' + item.id+'&formID='+this.formData.id+'&releaseNo='+this.formData.releaseNo+'&index='+index+'&current='+this.current
+       		url: 'detail?mainId=' + item.id+'&formID='+this.formData.id+'&releaseNo='+this.formData.releaseNo+'&index='+index+'&current='+this.current+'&itemNo='+this.formData.itemNo
        	});
     },
     uploadImages() {
@@ -274,9 +287,19 @@
      	})  
      	 // 濡傛灉鏈夐〉闈㈣烦杞紝闇�瑕佺敤瀹氭椂鍣ㄥ欢杩�
      	        setTimeout(() => {
-     	            uni.navigateTo({
-     	            	url: 'List'
-     	            });
+					if(this.type==="A"){
+						uni.navigateTo({
+							url: 'ScanCode'
+						});
+					}else{
+						uni.navigateTo({
+							url: 'List'
+						});
+					}
+					// uni.navigateTo({
+					// 	url: 'List'
+					// });
+     	           
      	        }, 2000); // 淇濇寔涓� duration 鐩稿悓鐨勬椂闀�
      	
      } else {

--
Gitblit v1.9.3