From fa6f6875fcc426bbfab20f6ecbccb9d56ebc3ca1 Mon Sep 17 00:00:00 2001
From: zrg <z1873@LAPTOP-EAVL132E>
Date: 星期三, 10 十二月 2025 17:31:57 +0800
Subject: [PATCH] 上模单优化,条码拆码2优化

---
 components/ZLGL/InspectValueTemplate.vue |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/components/ZLGL/InspectValueTemplate.vue b/components/ZLGL/InspectValueTemplate.vue
index 6be895e..5310ff8 100644
--- a/components/ZLGL/InspectValueTemplate.vue
+++ b/components/ZLGL/InspectValueTemplate.vue
@@ -45,7 +45,7 @@
                         {{ checkData.HStatus?"鍚堟牸":"涓嶅悎鏍�" }}
                     </view>
                     <view>
-                        <switch style="width: 2em; transform:scale(0.7);" :checked="checkData.HStatus"
+                        <switch style="width: 2em; transform:scale(0.7);" :checked="!!checkData.HStatus"
                             @change="HStatusChange" />
                     </view>
                 </view>
@@ -265,6 +265,10 @@
 						    setUrl: '/QC_LastPieceCheckBill/set_SaveValue',
 						    getUrl: '/QC_LastPieceCheckBill_ValueTable/getValueList'
 						}
+						case 4:return{
+							setUrl: '/QC_OutCompCheckBill/set_SaveValue',
+							getUrl: '/QC_OutCompCheckBill_ValueTable/getValueList'
+						}
                     }
                 } 
             }
@@ -399,6 +403,7 @@
 
             },
             async set_SaveValue() {
+				await this.$nextTick(); 
                 console.log("InSpect Values: ", this.InSpectValues)
                 try {
                     let res = await CommonUtils.doRequest2Sync({
@@ -409,7 +414,7 @@
                         method: "POST"
                     })
 
-                    if (res) {
+                    if (!res) {
                         return
                     }
                     let {

--
Gitblit v1.9.1